// Generated by dart2js (fast startup emitter, strong, trust primitives, omit checks, lax runtime type), the Dart to JavaScript compiler version: 2.13.4.
// The code supports the following hooks:
// dartPrint(message):
// if this function is defined it is called instead of the Dart [print]
// method.
//
// dartMainRunner(main, args):
// if this function is defined, the Dart [main] method will not be invoked
// directly. Instead, a closure that will invoke [main], and its arguments
// [args] is passed to [dartMainRunner].
//
// dartDeferredLibraryLoader(uri, successCallback, errorCallback):
// if this function is defined, it will be called when a deferred library
// is loaded. It should load and eval the javascript of `uri`, and call
// successCallback. If it fails to do so, it should call errorCallback with
// an error.
//
// dartCallInstrumentation(id, qualifiedName):
// if this function is defined, it will be called at each entry of a
// method or constructor. Used only when compiling programs with
// --experiment-call-instrumentation.
(function dartProgram() {
function copyProperties(from, to) {
var keys = Object.keys(from);
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
to[key] = from[key];
}
}
function mixinProperties(from, to) {
var keys = Object.keys(from);
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
if (!to.hasOwnProperty(key))
to[key] = from[key];
}
}
var supportsDirectProtoAccess = function() {
var cls = function() {
};
cls.prototype = {p: {}};
var object = new cls();
if (!(object.__proto__ && object.__proto__.p === cls.prototype.p))
return false;
try {
if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
return true;
if (typeof version == "function" && version.length == 0) {
var v = version();
if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
return true;
}
} catch (_) {
}
return false;
}();
function setFunctionNamesIfNecessary(holders) {
function t() {
}
;
if (typeof t.name == "string")
return;
for (var i = 0; i < holders.length; i++) {
var holder = holders[i];
var keys = Object.keys(holder);
for (var j = 0; j < keys.length; j++) {
var key = keys[j];
var f = holder[key];
if (typeof f == "function")
f.name = key;
}
}
}
function inherit(cls, sup) {
cls.prototype.constructor = cls;
cls.prototype["$is" + cls.name] = cls;
if (sup != null) {
if (supportsDirectProtoAccess) {
cls.prototype.__proto__ = sup.prototype;
return;
}
var clsPrototype = Object.create(sup.prototype);
copyProperties(cls.prototype, clsPrototype);
cls.prototype = clsPrototype;
}
}
function inheritMany(sup, classes) {
for (var i = 0; i < classes.length; i++)
inherit(classes[i], sup);
}
function mixin(cls, mixin) {
mixinProperties(mixin.prototype, cls.prototype);
cls.prototype.constructor = cls;
}
function lazyOld(holder, name, getterName, initializer) {
var uninitializedSentinel = holder;
holder[name] = uninitializedSentinel;
holder[getterName] = function() {
holder[getterName] = function() {
H.throwCyclicInit(name);
};
var result;
var sentinelInProgress = initializer;
try {
if (holder[name] === uninitializedSentinel) {
result = holder[name] = sentinelInProgress;
result = holder[name] = initializer();
} else
result = holder[name];
} finally {
if (result === sentinelInProgress)
holder[name] = null;
holder[getterName] = function() {
return this[name];
};
}
return result;
};
}
function lazy(holder, name, getterName, initializer) {
var uninitializedSentinel = holder;
holder[name] = uninitializedSentinel;
holder[getterName] = function() {
if (holder[name] === uninitializedSentinel)
holder[name] = initializer();
holder[getterName] = function() {
return this[name];
};
return holder[name];
};
}
function lazyFinal(holder, name, getterName, initializer) {
var uninitializedSentinel = holder;
holder[name] = uninitializedSentinel;
holder[getterName] = function() {
if (holder[name] === uninitializedSentinel) {
var value = initializer();
if (holder[name] !== uninitializedSentinel)
H.throwLateInitializationError(name);
holder[name] = value;
}
holder[getterName] = function() {
return this[name];
};
return holder[name];
};
}
function makeConstList(list) {
list.immutable$list = Array;
list.fixed$length = Array;
return list;
}
function convertToFastObject(properties) {
function t() {
}
t.prototype = properties;
new t();
return properties;
}
function convertAllToFastObject(arrayOfObjects) {
for (var i = 0; i < arrayOfObjects.length; ++i)
convertToFastObject(arrayOfObjects[i]);
}
var functionCounter = 0;
function tearOffGetter(funcs, applyTrampolineIndex, reflectionInfo, name, isIntercepted) {
return isIntercepted ? new Function("funcs", "applyTrampolineIndex", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "(receiver) {" + "if (c === null) c = " + "H.closureFromTearOff" + "(" + "this, funcs, applyTrampolineIndex, reflectionInfo, false, true, name);" + "return new c(this, funcs[0], receiver, name);" + "}")(funcs, applyTrampolineIndex, reflectionInfo, name, H, null) : new Function("funcs", "applyTrampolineIndex", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "() {" + "if (c === null) c = " + "H.closureFromTearOff" + "(" + "this, funcs, applyTrampolineIndex, reflectionInfo, false, false, name);" + "return new c(this, funcs[0], null, name);" + "}")(funcs, applyTrampolineIndex, reflectionInfo, name, H, null);
}
function tearOff(funcs, applyTrampolineIndex, reflectionInfo, isStatic, name, isIntercepted) {
var cache = null;
return isStatic ? function() {
if (cache === null)
cache = H.closureFromTearOff(this, funcs, applyTrampolineIndex, reflectionInfo, true, false, name).prototype;
return cache;
} : tearOffGetter(funcs, applyTrampolineIndex, reflectionInfo, name, isIntercepted);
}
var typesOffset = 0;
function installTearOff(container, getterName, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
var funs = [];
for (var i = 0; i < funsOrNames.length; i++) {
var fun = funsOrNames[i];
if (typeof fun == "string")
fun = container[fun];
fun.$callName = callNames[i];
funs.push(fun);
}
var fun = funs[0];
fun.$requiredArgCount = requiredParameterCount;
fun.$defaultValues = optionalParameterDefaultValues;
var reflectionInfo = funType;
if (typeof reflectionInfo == "number")
reflectionInfo += typesOffset;
var name = funsOrNames[0];
fun.$stubName = name;
var getterFunction = tearOff(funs, applyIndex || 0, reflectionInfo, isStatic, name, isIntercepted);
container[getterName] = getterFunction;
if (isStatic)
fun.$tearOff = getterFunction;
}
function installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
return installTearOff(container, getterName, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex);
}
function installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
return installTearOff(container, getterName, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex);
}
function setOrUpdateInterceptorsByTag(newTags) {
var tags = init.interceptorsByTag;
if (!tags) {
init.interceptorsByTag = newTags;
return;
}
copyProperties(newTags, tags);
}
function setOrUpdateLeafTags(newTags) {
var tags = init.leafTags;
if (!tags) {
init.leafTags = newTags;
return;
}
copyProperties(newTags, tags);
}
function updateTypes(newTypes) {
var types = init.types;
var length = types.length;
types.push.apply(types, newTypes);
return length;
}
function updateHolder(holder, newHolder) {
copyProperties(newHolder, holder);
return holder;
}
var hunkHelpers = function() {
var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
return function(container, getterName, name, funType) {
return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
};
},
mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
return function(container, getterName, name, funType) {
return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
};
};
return {inherit: inherit, inheritMany: inheritMany, mixin: mixin, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, lazyOld: lazyOld, updateHolder: updateHolder, convertToFastObject: convertToFastObject, setFunctionNamesIfNecessary: setFunctionNamesIfNecessary, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};
}();
function initializeDeferredHunk(hunk) {
typesOffset = init.types.length;
hunk(hunkHelpers, init, holders, $);
}
function getGlobalFromName(name) {
for (var i = 0; i < holders.length; i++) {
if (holders[i] == C)
continue;
if (holders[i][name])
return holders[i][name];
}
}
var C = {},
H = {
initializeEngine: function() {
var t1 = {};
if ($._engineInitialized)
return;
H._addUrlStrategyListener();
P.registerExtension("ext.flutter.disassemble", new H.initializeEngine_closure());
$._engineInitialized = true;
$.$get$domRenderer();
if ($.WebExperiments_instance == null)
$.WebExperiments_instance = H.WebExperiments$_();
t1.waitingForAnimation = false;
$.scheduleFrameCallback = new H.initializeEngine_closure0(t1);
if ($.Keyboard__instance == null)
$.Keyboard__instance = H.Keyboard$_();
if ($.MouseCursor__instance == null)
$.MouseCursor__instance = new H.MouseCursor();
},
_addUrlStrategyListener: function() {
self._flutter_web_set_location_strategy = P.allowInterop(new H._addUrlStrategyListener_closure());
$._hotRestartListeners.push(new H._addUrlStrategyListener_closure0());
},
toMatrix32: function(matrix64) {
var matrix32 = new Float32Array(16);
matrix32[15] = matrix64[15];
matrix32[14] = matrix64[14];
matrix32[13] = matrix64[13];
matrix32[12] = matrix64[12];
matrix32[11] = matrix64[11];
matrix32[10] = matrix64[10];
matrix32[9] = matrix64[9];
matrix32[8] = matrix64[8];
matrix32[7] = matrix64[7];
matrix32[6] = matrix64[6];
matrix32[5] = matrix64[5];
matrix32[4] = matrix64[4];
matrix32[3] = matrix64[3];
matrix32[2] = matrix64[2];
matrix32[1] = matrix64[1];
matrix32[0] = matrix64[0];
return matrix32;
},
BitmapCanvas$: function(_bounds, renderStrategy, density) {
var t1 = W._ElementFactoryProvider_createElement_tag("flt-canvas", null),
t2 = H.setRuntimeTypeInfo([], type$.JSArray_Element),
t3 = H.EnginePlatformDispatcher_browserDevicePixelRatio(),
t4 = _bounds.left,
t5 = _bounds.right - t4,
t6 = H.BitmapCanvas__widthToPhysical(t5),
t7 = _bounds.top,
t8 = _bounds.bottom - t7,
t9 = H.BitmapCanvas__heightToPhysical(t8);
t8 = new H._CanvasPool(H.BitmapCanvas__widthToPhysical(t5), H.BitmapCanvas__heightToPhysical(t8), density, H.setRuntimeTypeInfo([], type$.JSArray__SaveStackEntry), H.Matrix4$identity());
t3 = new H.BitmapCanvas(_bounds, t1, t8, t2, t6, t9, t3, density, renderStrategy);
t9 = t1.style;
t9.position = "absolute";
t3._canvasPositionX = C.JSNumber_methods.floor$0(t4) - 1;
t3._canvasPositionY = C.JSNumber_methods.floor$0(t7) - 1;
t3._updateRootElementTransform$0();
t8._rootElement = type$.HtmlElement._as(t1);
t3._setupInitialTransform$0();
return t3;
},
BitmapCanvas__widthToPhysical: function(width) {
return C.JSNumber_methods.ceil$0((width + 1) * H.EnginePlatformDispatcher_browserDevicePixelRatio()) + 2;
},
BitmapCanvas__heightToPhysical: function(height) {
return C.JSNumber_methods.ceil$0((height + 1) * H.EnginePlatformDispatcher_browserDevicePixelRatio()) + 2;
},
BitmapCanvas__onEvictElement: function(element) {
(element && C.ImageElement_methods).remove$0(element);
},
_stringForBlendMode: function(blendMode) {
if (blendMode == null)
return null;
switch (blendMode) {
case C.BlendMode_3:
return "source-over";
case C.BlendMode_5:
return "source-in";
case C.BlendMode_7:
return "source-out";
case C.BlendMode_9:
return "source-atop";
case C.BlendMode_4:
return "destination-over";
case C.BlendMode_6:
return "destination-in";
case C.BlendMode_8:
return "destination-out";
case C.BlendMode_10:
return "destination-atop";
case C.BlendMode_12:
return "lighten";
case C.BlendMode_1:
return "copy";
case C.BlendMode_11:
return "xor";
case C.BlendMode_24:
case C.BlendMode_13:
return "multiply";
case C.BlendMode_14:
return "screen";
case C.BlendMode_15:
return "overlay";
case C.BlendMode_16:
return "darken";
case C.BlendMode_17:
return "lighten";
case C.BlendMode_18:
return "color-dodge";
case C.BlendMode_19:
return "color-burn";
case C.BlendMode_20:
return "hard-light";
case C.BlendMode_21:
return "soft-light";
case C.BlendMode_22:
return "difference";
case C.BlendMode_23:
return "exclusion";
case C.BlendMode_25:
return "hue";
case C.BlendMode_26:
return "saturation";
case C.BlendMode_27:
return "color";
case C.BlendMode_28:
return "luminosity";
default:
throw H.wrapException(P.UnimplementedError$("Flutter Web does not support the blend mode: " + blendMode.toString$0(0)));
}
},
_stringForStrokeCap: function(strokeCap) {
switch (strokeCap) {
case C.StrokeCap_0:
return "butt";
case C.StrokeCap_1:
return "round";
case C.StrokeCap_2:
default:
return "square";
}
},
_stringForStrokeJoin: function(strokeJoin) {
switch (strokeJoin) {
case C.StrokeJoin_1:
return "round";
case C.StrokeJoin_2:
return "bevel";
case C.StrokeJoin_0:
default:
return "miter";
}
},
_clipContent: function(clipStack, $content, offset, currentTransform) {
var root, curElement, clipIndex, entry, t2, newElement, t3, rect, newClipTransform, transformKind, clipOffsetX, clipOffsetY, newClipTransform0, t4, t5, value, borderRadius, t6, reverseTransformDiv,
_s8_ = "absolute",
_s16_ = "transform-origin",
_s9_ = "transform",
_s15_ = "transform-style",
t1 = type$.JSArray_Element,
clipDefs = H.setRuntimeTypeInfo([], t1),
len = clipStack.length;
for (root = null, curElement = null, clipIndex = 0; clipIndex < len; ++clipIndex, curElement = reverseTransformDiv) {
entry = clipStack[clipIndex];
t2 = document;
newElement = t2.createElement("div");
t3 = newElement.style;
t3.position = _s8_;
t3 = $.___browserEngine;
if (t3 === $) {
t3 = H.detectBrowserEngineByVendorAgent(window.navigator.vendor, window.navigator.userAgent.toLowerCase());
if ($.___browserEngine === $)
$.___browserEngine = t3;
else
t3 = H.throwExpression(H.LateError$fieldADI("_browserEngine"));
}
if (t3 === C.BrowserEngine_1) {
t3 = newElement.style;
t3.zIndex = "0";
}
if (root == null)
root = newElement;
else {
t3 = $.$get$domRenderer();
curElement.toString;
t3.toString;
curElement.appendChild(newElement);
}
rect = entry.rect;
newClipTransform = entry.currentTransform;
t3 = newClipTransform.__engine$_m4storage;
transformKind = H.transformKindOf(t3);
if (rect != null) {
clipOffsetX = rect.left;
clipOffsetY = rect.top;
t3 = new Float32Array(16);
newClipTransform0 = new H.Matrix40(t3);
newClipTransform0.setFrom$1(newClipTransform);
newClipTransform0.translate$2(0, clipOffsetX, clipOffsetY);
t4 = newElement.style;
t4.overflow = "hidden";
t5 = H.S(rect.right - clipOffsetX) + "px";
t4.width = t5;
t5 = H.S(rect.bottom - clipOffsetY) + "px";
t4.height = t5;
t4 = newElement.style;
t4.toString;
t5 = C.CssStyleDeclaration_methods._browserPropertyName$1(t4, _s16_);
t4.setProperty(t5, "0 0 0", "");
value = H.float64ListToCssTransform(t3);
t3 = C.CssStyleDeclaration_methods._browserPropertyName$1(t4, _s9_);
t4.setProperty(t3, value, "");
newClipTransform = newClipTransform0;
} else {
t4 = entry.rrect;
if (t4 != null) {
borderRadius = H.S(t4.tlRadiusX) + "px " + H.S(t4.trRadiusX) + "px " + H.S(t4.brRadiusX) + "px " + H.S(t4.blRadiusX) + "px";
clipOffsetX = t4.left;
clipOffsetY = t4.top;
t3 = new Float32Array(16);
newClipTransform0 = new H.Matrix40(t3);
newClipTransform0.setFrom$1(newClipTransform);
newClipTransform0.translate$2(0, clipOffsetX, clipOffsetY);
t5 = newElement.style;
t5.toString;
t6 = C.CssStyleDeclaration_methods._browserPropertyName$1(t5, "border-radius");
t5.setProperty(t6, borderRadius, "");
t5.overflow = "hidden";
t6 = H.S(t4.right - clipOffsetX) + "px";
t5.width = t6;
t4 = H.S(t4.bottom - clipOffsetY) + "px";
t5.height = t4;
t4 = newElement.style;
t4.toString;
t5 = C.CssStyleDeclaration_methods._browserPropertyName$1(t4, _s16_);
t4.setProperty(t5, "0 0 0", "");
value = H.float64ListToCssTransform(t3);
t3 = C.CssStyleDeclaration_methods._browserPropertyName$1(t4, _s9_);
t4.setProperty(t3, value, "");
newClipTransform = newClipTransform0;
} else {
t4 = entry.path;
if (t4 != null) {
t5 = newElement.style;
value = H.float64ListToCssTransform(t3);
t5.toString;
t3 = C.CssStyleDeclaration_methods._browserPropertyName$1(t5, _s9_);
t5.setProperty(t3, value, "");
t3 = C.CssStyleDeclaration_methods._browserPropertyName$1(t5, _s16_);
t5.setProperty(t3, "0 0 0", "");
clipDefs.push(W.Element_Element$html(H.createSvgClipDef(newElement, t4), new H._NullTreeSanitizer(), null));
}
}
}
reverseTransformDiv = t2.createElement("div");
t2 = reverseTransformDiv.style;
t2.position = _s8_;
t2 = new Float32Array(16);
t3 = new H.Matrix40(t2);
t3.setFrom$1(newClipTransform);
t3.copyInverse$1(t3);
t3 = reverseTransformDiv.style;
t3.toString;
t4 = C.CssStyleDeclaration_methods._browserPropertyName$1(t3, _s16_);
t3.setProperty(t4, "0 0 0", "");
value = H.float64ListToCssTransform(t2);
t2 = C.CssStyleDeclaration_methods._browserPropertyName$1(t3, _s9_);
t3.setProperty(t2, value, "");
if (transformKind === C.TransformKind_2) {
t2 = newElement.style;
t2.toString;
t3 = C.CssStyleDeclaration_methods._browserPropertyName$1(t2, _s15_);
t2.setProperty(t3, "preserve-3d", "");
t2 = reverseTransformDiv.style;
t2.toString;
t3 = C.CssStyleDeclaration_methods._browserPropertyName$1(t2, _s15_);
t2.setProperty(t3, "preserve-3d", "");
}
newElement.appendChild(reverseTransformDiv);
}
t2 = root.style;
t2.position = _s8_;
t2 = $.$get$domRenderer();
curElement.toString;
t2.toString;
curElement.appendChild($content);
H.setElementTransform($content, H.transformWithOffset(currentTransform, offset).__engine$_m4storage);
t1 = H.setRuntimeTypeInfo([root], t1);
C.JSArray_methods.addAll$1(t1, clipDefs);
return t1;
},
_maskFilterToCanvasFilter: function(maskFilter) {
var t1, t2;
if (maskFilter != null) {
t1 = maskFilter._sigma;
t2 = $.$get$window()._debugDevicePixelRatio;
return "blur(" + H.S(t1 * (t2 == null ? H.EnginePlatformDispatcher_browserDevicePixelRatio() : t2)) + "px)";
} else
return "none";
},
_browserEngine: function() {
var t1 = $.___browserEngine;
if (t1 === $) {
t1 = H.detectBrowserEngineByVendorAgent(window.navigator.vendor, window.navigator.userAgent.toLowerCase());
if ($.___browserEngine === $)
$.___browserEngine = t1;
else
t1 = H.throwExpression(H.LateError$fieldADI("_browserEngine"));
}
return t1;
},
detectBrowserEngineByVendorAgent: function(vendor, agent) {
var exp;
if (vendor === "Google Inc.") {
exp = P.RegExp_RegExp("SAMSUNG|SGH-[I|N|T]|GT-[I|N]|SM-[A|N|P|T|Z]|SHV-E|SCH-[I|J|R|S]|SPH-L", true, false);
if (exp._nativeRegExp.test(agent.toUpperCase()))
return C.BrowserEngine_5;
return C.BrowserEngine_0;
} else if (vendor === "Apple Computer, Inc.")
return C.BrowserEngine_1;
else if (C.JSString_methods.contains$1(agent, "edge/"))
return C.BrowserEngine_3;
else if (C.JSString_methods.contains$1(agent, "Edg/"))
return C.BrowserEngine_0;
else if (C.JSString_methods.contains$1(agent, "trident/7.0"))
return C.BrowserEngine_4;
else if (vendor === "" && C.JSString_methods.contains$1(agent, "firefox"))
return C.BrowserEngine_2;
P.print("WARNING: failed to detect current browser engine.");
return C.BrowserEngine_6;
},
_operatingSystem: function() {
var t1 = $.___operatingSystem;
if (t1 === $) {
t1 = H._detectOperatingSystem();
if ($.___operatingSystem === $)
$.___operatingSystem = t1;
else
t1 = H.throwExpression(H.LateError$fieldADI("_operatingSystem"));
}
return t1;
},
_detectOperatingSystem: function() {
var userAgent,
t1 = window.navigator.platform;
t1.toString;
userAgent = window.navigator.userAgent;
if (C.JSString_methods.startsWith$1(t1, "Mac"))
return C.OperatingSystem_4;
else if (C.JSString_methods.contains$1(t1.toLowerCase(), "iphone") || C.JSString_methods.contains$1(t1.toLowerCase(), "ipad") || C.JSString_methods.contains$1(t1.toLowerCase(), "ipod"))
return C.OperatingSystem_0;
else if (J.contains$1$asx(userAgent, "Android"))
return C.OperatingSystem_1;
else if (C.JSString_methods.startsWith$1(t1, "Linux"))
return C.OperatingSystem_2;
else if (C.JSString_methods.startsWith$1(t1, "Win"))
return C.OperatingSystem_3;
else
return C.OperatingSystem_5;
},
_detectWebGLVersion: function() {
var canvas = W.CanvasElement_CanvasElement(1, 1);
if (C.CanvasElement_methods.getContext$1(canvas, "webgl2") != null)
return 2;
if (C.CanvasElement_methods.getContext$1(canvas, "webgl") != null)
return 1;
return -1;
},
PasteFromClipboardStrategy_PasteFromClipboardStrategy: function() {
var t1 = H._browserEngine();
return t1 === C.BrowserEngine_2 || window.navigator.clipboard == null ? new H.ExecCommandPasteStrategy() : new H.ClipboardAPIPasteStrategy();
},
_buildDrawRectElement: function(rect, paint, tagName, transform) {
var t1, t2, left, right, $top, bottom, effectiveTransform, translated, style, cssColor, sigma,
rectangle = type$.HtmlElement._as($.$get$domRenderer().createElement$1(0, tagName)),
isStroke = paint.style === C.PaintingStyle_1,
strokeWidth = paint.strokeWidth;
if (strokeWidth == null)
strokeWidth = 0;
t1 = rect.left;
t2 = rect.right;
left = Math.min(H.checkNum(t1), H.checkNum(t2));
right = Math.max(H.checkNum(t1), H.checkNum(t2));
t2 = rect.top;
t1 = rect.bottom;
$top = Math.min(H.checkNum(t2), H.checkNum(t1));
bottom = Math.max(H.checkNum(t2), H.checkNum(t1));
if (transform.isIdentity$0(0))
if (isStroke) {
t1 = strokeWidth / 2;
effectiveTransform = "translate(" + H.S(left - t1) + "px, " + H.S($top - t1) + "px)";
} else
effectiveTransform = "translate(" + H.S(left) + "px, " + H.S($top) + "px)";
else {
t1 = new Float32Array(16);
translated = new H.Matrix40(t1);
translated.setFrom$1(transform);
if (isStroke) {
t2 = strokeWidth / 2;
translated.translate$2(0, left - t2, $top - t2);
} else
translated.translate$2(0, left, $top);
effectiveTransform = H.float64ListToCssTransform(t1);
}
style = rectangle.style;
style.position = "absolute";
C.CssStyleDeclaration_methods._setPropertyHelper$3(style, C.CssStyleDeclaration_methods._browserPropertyName$1(style, "transform-origin"), "0 0 0", "");
C.CssStyleDeclaration_methods._setPropertyHelper$3(style, C.CssStyleDeclaration_methods._browserPropertyName$1(style, "transform"), effectiveTransform, "");
t1 = paint.color;
if (t1 == null)
cssColor = "#000000";
else {
t1 = H.colorToCssString(t1);
t1.toString;
cssColor = t1;
}
t1 = paint.maskFilter;
if (t1 != null) {
sigma = t1._sigma;
t1 = H._browserEngine();
if (t1 === C.BrowserEngine_1 && !isStroke) {
t1 = "0px 0px " + H.S(sigma * 2) + "px " + cssColor;
C.CssStyleDeclaration_methods._setPropertyHelper$3(style, C.CssStyleDeclaration_methods._browserPropertyName$1(style, "box-shadow"), t1, "");
t1 = paint.color;
if (t1 == null)
t1 = C.Color_4278190080;
t1 = H.colorToCssString(new P.Color(((C.JSNumber_methods.round$0((1 - Math.min(Math.sqrt(sigma) / 6.283185307179586, 1)) * (t1.get$value(t1) >>> 24 & 255)) & 255) << 24 | t1.get$value(t1) & 16777215) >>> 0));
t1.toString;
cssColor = t1;
} else {
t1 = "blur(" + H.S(sigma) + "px)";
C.CssStyleDeclaration_methods._setPropertyHelper$3(style, C.CssStyleDeclaration_methods._browserPropertyName$1(style, "filter"), t1, "");
}
}
t1 = right - left;
if (isStroke) {
t1 = H.S(t1 - strokeWidth) + "px";
style.width = t1;
t1 = H.S(bottom - $top - strokeWidth) + "px";
style.height = t1;
t1 = H._borderStrokeToCssUnit(strokeWidth) + " solid " + cssColor;
style.border = t1;
} else {
t1 = H.S(t1) + "px";
style.width = t1;
t1 = H.S(bottom - $top) + "px";
style.height = t1;
style.backgroundColor = cssColor;
}
return rectangle;
},
_applyRRectBorderRadius: function(style, rrect) {
var t3, t4,
t1 = rrect.tlRadiusX,
t2 = rrect.trRadiusX;
if (t1 == t2) {
t3 = rrect.blRadiusX;
if (t1 == t3) {
t4 = rrect.brRadiusX;
t3 = t1 == t4 && t1 == rrect.tlRadiusY && t2 == rrect.trRadiusY && t3 == rrect.blRadiusY && t4 == rrect.brRadiusY;
} else
t3 = false;
} else
t3 = false;
if (t3) {
t1 = H._borderStrokeToCssUnit(rrect.blRadiusX);
style.toString;
C.CssStyleDeclaration_methods._setPropertyHelper$3(style, C.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-radius"), t1, "");
return;
}
t1 = H._borderStrokeToCssUnit(t1) + " " + H._borderStrokeToCssUnit(rrect.tlRadiusY);
style.toString;
C.CssStyleDeclaration_methods._setPropertyHelper$3(style, C.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-top-left-radius"), t1, "");
t2 = H._borderStrokeToCssUnit(t2) + " " + H._borderStrokeToCssUnit(rrect.trRadiusY);
C.CssStyleDeclaration_methods._setPropertyHelper$3(style, C.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-top-right-radius"), t2, "");
t2 = H._borderStrokeToCssUnit(rrect.blRadiusX) + " " + H._borderStrokeToCssUnit(rrect.blRadiusY);
C.CssStyleDeclaration_methods._setPropertyHelper$3(style, C.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-bottom-left-radius"), t2, "");
t2 = H._borderStrokeToCssUnit(rrect.brRadiusX) + " " + H._borderStrokeToCssUnit(rrect.brRadiusY);
C.CssStyleDeclaration_methods._setPropertyHelper$3(style, C.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-bottom-right-radius"), t2, "");
},
_borderStrokeToCssUnit: function(value) {
return J.toStringAsFixed$1$n(value === 0 ? 1 : value, 3) + "px";
},
_pathToSvgElement: function(path, paint, width, height) {
var color, t2, t3,
sb = new P.StringBuffer(""),
t1 = '";
return W.Element_Element$html(t1.charCodeAt(0) == 0 ? t1 : t1, new H._NullTreeSanitizer(), null);
},
DomRenderer$: function() {
var t2,
t1 = document.body;
t1.toString;
t1 = new H.DomRenderer(t1);
t1.reset$0(0);
t2 = $.TextMeasurementService_rulerManager;
if (t2 != null)
J.remove$0$ax(t2._rulerHost);
$.TextMeasurementService_rulerManager = null;
t2 = new H.RulerManager(10, P.LinkedHashMap_LinkedHashMap$_empty(type$.ParagraphGeometricStyle, type$.ParagraphRuler), W._ElementFactoryProvider_createElement_tag("flt-ruler-host", null));
t2.RulerHost$0();
$.TextMeasurementService_rulerManager = t2;
return t1;
},
DomRenderer_setElementStyle: function(element, $name, value) {
var t1;
if (value == null)
element.style.removeProperty($name);
else {
t1 = element.style;
t1.toString;
C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, $name), value, null);
}
},
DomRenderer_setClipPath: function(element, value) {
var t1 = H._browserEngine();
if (t1 === C.BrowserEngine_1) {
t1 = element.style;
t1.toString;
C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, "-webkit-clip-path"), value, null);
}
t1 = element.style;
t1.toString;
C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, "clip-path"), value, null);
},
DomRenderer_ellipse: function(context, centerX, centerY, radiusX, radiusY, rotation, startAngle, endAngle, antiClockwise) {
var t1 = $.DomRenderer__ellipseFeatureDetected;
if (t1 == null ? $.DomRenderer__ellipseFeatureDetected = context.ellipse != null : t1)
context.ellipse(centerX, centerY, radiusX, radiusY, rotation, startAngle, endAngle, antiClockwise);
else {
context.save();
context.translate(centerX, centerY);
context.rotate(rotation);
context.scale(radiusX, radiusY);
context.arc(0, 0, 1, startAngle, endAngle, antiClockwise);
context.restore();
}
},
DomRenderer__deviceOrientationToLockType: function(deviceOrientation) {
switch (deviceOrientation) {
case "DeviceOrientation.portraitUp":
return "portrait-primary";
case "DeviceOrientation.landscapeLeft":
return "portrait-secondary";
case "DeviceOrientation.portraitDown":
return "landscape-primary";
case "DeviceOrientation.landscapeRight":
return "landscape-secondary";
default:
return null;
}
},
transformWithOffset: function(transform, offset) {
var effectiveTransform;
if (offset.$eq(0, C.Offset_0_0))
return transform;
effectiveTransform = new H.Matrix40(new Float32Array(16));
effectiveTransform.setFrom$1(transform);
effectiveTransform.translate$3(0, offset._dx, offset._dy, 0);
return effectiveTransform;
},
_drawParagraphElement: function(paragraph, offset, transform) {
var paragraphElement = paragraph.toDomElement$0();
if (transform != null)
H.setElementTransform(paragraphElement, H.transformWithOffset(transform, offset).__engine$_m4storage);
return paragraphElement;
},
createSvgClipDef: function(element, clipPath) {
var t3,
pathBounds = clipPath.getBounds$0(0),
t1 = pathBounds.right,
t2 = pathBounds.bottom,
svgClipPath = H._pathToSvgClipPath(clipPath, 0, 0, 1 / t1, 1 / t2);
H.DomRenderer_setClipPath(element, "url(#svgClip" + $._clipIdCounter + ")");
t3 = element.style;
t1 = H.S(t1) + "px";
t3.width = t1;
t1 = H.S(t2) + "px";
t3.height = t1;
return svgClipPath;
},
_blendColorFilterToSvg: function(color, feBlend, swapLayers) {
var t1 = $._filterIdCounter + 1;
$._filterIdCounter = t1;
t1 = string$.x3csvg_w + t1 + string$.x22x20filt + H.S(H.colorToCssString(color)) + '" flood-opacity="1" result="flood">';
return t1 + (swapLayers ? '' : '') + "";
},
Conic__subdivide: function(src, level, pointList) {
var dst, t1, t2, startY, endY, midY, t3;
if (0 === level) {
pointList.push(new P.Offset(src.p1x, src.p1y));
pointList.push(new P.Offset(src.p2x, src.p2y));
return;
}
dst = new H._ConicPair();
src._chop$1(dst);
t1 = dst.first;
t1.toString;
t2 = dst.second;
t2.toString;
startY = src.p0y;
endY = src.p2y;
if (H.SPath_between(startY, src.p1y, endY)) {
midY = t1.p2y;
if (!H.SPath_between(startY, midY, endY))
t3 = t1.p2y = t2.p0y = Math.abs(midY - startY) < Math.abs(midY - endY) ? startY : endY;
else
t3 = midY;
if (!H.SPath_between(startY, t1.p1y, t3))
t1.p1y = startY;
if (!H.SPath_between(t2.p0y, t2.p1y, endY))
t2.p1y = endY;
}
--level;
H.Conic__subdivide(t1, level, pointList);
H.Conic__subdivide(t2, level, pointList);
},
_conicEvalNumerator: function(p0, p1, p2, w, t) {
var src2w = p1 * w;
return ((p2 - 2 * src2w + p0) * t + 2 * (src2w - p0)) * t + p0;
},
_conicEvalDenominator: function(w, t) {
var $B = 2 * (w - 1);
return (-$B * t + $B) * t + 1;
},
_chopCubicAtYExtrema: function(points, dest) {
var t1, roots, t2, t3, rootCount,
y0 = points[1],
y1 = points[3],
y2 = points[5],
_quadRoots = new H._QuadRoots();
_quadRoots.findRoots$3(points[7] - y0 + 3 * (y1 - y2), 2 * (y0 - y1 - y1 + y2), y1 - y0);
t1 = _quadRoots.root0;
if (t1 == null)
roots = H.setRuntimeTypeInfo([], type$.JSArray_double);
else {
t2 = _quadRoots.root1;
t3 = type$.JSArray_double;
roots = t2 == null ? H.setRuntimeTypeInfo([t1], t3) : H.setRuntimeTypeInfo([t1, t2], t3);
}
if (roots.length === 0)
return 0;
H._chopCubicAt(roots, points, dest);
rootCount = roots.length;
if (rootCount > 0) {
t1 = dest[7];
dest[9] = t1;
dest[5] = t1;
if (rootCount === 2) {
t1 = dest[13];
dest[15] = t1;
dest[11] = t1;
}
}
return rootCount;
},
_chopCubicAt: function(tValues, points, outPts) {
var i, t, t1, bufferPos, p3y, p0x, t2, p0y, p1x, p1y, p2x, p2y, bufferPos0, p3x, t3, ab1x, ab1y, bc1x, bc1y, cd1x, cd1y, abc1x, abc1y, bcd1x, bcd1y, outIndex, outIndex0, i0,
rootCount = tValues.length;
if (0 === rootCount)
for (i = 0; i < 8; ++i)
outPts[i] = points[i];
else {
t = tValues[0];
for (t1 = rootCount - 1, bufferPos = 0, i = 0; i < rootCount; i = i0, bufferPos = bufferPos0) {
t.toString;
p3y = points[bufferPos + 7];
p0x = points[bufferPos];
t2 = bufferPos + 1;
p0y = points[t2];
p1x = points[bufferPos + 2];
p1y = points[bufferPos + 3];
p2x = points[bufferPos + 4];
p2y = points[bufferPos + 5];
bufferPos0 = bufferPos + 6;
p3x = points[bufferPos0];
t3 = 1 - t;
ab1x = p0x * t3 + p1x * t;
ab1y = p0y * t3 + p1y * t;
bc1x = p1x * t3 + p2x * t;
bc1y = p1y * t3 + p2y * t;
cd1x = p2x * t3 + p3x * t;
cd1y = p2y * t3 + p3y * t;
abc1x = ab1x * t3 + bc1x * t;
abc1y = ab1y * t3 + bc1y * t;
bcd1x = bc1x * t3 + cd1x * t;
bcd1y = bc1y * t3 + cd1y * t;
outPts[bufferPos] = p0x;
outIndex = t2 + 1;
outPts[t2] = p0y;
outIndex0 = outIndex + 1;
outPts[outIndex] = ab1x;
outIndex = outIndex0 + 1;
outPts[outIndex0] = ab1y;
outIndex0 = outIndex + 1;
outPts[outIndex] = abc1x;
outIndex = outIndex0 + 1;
outPts[outIndex0] = abc1y;
outIndex0 = outIndex + 1;
outPts[outIndex] = abc1x * t3 + bcd1x * t;
outIndex = outIndex0 + 1;
outPts[outIndex0] = abc1y * t3 + bcd1y * t;
outIndex0 = outIndex + 1;
outPts[outIndex] = bcd1x;
outIndex = outIndex0 + 1;
outPts[outIndex0] = bcd1y;
outIndex0 = outIndex + 1;
outPts[outIndex] = cd1x;
outIndex = outIndex0 + 1;
outPts[outIndex0] = cd1y;
outPts[outIndex] = p3x;
outPts[outIndex + 1] = p3y;
if (i === t1)
break;
i0 = i + 1;
t2 = tValues[i0];
t3 = tValues[i];
t = H._validUnitDivide(t2 - t3, 1 - t3);
if (t == null) {
t1 = points[bufferPos0 + 3];
outPts[bufferPos0 + 6] = t1;
outPts[bufferPos0 + 5] = t1;
outPts[bufferPos0 + 4] = t1;
break;
}
}
}
},
_chopMonoAtY: function(_buffer, bufferStartPos, y) {
var tNeg, tPos, t1, t2, t3, tMid, y01, y12, y012, y0123,
ycrv0 = _buffer[1 + bufferStartPos] - y,
ycrv1 = _buffer[3 + bufferStartPos] - y,
ycrv2 = _buffer[5 + bufferStartPos] - y,
ycrv3 = _buffer[7 + bufferStartPos] - y;
if (ycrv0 < 0) {
if (ycrv3 < 0)
return null;
tNeg = 0;
tPos = 1;
} else {
if (!(ycrv0 > 0))
return 0;
tNeg = 1;
tPos = 0;
}
t1 = ycrv1 - ycrv0;
t2 = ycrv2 - ycrv1;
t3 = ycrv3 - ycrv2;
do {
tMid = (tPos + tNeg) / 2;
y01 = ycrv0 + t1 * tMid;
y12 = ycrv1 + t2 * tMid;
y012 = y01 + (y12 - y01) * tMid;
y0123 = y012 + (y12 + (ycrv2 + t3 * tMid - y12) * tMid - y012) * tMid;
if (y0123 === 0)
return tMid;
if (y0123 < 0)
tNeg = tMid;
else
tPos = tMid;
} while (Math.abs(tPos - tNeg) > 0.0000152587890625);
return (tNeg + tPos) / 2;
},
_evalCubicPts: function(c0, c1, c2, c3, t) {
return (((c3 + 3 * (c1 - c2) - c0) * t + 3 * (c2 - c1 - c1 + c0)) * t + 3 * (c1 - c0)) * t + c0;
},
SurfacePath$: function() {
var t1 = new H.SurfacePath(H.PathRef$(), C.PathFillType_0);
t1._resetFields$0();
return t1;
},
_arcIsLonePoint: function(oval, startAngle, sweepAngle) {
var t1;
if (0 === sweepAngle)
t1 = 0 === startAngle || 360 === startAngle;
else
t1 = false;
if (t1)
return new P.Offset(oval.right, oval.get$center()._dy);
return null;
},
_computeMinScale: function(radius1, radius2, limit, scale) {
var totalRadius = radius1 + radius2;
if (totalRadius <= limit)
return scale;
return Math.min(limit / totalRadius, scale);
},
_SkQuadCoefficients$: function(x0, y0, x1, y1, x2, y2) {
return new H._SkQuadCoefficients(x2 - 2 * x1 + x0, y2 - 2 * y1 + y0, 2 * (x1 - x0), 2 * (y1 - y0), x0, y0);
},
PathRef$: function() {
var t1 = new Float32Array(16);
t1 = new H.PathRef(t1, new Uint8Array(8));
t1._fVerbsCapacity = t1._fPointsCapacity = 8;
t1.fRRectOrOvalStartIdx = 172;
return t1;
},
PathRef__fPointsFromSource: function(source, offsetX, offsetY) {
var len, i, t1,
sourceLength = source._fPointsLength,
sourceCapacity = source._fPointsCapacity,
dest = new Float32Array(sourceCapacity * 2),
sourcePoints = source._fPoints;
for (len = sourceLength * 2, i = 0; i < len; i += 2) {
dest[i] = sourcePoints[i] + offsetX;
t1 = i + 1;
dest[t1] = sourcePoints[t1] + offsetY;
}
return dest;
},
pathToSvg: function(path, sb, offsetX, offsetY) {
var outPts, verb, w, points, len, i, t2, t3,
t1 = path.pathRef,
iter = new H.PathRefIterator(t1);
iter.PathRefIterator$1(t1);
outPts = new Float32Array(8);
for (; verb = iter.next$1(0, outPts), verb !== 6;)
switch (verb) {
case 0:
sb._contents += "M " + H.S(outPts[0] + offsetX) + " " + H.S(outPts[1] + offsetY);
break;
case 1:
sb._contents += "L " + H.S(outPts[2] + offsetX) + " " + H.S(outPts[3] + offsetY);
break;
case 4:
sb._contents += "C " + H.S(outPts[2] + offsetX) + " " + H.S(outPts[3] + offsetY) + " " + H.S(outPts[4] + offsetX) + " " + H.S(outPts[5] + offsetY) + " " + H.S(outPts[6] + offsetX) + " " + H.S(outPts[7] + offsetY);
break;
case 2:
sb._contents += "Q " + H.S(outPts[2] + offsetX) + " " + H.S(outPts[3] + offsetY) + " " + H.S(outPts[4] + offsetX) + " " + H.S(outPts[5] + offsetY);
break;
case 3:
w = t1._conicWeights[iter._conicWeightIndex];
points = new H.Conic(outPts[0], outPts[1], outPts[2], outPts[3], outPts[4], outPts[5], w).toQuads$0();
len = points.length;
for (i = 1; i < len; i += 2) {
t2 = points[i];
t3 = points[i + 1];
sb._contents += "Q " + H.S(t2._dx + offsetX) + " " + H.S(t2._dy + offsetY) + " " + H.S(t3._dx + offsetX) + " " + H.S(t3._dy + offsetY);
}
break;
case 5:
sb._contents += "Z";
break;
default:
throw H.wrapException(P.UnimplementedError$("Unknown path verb " + verb));
}
},
SPath_between: function(a, b, c) {
return (a - b) * (c - b) <= 0;
},
SPath_scalarSignedAsInt: function(x) {
var t1;
if (x < 0)
t1 = -1;
else
t1 = x > 0 ? 1 : 0;
return t1;
},
_validUnitDivide: function(numer, denom) {
var r;
if (numer < 0) {
numer = -numer;
denom = -denom;
}
if (denom === 0 || numer === 0 || numer >= denom)
return null;
r = numer / denom;
if (isNaN(r))
return null;
if (r === 0)
return null;
return r;
},
_isRRectOval: function(rrect) {
var t3, t4,
t1 = rrect.tlRadiusX,
t2 = rrect.trRadiusX;
if (t1 + t2 !== rrect.right - rrect.left)
return false;
t3 = rrect.tlRadiusY;
t4 = rrect.trRadiusY;
if (t3 + t4 !== rrect.bottom - rrect.top)
return false;
if (t1 !== rrect.blRadiusX || t2 !== rrect.brRadiusX || t3 !== rrect.blRadiusY || t4 !== rrect.brRadiusY)
return false;
return true;
},
PathWinding__checkOnCurve: function(x, y, startX, startY, endX, endY) {
if (startY == endY)
return H.SPath_between(startX, x, endX) && x != endX;
else
return x == startX && y == startY;
},
PathWinding__chopQuadAtExtrema: function(buffer) {
var p01x, p01y, p12x, p12y,
x0 = buffer[0],
y0 = buffer[1],
x1 = buffer[2],
y1 = buffer[3],
x2 = buffer[4],
y2 = buffer[5],
t1 = y0 - y1,
tValueAtExtrema = H._validUnitDivide(t1, t1 - y1 + y2);
if (tValueAtExtrema != null) {
p01x = x0 + tValueAtExtrema * (x1 - x0);
p01y = y0 + tValueAtExtrema * (y1 - y0);
p12x = x1 + tValueAtExtrema * (x2 - x1);
p12y = y1 + tValueAtExtrema * (y2 - y1);
buffer[2] = p01x;
buffer[3] = p01y;
buffer[4] = p01x + tValueAtExtrema * (p12x - p01x);
buffer[5] = p01y + tValueAtExtrema * (p12y - p01y);
buffer[6] = p12x;
buffer[7] = p12y;
buffer[8] = x2;
buffer[9] = y2;
return 1;
}
buffer[3] = Math.abs(t1) < Math.abs(y1 - y2) ? y0 : y2;
return 0;
},
PathWinding__isQuadMonotonic: function(quad) {
var y0 = quad[1],
y1 = quad[3],
y2 = quad[5];
if (y0 === y1)
return true;
if (y0 < y1)
return y1 <= y2;
else
return y1 >= y2;
},
PathIterator$: function(pathRef, forceClose) {
var t1 = new H.PathIterator(pathRef, true, pathRef._fVerbsLength);
if (pathRef.fBoundsIsDirty)
pathRef._computeBounds$0();
if (!pathRef.fIsFinite)
t1._verbIndex = pathRef._fVerbsLength;
return t1;
},
tangentLine: function(pts, x, y, tangents) {
var x0, x1, dx, dy,
y0 = pts[1],
y1 = pts[3];
if (!H.SPath_between(y0, y, y1))
return;
x0 = pts[0];
x1 = pts[2];
if (!H.SPath_between(x0, x, x1))
return;
dx = x1 - x0;
dy = y1 - y0;
if (!(Math.abs((x - x0) * dy - dx * (y - y0)) < 0.000244140625))
return;
tangents.push(new P.Offset(dx, dy));
},
tangentQuad: function(pts, x, y, tangents) {
var x0, x1, x2, roots, n, $A, $B, index, t1, t,
y0 = pts[1],
y1 = pts[3],
y2 = pts[5];
if (!H.SPath_between(y0, y, y1) && !H.SPath_between(y1, y, y2))
return;
x0 = pts[0];
x1 = pts[2];
x2 = pts[4];
if (!H.SPath_between(x0, x, x1) && !H.SPath_between(x1, x, x2))
return;
roots = new H._QuadRoots();
n = roots.findRoots$3(y0 - 2 * y1 + y2, 2 * (y1 - y0), y0 - y);
for ($A = x2 - 2 * x1 + x0, $B = 2 * (x1 - x0), index = 0; index < n; ++index) {
if (index === 0) {
t1 = roots.root0;
t1.toString;
t = t1;
} else {
t1 = roots.root1;
t1.toString;
t = t1;
}
if (!(Math.abs(x - (($A * t + $B) * t + x0)) < 0.000244140625))
continue;
tangents.push(H._evalQuadTangentAt(x0, y0, x1, y1, x2, y2, t));
}
},
_evalQuadTangentAt: function(x0, y0, x1, y1, x2, y2, t) {
var t1, bx, by;
if (!(t === 0 && x0 === x1 && y0 === y1))
t1 = t === 1 && x1 === x2 && y1 === y2;
else
t1 = true;
if (t1)
return new P.Offset(x2 - x0, y2 - y0);
bx = x1 - x0;
by = y1 - y0;
return new P.Offset(((x2 - x1 - bx) * t + bx) * 2, ((y2 - y1 - by) * t + by) * 2);
},
tangentConic: function(pts, x, y, weight, tangents) {
var x0, x1, x2, $B, quadRoots, n, src2w, $A, B0, A0, index, t1, t,
y0 = pts[1],
y1 = pts[3],
y2 = pts[5];
if (!H.SPath_between(y0, y, y1) && !H.SPath_between(y1, y, y2))
return;
x0 = pts[0];
x1 = pts[2];
x2 = pts[4];
if (!H.SPath_between(x0, x, x1) && !H.SPath_between(x1, x, x2))
return;
$B = y1 * weight - y * weight + y;
quadRoots = new H._QuadRoots();
n = quadRoots.findRoots$3(y2 + (y0 - 2 * $B), 2 * ($B - y0), y0 - y);
for (src2w = x1 * weight, $A = x2 - 2 * src2w + x0, $B = 2 * (src2w - x0), B0 = 2 * (weight - 1), A0 = -B0, index = 0; index < n; ++index) {
if (index === 0) {
t1 = quadRoots.root0;
t1.toString;
t = t1;
} else {
t1 = quadRoots.root1;
t1.toString;
t = t1;
}
if (!(Math.abs(x - (($A * t + $B) * t + x0) / ((A0 * t + B0) * t + 1)) < 0.000244140625))
continue;
tangents.push(new H.Conic(x0, y0, x1, y1, x2, y2, weight).evalTangentAt$1(t));
}
},
tangentCubic: function(pts, x, y, tangents) {
var x0, x1, x2, x3, dst, n, i, bufferPos, t,
y3 = pts[7],
y0 = pts[1],
y1 = pts[3],
y2 = pts[5];
if (!H.SPath_between(y0, y, y1) && !H.SPath_between(y1, y, y2) && !H.SPath_between(y2, y, y3))
return;
x0 = pts[0];
x1 = pts[2];
x2 = pts[4];
x3 = pts[6];
if (!H.SPath_between(x0, x, x1) && !H.SPath_between(x1, x, x2) && !H.SPath_between(x2, x, x3))
return;
dst = new Float32Array(20);
n = H._chopCubicAtYExtrema(pts, dst);
for (i = 0; i <= n; ++i) {
bufferPos = i * 6;
t = H._chopMonoAtY(dst, bufferPos, y);
if (t == null)
continue;
if (!(Math.abs(x - H._evalCubicPts(dst[bufferPos], dst[bufferPos + 2], dst[bufferPos + 4], dst[bufferPos + 6], t)) < 0.000244140625))
continue;
tangents.push(H._evalCubicTangentAt(dst, bufferPos, t));
}
},
_evalCubicTangentAt: function(points, bufferPos, t) {
var t2, dx, dy, coeff,
y3 = points[7 + bufferPos],
y0 = points[1 + bufferPos],
y1 = points[3 + bufferPos],
y2 = points[5 + bufferPos],
x0 = points[bufferPos],
x1 = points[2 + bufferPos],
x2 = points[4 + bufferPos],
x3 = points[6 + bufferPos],
t1 = t === 0;
if (!(t1 && x0 === x1 && y0 === y1))
t2 = t === 1 && x2 === x3 && y2 === y3;
else
t2 = true;
if (t2) {
if (t1) {
dx = x2 - x0;
dy = y2 - y0;
} else {
dx = x3 - x1;
dy = y3 - y1;
}
if (dx === 0 && dy === 0) {
dx = x3 - x0;
dy = y3 - y0;
}
return new P.Offset(dx, dy);
} else {
coeff = H._SkQuadCoefficients$(x3 + 3 * (x1 - x2) - x0, y3 + 3 * (y1 - y2) - y0, 2 * (x2 - 2 * x1 + x0), 2 * (y2 - 2 * y1 + y0), x1 - x0, y1 - y0);
return new P.Offset(coeff.evalX$1(t), coeff.evalY$1(t));
}
},
_reduceCanvasMemoryUsage: function() {
var i, t1, t2,
canvasCount = $._recycledCanvases.length;
for (i = 0; i < canvasCount; ++i) {
t1 = $._recycledCanvases[i]._canvasPool;
t2 = $.___browserEngine;
if (t2 === $) {
t2 = H.detectBrowserEngineByVendorAgent(window.navigator.vendor, window.navigator.userAgent.toLowerCase());
if ($.___browserEngine === $)
$.___browserEngine = t2;
else
t2 = H.throwExpression(H.LateError$fieldADI("_browserEngine"));
}
if (t2 === C.BrowserEngine_1 && t1.__engine$_canvas != null) {
t2 = t1.__engine$_canvas;
t2.height = 0;
t2.width = 0;
}
t1._clearActiveCanvasList$0();
}
C.JSArray_methods.set$length($._recycledCanvases, 0);
},
_recycleCanvas: function(canvas) {
if (canvas != null && C.JSArray_methods.contains$1($._recycledCanvases, canvas))
return;
if (canvas instanceof H.BitmapCanvas) {
canvas._elementCache = null;
if (canvas.__engine$_devicePixelRatio === H.EnginePlatformDispatcher_browserDevicePixelRatio()) {
$._recycledCanvases.push(canvas);
if ($._recycledCanvases.length > 30)
C.JSArray_methods.removeAt$1($._recycledCanvases, 0)._canvasPool.dispose$0(0);
} else
canvas._canvasPool.dispose$0(0);
}
},
PersistedPicture__predictTrend: function(delta, extent) {
if (delta <= 0)
return extent * 0.1;
else
return Math.min(Math.max(extent * 0.5, delta * 10), extent);
},
_computePixelDensity: function(transform, width, height) {
var m, t1, t2, minX, t3, minY, t4, t5, t6, t7, wp, t8, t9, t10, t11, xp, t12, t13, t14, t15, yp, minX0, maxX, minY0, maxY, scale;
if (transform == null || transform.isIdentityOrTranslation$0())
return 1;
m = transform.__engine$_m4storage;
t1 = m[12];
t2 = m[15];
minX = t1 * t2;
t3 = m[13];
minY = t3 * t2;
t4 = m[3];
t5 = t4 * width;
t6 = m[7];
t7 = t6 * height;
wp = 1 / (t5 + t7 + t2);
t8 = m[0];
t9 = t8 * width;
t10 = m[4];
t11 = t10 * height;
xp = (t9 + t11 + t1) * wp;
t12 = m[1];
t13 = t12 * width;
t14 = m[5];
t15 = t14 * height;
yp = (t13 + t15 + t3) * wp;
minX0 = Math.min(minX, xp);
maxX = Math.max(minX, xp);
minY0 = Math.min(minY, yp);
maxY = Math.max(minY, yp);
wp = 1 / (t4 * 0 + t7 + t2);
xp = (t8 * 0 + t11 + t1) * wp;
yp = (t12 * 0 + t15 + t3) * wp;
minX = Math.min(minX0, xp);
maxX = Math.max(maxX, xp);
minY = Math.min(minY0, yp);
maxY = Math.max(maxY, yp);
wp = 1 / (t5 + t6 * 0 + t2);
xp = (t9 + t10 * 0 + t1) * wp;
yp = (t13 + t14 * 0 + t3) * wp;
minX = Math.min(minX, xp);
maxX = Math.max(maxX, xp);
minY = Math.min(minY, yp);
scale = Math.min((maxX - minX) / width, (Math.max(maxY, yp) - minY) / height);
if (scale < 1e-9 || scale === 1)
return 1;
if (scale > 1) {
scale = Math.min(4, C.JSNumber_methods.ceil$0(scale / 2) * 2);
t1 = width * height;
if (t1 * scale * scale > 4194304 && scale > 2)
scale = 3355443.2 / t1;
} else
scale = Math.max(2 / C.JSNumber_methods.floor$0(2 / scale), 0.0001);
return scale;
},
_measureBorderRadius: function(x, y) {
var clampedX = x < 0 ? 0 : x,
clampedY = y < 0 ? 0 : y;
return clampedX * clampedX + clampedY * clampedY;
},
_getPaintSpread: function(paint) {
var t2,
t1 = paint._paintData,
maskFilter = t1.maskFilter,
spread = maskFilter != null ? 0 + maskFilter._sigma * 2 : 0;
t1 = t1.strokeWidth;
t2 = t1 == null;
if ((t2 ? 0 : t1) !== 0)
spread += (t2 ? 0 : t1) * 0.70710678118;
return spread;
},
_GlContext__programCache: function() {
var t1 = $._GlContext____programCache;
return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_programCache")) : t1;
},
NormalizedGradient_NormalizedGradient: function(colors, stops) {
var colorCount, addFirst, addLast, normalizedCount, t1, bias, scale, t2, thresholds, targetIndex, thresholdIndex, _i, targetIndex0, t3, thresholdIndex0, lastColorIndex, i, t, colorIndex;
if (stops == null)
stops = C.List_0_1;
colorCount = colors.length;
addFirst = stops[0] !== 0;
addLast = C.JSArray_methods.get$last(stops) !== 1;
normalizedCount = addFirst ? colorCount + 1 : colorCount;
if (addLast)
++normalizedCount;
t1 = normalizedCount * 4;
bias = new Float32Array(t1);
scale = new Float32Array(t1);
t1 = normalizedCount - 1;
t2 = C.JSInt_methods._tdivFast$1(t1, 4);
thresholds = new Float32Array(4 * (t2 + 1));
if (addFirst) {
t2 = colors[0].value;
bias[0] = (t2 >>> 16 & 255) / 255;
bias[1] = (t2 >>> 8 & 255) / 255;
bias[2] = (t2 & 255) / 255;
bias[3] = (t2 >>> 24 & 255) / 255;
thresholds[0] = 0;
targetIndex = 4;
thresholdIndex = 1;
} else {
targetIndex = 0;
thresholdIndex = 0;
}
for (t2 = colors.length, _i = 0; _i < t2; ++_i) {
targetIndex0 = targetIndex + 1;
t3 = colors[_i].value;
bias[targetIndex] = (t3 >>> 16 & 255) / 255;
targetIndex = targetIndex0 + 1;
bias[targetIndex0] = (t3 >>> 8 & 255) / 255;
targetIndex0 = targetIndex + 1;
bias[targetIndex] = (t3 & 255) / 255;
targetIndex = targetIndex0 + 1;
bias[targetIndex0] = (t3 >>> 24 & 255) / 255;
}
for (t2 = stops.length, _i = 0; _i < t2; ++_i, thresholdIndex = thresholdIndex0) {
thresholdIndex0 = thresholdIndex + 1;
thresholds[thresholdIndex] = stops[_i];
}
if (addLast) {
targetIndex0 = targetIndex + 1;
t2 = C.JSArray_methods.get$last(colors).value;
bias[targetIndex] = (t2 >>> 16 & 255) / 255;
targetIndex = targetIndex0 + 1;
bias[targetIndex0] = (t2 >>> 8 & 255) / 255;
bias[targetIndex] = (t2 & 255) / 255;
bias[targetIndex + 1] = (t2 >>> 24 & 255) / 255;
thresholds[thresholdIndex] = 1;
}
lastColorIndex = 4 * t1;
for (i = 0; i < lastColorIndex; ++i) {
thresholdIndex = i >>> 2;
scale[i] = (bias[i + 4] - bias[i]) / (thresholds[thresholdIndex + 1] - thresholds[thresholdIndex]);
}
scale[lastColorIndex] = 0;
scale[lastColorIndex + 1] = 0;
scale[lastColorIndex + 2] = 0;
scale[lastColorIndex + 3] = 0;
for (i = 0; i < normalizedCount; ++i) {
t = thresholds[i];
colorIndex = i * 4;
bias[colorIndex] = bias[colorIndex] - t * scale[colorIndex];
t1 = colorIndex + 1;
bias[t1] = bias[t1] - t * scale[t1];
t1 = colorIndex + 2;
bias[t1] = bias[t1] - t * scale[t1];
t1 = colorIndex + 3;
bias[t1] = bias[t1] - t * scale[t1];
}
return new H.NormalizedGradient(thresholds, bias, scale, normalizedCount);
},
_writeUnrolledBinarySearch: function(method, start, end, biasName, probe, scaleName, sourcePrefix) {
var biasSource, scaleSource, mid, t1, thresholdAtMid;
if (start === end) {
biasSource = biasName + "_" + start;
method.addStatement$1(biasName + " = " + biasSource + ";");
scaleSource = scaleName + "_" + start;
method.addStatement$1(scaleName + " = " + scaleSource + ";");
} else {
mid = C.JSInt_methods._tdivFast$1(start + end, 2);
t1 = mid + 1;
thresholdAtMid = sourcePrefix + "_" + C.JSInt_methods._tdivFast$1(t1, 4) + ("." + "xyzw"[C.JSInt_methods.$mod(t1, 4)]);
method.addStatement$1("if (" + probe + " < " + thresholdAtMid + ") {");
++method._indentLevel;
H._writeUnrolledBinarySearch(method, start, mid, biasName, probe, scaleName, sourcePrefix);
--method._indentLevel;
method.addStatement$1("} else {");
++method._indentLevel;
H._writeUnrolledBinarySearch(method, t1, end, biasName, probe, scaleName, sourcePrefix);
--method._indentLevel;
method.addStatement$1("}");
}
},
_addColorStopsToCanvasGradient: function(gradient, colors, colorStops, isDecal) {
var scale, offset, t1, i, t2,
_s9_ = "#00000000";
if (isDecal) {
gradient.addColorStop(0, _s9_);
scale = 0.999;
offset = 0.0005000000000000004;
} else {
scale = 1;
offset = 0;
}
if (colorStops == null) {
t1 = H.colorToCssString(colors[0]);
t1.toString;
gradient.addColorStop(offset, t1);
t1 = H.colorToCssString(colors[1]);
t1.toString;
gradient.addColorStop(1 - offset, t1);
} else
for (i = 0; i < colors.length; ++i) {
t1 = colorStops[i];
t2 = H.colorToCssString(colors[i]);
t2.toString;
gradient.addColorStop(t1 * scale + offset, t2);
}
if (isDecal)
gradient.addColorStop(1, _s9_);
},
_writeSharedGradientShader: function(builder, method, gradient, tileMode) {
var t1, t2, t3, i, probeName,
_s8_ = "tiled_st";
method.addStatement$1("vec4 bias;");
method.addStatement$1("vec4 scale;");
for (t1 = gradient.thresholdCount, t2 = t1 - 1, t3 = C.JSInt_methods._tdivFast$1(t2, 4) + 1, i = 0; i < t3; ++i)
builder.addUniform$2$name(11, "threshold_" + i);
for (i = 0; i < t1; ++i) {
builder.addUniform$2$name(11, "bias_" + i);
builder.addUniform$2$name(11, "scale_" + i);
}
switch (tileMode) {
case C.TileMode_0:
method.addStatement$1("float tiled_st = clamp(st, 0.0, 1.0);");
probeName = _s8_;
break;
case C.TileMode_3:
probeName = "st";
break;
case C.TileMode_1:
method.addStatement$1("float tiled_st = fract(st);");
probeName = _s8_;
break;
case C.TileMode_2:
method.addStatement$1("float t_1 = (st - 1.0);");
method.addStatement$1("float tiled_st = abs((t_1 - 2.0 * floor(t_1 * 0.5)) - 1.0);");
probeName = _s8_;
break;
default:
throw H.wrapException(H.ReachabilityError$(string$.x60null_c));
}
H._writeUnrolledBinarySearch(method, 0, t2, "bias", probeName, "scale", "threshold");
return probeName;
},
ShaderBuilder_typeToString: function(dataType) {
switch (dataType) {
case 0:
return "bool";
case 1:
return "int";
case 2:
return "float";
case 3:
return "bvec2";
case 4:
return "bvec3";
case 5:
return "bvec4";
case 6:
return "ivec2";
case 7:
return "ivec3";
case 8:
return "ivec4";
case 9:
return "vec2";
case 10:
return "vec3";
case 11:
return "vec4";
case 12:
return "mat2";
case 13:
return "mat3";
case 14:
return "mat4";
case 15:
return "sampler1D";
case 16:
return "sampler2D";
case 17:
return "sampler3D";
case 18:
return "void";
}
throw H.wrapException(P.ArgumentError$(null));
},
commitScene: function(scene) {
var request, _i, i,
t1 = $._paintQueue,
t2 = t1.length;
if (t2 !== 0)
try {
if (t2 > 1)
C.JSArray_methods.sort$1(t1, new H.commitScene_closure());
for (t1 = $._paintQueue, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) {
request = t1[_i];
request.paintCallback$0();
}
} finally {
$._paintQueue = H.setRuntimeTypeInfo([], type$.JSArray__PaintRequest);
}
t1 = $._retainedSurfaces;
t2 = t1.length;
if (t2 !== 0) {
for (i = 0; i < t2; ++i)
t1[i].__engine$_state = C.PersistedSurfaceState_1;
$._retainedSurfaces = H.setRuntimeTypeInfo([], type$.JSArray_PersistedSurface);
}
for (t1 = $._frameReferences, i = 0; i < t1.length; ++i)
t1[i].value = null;
$._frameReferences = H.setRuntimeTypeInfo([], type$.JSArray_FrameReference_dynamic);
},
PersistedContainerSurface__discardActiveChildren: function(surface) {
var i, child,
t1 = surface.__engine$_children,
$length = t1.length;
for (i = 0; i < $length; ++i) {
child = t1[i];
if (child.__engine$_state === C.PersistedSurfaceState_1)
child.discard$0();
}
},
Keyboard$_: function() {
var t1 = new H.Keyboard(P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Timer));
t1.Keyboard$_$0();
return t1;
},
_noopCallback: function(data) {
},
MultiEntriesBrowserHistory$: function(urlStrategy) {
var t1 = new H.MultiEntriesBrowserHistory(urlStrategy);
t1.MultiEntriesBrowserHistory$1$urlStrategy(urlStrategy);
return t1;
},
EnginePlatformDispatcher_browserDevicePixelRatio: function() {
var ratio = window.devicePixelRatio;
return ratio == null || ratio === 0 ? 1 : ratio;
},
EnginePlatformDispatcher__zonedPlatformMessageResponseCallback: function(callback) {
return new H.EnginePlatformDispatcher__zonedPlatformMessageResponseCallback_closure($.Zone__current, callback);
},
EnginePlatformDispatcher_parseBrowserLanguages: function() {
var locales, t1, t2, t3, parts,
languages = window.navigator.languages;
if (languages == null || J.get$isEmpty$asx(languages))
return C.List_Locale_en_US;
locales = H.setRuntimeTypeInfo([], type$.JSArray_Locale);
for (t1 = J.get$iterator$ax(languages), t2 = type$.JSArray_String; t1.moveNext$0();) {
t3 = t1.get$current(t1);
parts = H.setRuntimeTypeInfo(t3.split("-"), t2);
if (parts.length > 1)
locales.push(new P.Locale(C.JSArray_methods.get$first(parts), C.JSArray_methods.get$last(parts)));
else
locales.push(new P.Locale(t3, null));
}
return locales;
},
_handleWebTestEnd2EndMessage: function(codec, data) {
var decoded = codec.decodeMethodCall$1(data),
ratio = P.double_parse(decoded.$arguments);
switch (decoded.method) {
case "setDevicePixelRatio":
$.$get$window()._debugDevicePixelRatio = ratio;
$.$get$EnginePlatformDispatcher__instance()._onMetricsChanged.call$0();
return true;
}
return false;
},
invoke: function(callback, zone) {
if (callback == null)
return;
if (zone === $.Zone__current)
callback.call$0();
else
zone.runGuarded$1(callback);
},
invoke1: function(callback, zone, arg, $A) {
if (callback == null)
return;
if (zone === $.Zone__current)
callback.call$1(arg);
else
zone.runUnaryGuarded$1$2(callback, arg, $A);
},
invoke3: function(callback, zone, arg1, arg2, arg3) {
if (callback == null)
return;
if (zone === $.Zone__current)
callback.call$3(arg1, arg2, arg3);
else
zone.runGuarded$1(new H.invoke3_closure(callback, arg1, arg2, arg3));
},
convertButtonToButtons: function(button) {
switch (button) {
case 0:
return 1;
case 1:
return 4;
case 2:
return 2;
default:
return C.JSInt_methods.$shl(1, button);
}
},
_BaseAdapter__eventTimeStampToDuration: function(milliseconds) {
var ms = J.toInt$0$n(milliseconds);
return P.Duration$(0, 0, C.JSNumber_methods.toInt$0((milliseconds - ms) * 1000), ms, 0, 0);
},
timeAction: function($name, action) {
var t1 = action.call$0();
return t1;
},
_frameTimingsOnVsync: function() {
if ($.$get$EnginePlatformDispatcher__instance()._onReportTimings == null)
return;
$._vsyncStartMicros = C.JSNumber_methods.toInt$0(window.performance.now() * 1000);
},
_frameTimingsOnBuildStart: function() {
if ($.$get$EnginePlatformDispatcher__instance()._onReportTimings == null)
return;
$._buildStartMicros = C.JSNumber_methods.toInt$0(window.performance.now() * 1000);
},
_frameTimingsOnBuildFinish: function() {
if ($.$get$EnginePlatformDispatcher__instance()._onReportTimings == null)
return;
$._buildFinishMicros = C.JSNumber_methods.toInt$0(window.performance.now() * 1000);
},
_frameTimingsOnRasterStart: function() {
if ($.$get$EnginePlatformDispatcher__instance()._onReportTimings == null)
return;
$._rasterStartMicros = C.JSNumber_methods.toInt$0(window.performance.now() * 1000);
},
_frameTimingsOnRasterFinish: function() {
var now, t2,
t1 = $.$get$EnginePlatformDispatcher__instance();
if (t1._onReportTimings == null)
return;
now = $._rasterFinishMicros = C.JSNumber_methods.toInt$0(window.performance.now() * 1000);
$._frameTimings.push(new P.FrameTiming(H.setRuntimeTypeInfo([$._vsyncStartMicros, $._buildStartMicros, $._buildFinishMicros, $._rasterStartMicros, now], type$.JSArray_int)));
$._rasterFinishMicros = $._rasterStartMicros = $._buildFinishMicros = $._buildStartMicros = $._vsyncStartMicros = -1;
if (now - $.$get$_frameTimingsLastSubmitTime() > 100000) {
$._frameTimingsLastSubmitTime = now;
t2 = $._frameTimings;
H.invoke1(t1._onReportTimings, t1._onReportTimingsZone, t2, type$.List_FrameTiming);
$._frameTimings = H.setRuntimeTypeInfo([], type$.JSArray_FrameTiming);
}
},
_nowMicros: function() {
return C.JSNumber_methods.toInt$0(window.performance.now() * 1000);
},
AccessibilityAnnouncements$_: function() {
var t1 = new H.AccessibilityAnnouncements();
t1.AccessibilityAnnouncements$_$0();
return t1;
},
_checkableKindFromSemanticsFlag: function(semanticsObject) {
var t1 = semanticsObject.__engine$_flags;
if ((t1 & 256) !== 0)
return C._CheckableKind_1;
else if ((t1 & 65536) !== 0)
return C._CheckableKind_2;
else
return C._CheckableKind_0;
},
Incrementable$: function(semanticsObject) {
var t1 = new H.Incrementable(W.InputElement_InputElement(null), semanticsObject);
t1.Incrementable$1(semanticsObject);
return t1;
},
SemanticsObject__clearSemanticElementTransform: function(element) {
var t1 = element.style;
t1.removeProperty("transform-origin");
t1.removeProperty("transform");
t1 = H._operatingSystem();
if (t1 !== C.OperatingSystem_0) {
t1 = H._operatingSystem();
t1 = t1 === C.OperatingSystem_4;
} else
t1 = true;
if (t1) {
t1 = element.style;
t1.top = "0px";
t1.left = "0px";
} else {
t1 = element.style;
t1.removeProperty("top");
t1.removeProperty("left");
}
},
EngineSemanticsOwner$_: function() {
var t1 = type$.SemanticsObject,
t2 = H.setRuntimeTypeInfo([], type$.JSArray_nullable_SemanticsObject),
t3 = H.setRuntimeTypeInfo([], type$.JSArray_of_void_Function),
t4 = H._operatingSystem();
t4 = J.containsKey$1$x(C.Set_m536._collection$_map, t4) ? new H.DesktopSemanticsEnabler() : new H.MobileSemanticsEnabler();
t4 = new H.EngineSemanticsOwner(P.LinkedHashMap_LinkedHashMap$_empty(type$.int, t1), P.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_int, t1), t2, t3, new H.EngineSemanticsOwner__now_closure(), new H.SemanticsHelper(t4), C.GestureMode_1, H.setRuntimeTypeInfo([], type$.JSArray_of_nullable_void_Function_GestureMode));
t4.EngineSemanticsOwner$_$0();
return t4;
},
longestIncreasingSubsequence: function(list) {
var longest, i, elem, hi, lo, mid, seq, k,
len = list.length,
t1 = type$.JSArray_int,
predecessors = H.setRuntimeTypeInfo([], t1),
mins = H.setRuntimeTypeInfo([0], t1);
for (longest = 0, i = 0; i < len; ++i) {
elem = list[i];
for (hi = longest, lo = 1; lo <= hi;) {
mid = C.JSInt_methods._tdivFast$1(lo + hi, 2);
if (list[mins[mid]] < elem)
lo = mid + 1;
else
hi = mid - 1;
}
predecessors.push(mins[lo - 1]);
if (lo >= mins.length)
mins.push(i);
else
mins[lo] = i;
if (lo > longest)
longest = lo;
}
seq = P.List_List$filled(longest, 0, false, type$.int);
k = mins[longest];
for (i = longest - 1; i >= 0; --i) {
seq[i] = k;
k = predecessors[k];
}
return seq;
},
SemanticsTextEditingStrategy_ensureInitialized: function(owner) {
var t1 = $.SemanticsTextEditingStrategy__instance;
if (t1 != null && t1.owner === owner) {
t1.toString;
return t1;
}
return $.SemanticsTextEditingStrategy__instance = new H.SemanticsTextEditingStrategy(owner, H.setRuntimeTypeInfo([], type$.JSArray_StreamSubscription_Event));
},
WriteBuffer_WriteBuffer: function() {
var t1 = new Uint8Array(0),
eightBytes = new DataView(new ArrayBuffer(8));
return new H.WriteBuffer0(new H.Uint8Buffer0(t1, 0), eightBytes, H.NativeUint8List_NativeUint8List$view(eightBytes.buffer, 0, null));
},
computeShadowOffset: function(elevation) {
if (elevation === 0)
return C.Offset_0_0;
return new P.Offset(200 * elevation / 600, 400 * elevation / 600);
},
computePenumbraBounds: function(shape, elevation) {
var t1, t2, t3, t4, dx, dy;
if (elevation === 0)
return shape;
t1 = shape.right;
t2 = shape.left;
t3 = shape.bottom;
t4 = shape.top;
dx = elevation * ((800 + (t1 - t2) * 0.5) / 600);
dy = elevation * ((800 + (t3 - t4) * 0.5) / 600);
return new P.Rect(t2 - dx, t4 - dy, t1 + dx, t3 + dy).shift$1(H.computeShadowOffset(elevation));
},
computeShadow: function(shape, elevation) {
if (elevation === 0)
return null;
return new H.SurfaceShadowData(Math.min(elevation * ((800 + (shape.right - shape.left) * 0.5) / 600), elevation * ((800 + (shape.bottom - shape.top) * 0.5) / 600)), H.computeShadowOffset(elevation));
},
applyCssShadow: function(element, shape, elevation, color) {
var t1, t2, t3,
_s10_ = "box-shadow",
shadow = H.computeShadow(shape, elevation);
if (shadow == null) {
t1 = element.style;
t1.toString;
C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s10_), "none", "");
} else {
color = H.toShadowColor(color);
t1 = element.style;
t2 = shadow.offset;
t3 = color.value;
t3 = H.S(t2._dx) + "px " + H.S(t2._dy) + "px " + H.S(shadow.blurWidth) + "px 0px rgba(" + (t3 >>> 16 & 255) + ", " + (t3 >>> 8 & 255) + ", " + (t3 & 255) + ", " + H.S((t3 >>> 24 & 255) / 255) + ")";
t1.toString;
C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s10_), t3, "");
}
},
toShadowColor: function(color) {
var t1 = color.value;
return new P.Color(((C.JSNumber_methods.round$0(0.3 * (t1 >>> 24 & 255)) & 255) << 24 | t1 & 16777215) >>> 0);
},
FontManager_FontManager: function() {
var t1 = type$.JSArray_Future_void;
if ($.$get$supportsFontLoadingApi())
return new H.FontManager(H.setRuntimeTypeInfo([], t1));
else
return new H._PolyfillFontManager(H.setRuntimeTypeInfo([], t1));
},
LineBuilder$_: function(paragraph, spanometer, accumulatedHeight, lineNumber, maxWidth, start) {
return new H.LineBuilder(H.setRuntimeTypeInfo([], type$.JSArray_LineSegment), H.setRuntimeTypeInfo([], type$.JSArray_RangeBox), maxWidth, paragraph, spanometer, start, lineNumber, accumulatedHeight, start);
},
nextLineBreak: function(text, index, maxEnd) {
var t1, lastNonNewlineIndex, lastNonSpaceIndex, prev1, regionalIndicatorCount, t2, t3, t4, curr0, isCurrZWJ0, t5, t6, t7,
codePoint = H.getCodePoint(text, index),
curr = $.$get$lineLookup().findForChar$1(codePoint),
baseOfSpaceSequence = curr === C.LineCharProperty_5 ? C.LineCharProperty_29 : null,
isCurrZWJ = curr === C.LineCharProperty_26;
if (curr === C.LineCharProperty_0 || isCurrZWJ)
curr = C.LineCharProperty_8;
for (t1 = text.length, lastNonNewlineIndex = index, lastNonSpaceIndex = lastNonNewlineIndex, prev1 = null, regionalIndicatorCount = 0; index < t1; isCurrZWJ = isCurrZWJ0, prev1 = curr, curr = curr0) {
if (index === maxEnd)
return new H.LineBreakResult(index, lastNonNewlineIndex, lastNonSpaceIndex, C.LineBreakType_1);
t2 = curr === C.LineCharProperty_35;
regionalIndicatorCount = t2 ? regionalIndicatorCount + 1 : 0;
index = (codePoint != null && codePoint > 65535 ? index + 1 : index) + 1;
t3 = curr === C.LineCharProperty_5;
t4 = !t3;
if (t4)
baseOfSpaceSequence = null;
codePoint = H.getCodePoint(text, index);
curr0 = $.$get$lineLookup().findForChar$1(codePoint);
isCurrZWJ0 = curr0 === C.LineCharProperty_26;
if (curr === C.LineCharProperty_2 || curr === C.LineCharProperty_3)
return new H.LineBreakResult(index, lastNonNewlineIndex, lastNonSpaceIndex, C.LineBreakType_2);
if (curr === C.LineCharProperty_4)
if (curr0 === C.LineCharProperty_2)
continue;
else
return new H.LineBreakResult(index, lastNonNewlineIndex, lastNonSpaceIndex, C.LineBreakType_2);
if (t4)
lastNonSpaceIndex = index;
if (curr0 === C.LineCharProperty_2 || curr0 === C.LineCharProperty_3 || curr0 === C.LineCharProperty_4) {
lastNonNewlineIndex = index;
continue;
}
if (index >= t1)
return new H.LineBreakResult(t1, index, lastNonSpaceIndex, C.LineBreakType_3);
if (curr0 === C.LineCharProperty_5) {
baseOfSpaceSequence = t3 ? baseOfSpaceSequence : curr;
lastNonNewlineIndex = index;
continue;
}
if (curr0 === C.LineCharProperty_25) {
lastNonNewlineIndex = index;
continue;
}
if (curr === C.LineCharProperty_25 || baseOfSpaceSequence === C.LineCharProperty_25)
return new H.LineBreakResult(index, index, lastNonSpaceIndex, C.LineBreakType_0);
if (curr0 === C.LineCharProperty_0 || isCurrZWJ0) {
if (!t3) {
if (t2)
--regionalIndicatorCount;
lastNonNewlineIndex = index;
curr0 = curr;
continue;
}
curr0 = C.LineCharProperty_8;
}
if (isCurrZWJ) {
lastNonNewlineIndex = index;
continue;
}
if (curr0 === C.LineCharProperty_29 || curr === C.LineCharProperty_29) {
lastNonNewlineIndex = index;
continue;
}
if (curr === C.LineCharProperty_18) {
lastNonNewlineIndex = index;
continue;
}
if (!(!t4 || curr === C.LineCharProperty_1 || curr === C.LineCharProperty_14) && curr0 === C.LineCharProperty_18) {
lastNonNewlineIndex = index;
continue;
}
if (curr0 === C.LineCharProperty_17 || curr0 === C.LineCharProperty_12 || curr0 === C.LineCharProperty_6 || curr0 === C.LineCharProperty_13 || curr0 === C.LineCharProperty_15) {
lastNonNewlineIndex = index;
continue;
}
if (curr === C.LineCharProperty_11 || baseOfSpaceSequence === C.LineCharProperty_11) {
lastNonNewlineIndex = index;
continue;
}
t2 = curr !== C.LineCharProperty_7;
if ((!t2 || baseOfSpaceSequence === C.LineCharProperty_7) && curr0 === C.LineCharProperty_11) {
lastNonNewlineIndex = index;
continue;
}
t4 = curr !== C.LineCharProperty_17;
if ((!t4 || baseOfSpaceSequence === C.LineCharProperty_17 || curr === C.LineCharProperty_12 || baseOfSpaceSequence === C.LineCharProperty_12) && curr0 === C.LineCharProperty_24) {
lastNonNewlineIndex = index;
continue;
}
if ((curr === C.LineCharProperty_27 || baseOfSpaceSequence === C.LineCharProperty_27) && curr0 === C.LineCharProperty_27) {
lastNonNewlineIndex = index;
continue;
}
if (t3)
return new H.LineBreakResult(index, index, lastNonSpaceIndex, C.LineBreakType_0);
if (!t2 || curr0 === C.LineCharProperty_7) {
lastNonNewlineIndex = index;
continue;
}
if (curr === C.LineCharProperty_34 || curr0 === C.LineCharProperty_34)
return new H.LineBreakResult(index, index, lastNonSpaceIndex, C.LineBreakType_0);
if (curr0 === C.LineCharProperty_1 || curr0 === C.LineCharProperty_14 || curr0 === C.LineCharProperty_24 || curr === C.LineCharProperty_19) {
lastNonNewlineIndex = index;
continue;
}
if (prev1 === C.LineCharProperty_20)
t2 = curr === C.LineCharProperty_14 || curr === C.LineCharProperty_1;
else
t2 = false;
if (t2) {
lastNonNewlineIndex = index;
continue;
}
t2 = curr === C.LineCharProperty_15;
if (t2 && curr0 === C.LineCharProperty_20) {
lastNonNewlineIndex = index;
continue;
}
if (curr0 === C.LineCharProperty_28) {
lastNonNewlineIndex = index;
continue;
}
t3 = curr !== C.LineCharProperty_8;
if (!((!t3 || curr === C.LineCharProperty_20) && curr0 === C.LineCharProperty_16))
if (curr === C.LineCharProperty_16)
t5 = curr0 === C.LineCharProperty_8 || curr0 === C.LineCharProperty_20;
else
t5 = false;
else
t5 = true;
if (t5) {
lastNonNewlineIndex = index;
continue;
}
t5 = curr === C.LineCharProperty_9;
if (t5)
t6 = curr0 === C.LineCharProperty_30 || curr0 === C.LineCharProperty_31 || curr0 === C.LineCharProperty_36;
else
t6 = false;
if (t6) {
lastNonNewlineIndex = index;
continue;
}
if ((curr === C.LineCharProperty_30 || curr === C.LineCharProperty_31 || curr === C.LineCharProperty_36) && curr0 === C.LineCharProperty_10) {
lastNonNewlineIndex = index;
continue;
}
t6 = !t5;
if (!t6 || curr === C.LineCharProperty_10)
t7 = curr0 === C.LineCharProperty_8 || curr0 === C.LineCharProperty_20;
else
t7 = false;
if (t7) {
lastNonNewlineIndex = index;
continue;
}
if (!t3 || curr === C.LineCharProperty_20)
t7 = curr0 === C.LineCharProperty_9 || curr0 === C.LineCharProperty_10;
else
t7 = false;
if (t7) {
lastNonNewlineIndex = index;
continue;
}
if (!t4 || curr === C.LineCharProperty_12 || curr === C.LineCharProperty_16)
t4 = curr0 === C.LineCharProperty_10 || curr0 === C.LineCharProperty_9;
else
t4 = false;
if (t4) {
lastNonNewlineIndex = index;
continue;
}
t4 = curr !== C.LineCharProperty_10;
if ((!t4 || t5) && curr0 === C.LineCharProperty_11) {
lastNonNewlineIndex = index;
continue;
}
if ((!t4 || !t6 || curr === C.LineCharProperty_14 || curr === C.LineCharProperty_13 || curr === C.LineCharProperty_16 || t2) && curr0 === C.LineCharProperty_16) {
lastNonNewlineIndex = index;
continue;
}
t2 = curr === C.LineCharProperty_21;
if (t2)
t4 = curr0 === C.LineCharProperty_21 || curr0 === C.LineCharProperty_22 || curr0 === C.LineCharProperty_32 || curr0 === C.LineCharProperty_33;
else
t4 = false;
if (t4) {
lastNonNewlineIndex = index;
continue;
}
t4 = curr !== C.LineCharProperty_22;
if (!t4 || curr === C.LineCharProperty_32)
t6 = curr0 === C.LineCharProperty_22 || curr0 === C.LineCharProperty_23;
else
t6 = false;
if (t6) {
lastNonNewlineIndex = index;
continue;
}
t6 = curr !== C.LineCharProperty_23;
if ((!t6 || curr === C.LineCharProperty_33) && curr0 === C.LineCharProperty_23) {
lastNonNewlineIndex = index;
continue;
}
if ((t2 || !t4 || !t6 || curr === C.LineCharProperty_32 || curr === C.LineCharProperty_33) && curr0 === C.LineCharProperty_10) {
lastNonNewlineIndex = index;
continue;
}
if (t5)
t2 = curr0 === C.LineCharProperty_21 || curr0 === C.LineCharProperty_22 || curr0 === C.LineCharProperty_23 || curr0 === C.LineCharProperty_32 || curr0 === C.LineCharProperty_33;
else
t2 = false;
if (t2) {
lastNonNewlineIndex = index;
continue;
}
if (!t3 || curr === C.LineCharProperty_20)
t2 = curr0 === C.LineCharProperty_8 || curr0 === C.LineCharProperty_20;
else
t2 = false;
if (t2) {
lastNonNewlineIndex = index;
continue;
}
if (curr === C.LineCharProperty_13)
t2 = curr0 === C.LineCharProperty_8 || curr0 === C.LineCharProperty_20;
else
t2 = false;
if (t2) {
lastNonNewlineIndex = index;
continue;
}
if (!t3 || curr === C.LineCharProperty_20 || curr === C.LineCharProperty_16)
if (curr0 === C.LineCharProperty_11) {
t2 = C.JSString_methods.codeUnitAt$1(text, index);
if (t2 !== 9001)
if (!(t2 >= 12296 && t2 <= 12317))
t2 = t2 >= 65047 && t2 <= 65378;
else
t2 = true;
else
t2 = true;
t2 = !t2;
} else
t2 = false;
else
t2 = false;
if (t2) {
lastNonNewlineIndex = index;
continue;
}
if (curr === C.LineCharProperty_12) {
t2 = C.JSString_methods.codeUnitAt$1(text, index - 1);
if (t2 !== 9001)
if (!(t2 >= 12296 && t2 <= 12317))
t2 = t2 >= 65047 && t2 <= 65378;
else
t2 = true;
else
t2 = true;
if (!t2)
t2 = curr0 === C.LineCharProperty_8 || curr0 === C.LineCharProperty_20 || curr0 === C.LineCharProperty_16;
else
t2 = false;
} else
t2 = false;
if (t2) {
lastNonNewlineIndex = index;
continue;
}
if (curr0 === C.LineCharProperty_35)
if ((regionalIndicatorCount & 1) === 1) {
lastNonNewlineIndex = index;
continue;
} else
return new H.LineBreakResult(index, index, lastNonSpaceIndex, C.LineBreakType_0);
if (curr === C.LineCharProperty_31 && curr0 === C.LineCharProperty_36) {
lastNonNewlineIndex = index;
continue;
}
return new H.LineBreakResult(index, index, lastNonSpaceIndex, C.LineBreakType_0);
}
return new H.LineBreakResult(t1, lastNonNewlineIndex, lastNonSpaceIndex, C.LineBreakType_3);
},
_newlinePredicate: function(char) {
var prop = $.$get$lineLookup().findForChar$1(char);
return prop === C.LineCharProperty_3 || prop === C.LineCharProperty_2 || prop === C.LineCharProperty_4;
},
RulerHost$: function() {
var t1 = new H.RulerHost(W._ElementFactoryProvider_createElement_tag("flt-ruler-host", null));
t1.RulerHost$0();
return t1;
},
TextMeasurementService_forParagraph: function(paragraph) {
var style,
t1 = $.$get$window().get$physicalSize();
if (!t1.get$isEmpty(t1))
if ($.WebExperiments_instance._useCanvasText) {
style = paragraph._geometricStyle;
t1 = paragraph._plainText != null && style.decoration == null && style.wordSpacing == null;
} else
t1 = false;
else
t1 = false;
if (t1) {
t1 = $.CanvasTextMeasurementService__instance;
return t1 == null ? $.CanvasTextMeasurementService__instance = new H.CanvasTextMeasurementService(W.CanvasElement_CanvasElement(null, null).getContext("2d")) : t1;
}
t1 = $.DomTextMeasurementService__instance;
return t1 == null ? $.DomTextMeasurementService__instance = new H.DomTextMeasurementService() : t1;
},
DomTextMeasurementService__applySubPixelRoundingHack: function(minIntrinsicWidth, maxIntrinsicWidth) {
if (minIntrinsicWidth <= maxIntrinsicWidth)
return maxIntrinsicWidth;
if (minIntrinsicWidth - maxIntrinsicWidth < 2)
return minIntrinsicWidth;
throw H.wrapException(P.Exception_Exception("minIntrinsicWidth (" + H.S(minIntrinsicWidth) + ") is greater than maxIntrinsicWidth (" + H.S(maxIntrinsicWidth) + ")."));
},
_measureSubstring: function(_canvasContext, text, start, end, letterSpacing) {
var cssFont, width, t1;
if (start === end)
return 0;
cssFont = _canvasContext.font;
if (start === $._lastStart && end === $._lastEnd && text == $._lastText && cssFont == $._lastCssFont)
width = $._lastWidth;
else {
t1 = _canvasContext.measureText(start === 0 && end === text.length ? text : J.substring$2$s(text, start, end)).width;
t1.toString;
width = t1;
}
$._lastStart = start;
$._lastEnd = end;
$._lastText = text;
$._lastCssFont = cssFont;
$._lastWidth = width;
if (letterSpacing == null)
letterSpacing = 0;
return C.JSNumber_methods.round$0((letterSpacing !== 0 ? width + letterSpacing * (end - start) : width) * 100) / 100;
},
_excludeTrailing: function(text, start, end, predicate) {
while (true) {
if (!(start < end && predicate.call$1(C.JSString_methods.codeUnitAt$1(text, end - 1))))
break;
--end;
}
return end;
},
_calculateAlignOffsetForLine: function(lineWidth, maxWidth, paragraph) {
var emptySpace = maxWidth - lineWidth;
switch (paragraph._textAlign) {
case C.TextAlign_2:
return emptySpace / 2;
case C.TextAlign_1:
return emptySpace;
case C.TextAlign_4:
return paragraph._textDirection === C.TextDirection_0 ? emptySpace : 0;
case C.TextAlign_5:
return paragraph._textDirection === C.TextDirection_0 ? 0 : emptySpace;
default:
return 0;
}
},
EngineLineMetrics$withText: function(displayText, endIndex, endIndexWithoutNewlines, hardBreak, left, lineNumber, startIndex, width, widthWithTrailingSpaces) {
return new H.EngineLineMetrics(displayText, null, startIndex, endIndex, endIndexWithoutNewlines, null, hardBreak, 1 / 0, 1 / 0, 1 / 0, width, widthWithTrailingSpaces, left, 1 / 0, lineNumber);
},
EngineTextStyle$only: function(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontWeight, foreground, height, letterSpacing, locale, shadows, textBaseline, wordSpacing) {
var t1 = fontFamily == null,
t2 = t1 ? "" : fontFamily;
return new H.EngineTextStyle(color, decoration, decorationColor, decorationStyle, decorationThickness, fontWeight, fontStyle, textBaseline, !t1, t2, fontFamilyFallback, fontFeatures, fontSize, letterSpacing, wordSpacing, height, locale, background, foreground, shadows);
},
fontWeightToCss: function(fontWeight) {
if (fontWeight == null)
return null;
return H.fontWeightIndexToCss(fontWeight.index);
},
fontWeightIndexToCss: function(fontWeightIndex) {
switch (fontWeightIndex) {
case 0:
return "100";
case 1:
return "200";
case 2:
return "300";
case 3:
return "normal";
case 4:
return "500";
case 5:
return "600";
case 6:
return "bold";
case 7:
return "800";
case 8:
return "900";
}
return "";
},
_applyTextStyleToElement: function(element, isSpan, style) {
var t2, updateDecoration, t3, textDecoration, decorationColor, fontFeatures,
cssStyle = element.style,
t1 = style._foreground,
color = t1 == null ? null : t1.get$color(t1);
if (color == null)
color = style.__engine$_color;
if (color != null) {
t1 = H.colorToCssString(color);
cssStyle.toString;
cssStyle.color = t1 == null ? "" : t1;
}
t1 = style.__engine$_height;
if (t1 != null) {
t1 = H.S(t1);
cssStyle.lineHeight = t1;
}
t1 = style.__engine$_fontSize;
if (t1 != null) {
t1 = "" + C.JSNumber_methods.floor$0(t1) + "px";
cssStyle.fontSize = t1;
}
t1 = style._fontWeight;
if (t1 != null) {
t1 = H.fontWeightToCss(t1);
cssStyle.toString;
cssStyle.fontWeight = t1 == null ? "" : t1;
}
t1 = style._fontStyle;
if (t1 != null) {
t1 = t1 === C.FontStyle_0 ? "normal" : "italic";
cssStyle.fontStyle = t1;
}
if (isSpan && true) {
t1 = H.canonicalizeFontFamily(style._fontFamily);
cssStyle.toString;
cssStyle.fontFamily = t1 == null ? "" : t1;
} else {
t1 = H.canonicalizeFontFamily(style.get$_effectiveFontFamily());
cssStyle.toString;
cssStyle.fontFamily = t1 == null ? "" : t1;
}
t1 = style._letterSpacing;
if (t1 != null) {
t1 = H.S(t1) + "px";
cssStyle.letterSpacing = t1;
}
t1 = style._wordSpacing;
if (t1 != null) {
t1 = H.S(t1) + "px";
cssStyle.wordSpacing = t1;
}
t1 = style._decoration;
t2 = t1 != null;
updateDecoration = t2 && true;
t3 = style._shadows;
if (t3 != null) {
t3 = H._shadowListToCss(t3);
C.CssStyleDeclaration_methods._setPropertyHelper$3(cssStyle, (cssStyle && C.CssStyleDeclaration_methods)._browserPropertyName$1(cssStyle, "text-shadow"), t3, "");
}
if (updateDecoration)
if (t2) {
textDecoration = H._textDecorationToCssString(t1, style._decorationStyle);
if (textDecoration != null) {
t1 = H._browserEngine();
if (t1 === C.BrowserEngine_1)
H.DomRenderer_setElementStyle(element, "-webkit-text-decoration", textDecoration);
else
cssStyle.textDecoration = textDecoration;
decorationColor = style._decorationColor;
if (decorationColor != null) {
t1 = H.colorToCssString(decorationColor);
t1.toString;
C.CssStyleDeclaration_methods._setPropertyHelper$3(cssStyle, (cssStyle && C.CssStyleDeclaration_methods)._browserPropertyName$1(cssStyle, "text-decoration-color"), t1, "");
}
}
}
fontFeatures = style._fontFeatures;
if (fontFeatures != null && true) {
t1 = H._fontFeatureListToCss(fontFeatures);
C.CssStyleDeclaration_methods._setPropertyHelper$3(cssStyle, (cssStyle && C.CssStyleDeclaration_methods)._browserPropertyName$1(cssStyle, "font-feature-settings"), t1, "");
}
},
_createPlaceholderElement: function(placeholder) {
var style, t1,
element = $.$get$domRenderer().createElement$1(0, "span");
element.className = "paragraph-placeholder";
style = element.style;
style.display = "inline-block";
t1 = H.S(placeholder.get$width(placeholder)) + "px";
style.width = t1;
t1 = H.S(placeholder.get$height(placeholder)) + "px";
style.height = t1;
t1 = H._placeholderAlignmentToCssVerticalAlign(placeholder);
style.verticalAlign = t1;
return element;
},
_placeholderAlignmentToCssVerticalAlign: function(placeholder) {
switch (placeholder.get$alignment()) {
case C.PlaceholderAlignment_3:
return "top";
case C.PlaceholderAlignment_5:
return "middle";
case C.PlaceholderAlignment_4:
return "bottom";
case C.PlaceholderAlignment_1:
return "baseline";
case C.PlaceholderAlignment_2:
return "-" + H.S(placeholder.get$height(placeholder)) + "px";
case C.PlaceholderAlignment_0:
return H.S(placeholder.get$baselineOffset().$sub(0, placeholder.get$height(placeholder))) + "px";
default:
throw H.wrapException(H.ReachabilityError$(string$.x60null_c));
}
},
_shadowListToCss: function(shadows) {
var i, t1, shadow, t2;
shadows.toString;
for (i = 0, t1 = ""; i < 1; ++i, t1 = t2) {
shadow = shadows[i];
t2 = shadow.offset;
t2 = t1 + (H.S(t2._dx) + "px " + H.S(t2._dy) + "px " + H.S(shadow.blurRadius) + "px " + H.S(H.colorToCssString(shadow.color)));
}
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_fontFeatureListToCss: function(fontFeatures) {
var i, t1;
for (i = 0, t1 = ""; i < 1; ++i)
t1 += '"tnum" 1';
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_applyTextBackgroundToElement: function(element, style) {
var newBackground = style._background;
if (newBackground != null)
H.DomRenderer_setElementStyle(element, "background-color", H.colorToCssString(newBackground.get$color(newBackground)));
},
_textDecorationToCssString: function(decoration, decorationStyle) {
var t1, t2;
if (decoration != null) {
t1 = decoration._mask;
t2 = (t1 | 1) === t1 ? "underline " : "";
if ((t1 | 2) === t1)
t2 += "overline ";
t1 = (t1 | 4) === t1 ? t2 + "line-through " : t2;
} else
t1 = "";
if (decorationStyle != null)
t1 += H.S(H._decorationStyleToCssString(decorationStyle));
return t1.length === 0 ? null : t1.charCodeAt(0) == 0 ? t1 : t1;
},
_decorationStyleToCssString: function(decorationStyle) {
switch (decorationStyle) {
case C.TextDecorationStyle_3:
return "dashed";
case C.TextDecorationStyle_2:
return "dotted";
case C.TextDecorationStyle_1:
return "double";
case C.TextDecorationStyle_0:
return "solid";
case C.TextDecorationStyle_4:
return "wavy";
default:
return null;
}
},
_textDirectionToCss: function(textDirection) {
if (textDirection == null)
return null;
return H.textDirectionIndexToCss(textDirection.index);
},
textDirectionIndexToCss: function(textDirectionIndex) {
switch (textDirectionIndex) {
case 0:
return "rtl";
case 1:
return null;
}
return null;
},
textAlignToCssValue: function(align, textDirection) {
var _s80_ = string$.x60null_c;
switch (align) {
case C.TextAlign_0:
return "left";
case C.TextAlign_1:
return "right";
case C.TextAlign_2:
return "center";
case C.TextAlign_3:
return "justify";
case C.TextAlign_5:
switch (textDirection) {
case C.TextDirection_1:
return "end";
case C.TextDirection_0:
return "left";
default:
throw H.wrapException(H.ReachabilityError$(_s80_));
}
case C.TextAlign_4:
switch (textDirection) {
case C.TextDirection_1:
return "";
case C.TextDirection_0:
return "right";
default:
throw H.wrapException(H.ReachabilityError$(_s80_));
}
case null:
return "";
default:
throw H.wrapException(H.ReachabilityError$(_s80_));
}
},
_listEquals: function(a, b) {
var index;
if (a == null)
return b == null;
if (b == null || a.length !== b.length)
return false;
for (index = 0; index < a.length; ++index)
if (!J.$eq$(a[index], b[index]))
return false;
return true;
},
_buildCssFontString: function(fontFamily, fontSize, fontStyle, fontWeight) {
var t1;
if (fontStyle != null)
t1 = fontStyle === C.FontStyle_0 ? "normal" : "italic";
else
t1 = "normal";
t1 += " ";
t1 = (fontWeight != null ? t1 + H.S(H.fontWeightToCss(fontWeight)) : t1 + "normal") + " ";
t1 = (fontSize != null ? t1 + C.JSNumber_methods.floor$0(fontSize) : t1 + "14") + "px " + H.S(H.canonicalizeFontFamily(fontFamily));
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
TextHeightRuler$: function(textHeightStyle, rulerHost) {
return new H.TextHeightRuler(textHeightStyle, rulerHost, new H.TextDimensions(document.createElement("p")));
},
MeasurementResult$: function(constraintWidth, alphabeticBaseline, height, ideographicBaseline, isSingleLine, lineHeight, lines, maxIntrinsicWidth, minIntrinsicWidth, naturalHeight, placeholderBoxes, textAlign, textDirection, width) {
return new H.MeasurementResult(constraintWidth, isSingleLine, width, height, naturalHeight, lineHeight, minIntrinsicWidth, maxIntrinsicWidth, alphabeticBaseline, ideographicBaseline, lines, placeholderBoxes, textAlign, textDirection);
},
getCodePoint: function(text, index) {
var char;
if (index < 0 || index >= text.length)
return null;
char = J.codeUnitAt$1$s(text, index);
if ((char & 63488) === 55296 && index < text.length - 1)
return (char >>> 6 & 31) + 1 << 16 | (char & 63) << 10 | C.JSString_methods.codeUnitAt$1(text, index + 1) & 1023;
return char;
},
UnicodePropertyLookup_UnicodePropertyLookup$fromPackedData: function(packedData, singleRangesCount, propertyEnumValues, defaultProperty, $P) {
return new H.UnicodePropertyLookup(H._unpackProperties(packedData, singleRangesCount, propertyEnumValues, $P), defaultProperty, P.LinkedHashMap_LinkedHashMap$_empty(type$.int, $P), $P._eval$1("UnicodePropertyLookup<0>"));
},
_unpackProperties: function(packedData, singleRangesCount, propertyEnumValues, $P) {
var t1, i, rangeStart, rangeEnd, i0,
ranges = H.setRuntimeTypeInfo([], $P._eval$1("JSArray>")),
dataLength = packedData.length;
for (t1 = $P._eval$1("UnicodeRange<0>"), i = 0; i < dataLength; i = i0) {
rangeStart = H._consumeInt(packedData, i);
i += 4;
if (C.JSString_methods._codeUnitAt$1(packedData, i) === 33) {
++i;
rangeEnd = rangeStart;
} else {
rangeEnd = H._consumeInt(packedData, i);
i += 4;
}
i0 = i + 1;
ranges.push(new H.UnicodeRange(rangeStart, rangeEnd, propertyEnumValues[H._getEnumIndexFromPackedValue(C.JSString_methods._codeUnitAt$1(packedData, i))], t1));
}
return ranges;
},
_getEnumIndexFromPackedValue: function(charCode) {
if (charCode <= 90)
return charCode - 65;
return 26 + charCode - 97;
},
_consumeInt: function(packedData, index) {
return H._getIntFromCharCode(C.JSString_methods._codeUnitAt$1(packedData, index + 3)) + H._getIntFromCharCode(C.JSString_methods._codeUnitAt$1(packedData, index + 2)) * 36 + H._getIntFromCharCode(C.JSString_methods._codeUnitAt$1(packedData, index + 1)) * 36 * 36 + H._getIntFromCharCode(C.JSString_methods._codeUnitAt$1(packedData, index)) * 36 * 36 * 36;
},
_getIntFromCharCode: function(charCode) {
if (charCode <= 57)
return charCode - 48;
return charCode - 97 + 10;
},
WordBreaker__findBreakIndex: function(direction, text, index) {
var t1 = direction.step,
t2 = text.length,
i = index;
while (true) {
if (!(i >= 0 && i <= t2))
break;
i += t1;
if (H.WordBreaker__isBreak(text, i))
break;
}
return H.clampInt(i, 0, t2);
},
WordBreaker__isBreak: function(text, index) {
var t1, immediateRight, immediateLeft, l, t2, codePoint, r, nextRight, nextLeft, _null = null;
if (index <= 0 || index >= text.length)
return true;
t1 = index - 1;
if ((C.JSString_methods.codeUnitAt$1(text, t1) & 63488) === 55296)
return false;
immediateRight = $.$get$wordLookup().find$2(0, text, index);
immediateLeft = $.$get$wordLookup().find$2(0, text, t1);
if (immediateLeft === C.WordCharProperty_3 && immediateRight === C.WordCharProperty_4)
return false;
if (H.WordBreaker__oneOf(immediateLeft, C.WordCharProperty_5, C.WordCharProperty_3, C.WordCharProperty_4, _null, _null))
return true;
if (H.WordBreaker__oneOf(immediateRight, C.WordCharProperty_5, C.WordCharProperty_3, C.WordCharProperty_4, _null, _null))
return true;
if (immediateLeft === C.WordCharProperty_17 && immediateRight === C.WordCharProperty_17)
return false;
if (H.WordBreaker__oneOf(immediateRight, C.WordCharProperty_6, C.WordCharProperty_8, C.WordCharProperty_16, _null, _null))
return false;
for (l = 0; H.WordBreaker__oneOf(immediateLeft, C.WordCharProperty_6, C.WordCharProperty_8, C.WordCharProperty_16, _null, _null);) {
++l;
t1 = index - l - 1;
if (t1 < 0)
return true;
t2 = $.$get$wordLookup();
t2.toString;
codePoint = H.getCodePoint(text, t1);
immediateLeft = codePoint == null ? t2.defaultProperty : t2.findForChar$1(codePoint);
}
if (H.WordBreaker__oneOf(immediateLeft, C.WordCharProperty_10, C.WordCharProperty_2, _null, _null, _null) && H.WordBreaker__oneOf(immediateRight, C.WordCharProperty_10, C.WordCharProperty_2, _null, _null, _null))
return false;
r = 0;
do {
++r;
nextRight = $.$get$wordLookup().find$2(0, text, index + r);
} while (H.WordBreaker__oneOf(nextRight, C.WordCharProperty_6, C.WordCharProperty_8, C.WordCharProperty_16, _null, _null));
do {
++l;
nextLeft = $.$get$wordLookup().find$2(0, text, index - l - 1);
} while (H.WordBreaker__oneOf(nextLeft, C.WordCharProperty_6, C.WordCharProperty_8, C.WordCharProperty_16, _null, _null));
if (H.WordBreaker__oneOf(immediateLeft, C.WordCharProperty_10, C.WordCharProperty_2, _null, _null, _null) && H.WordBreaker__oneOf(immediateRight, C.WordCharProperty_11, C.WordCharProperty_13, C.WordCharProperty_1, _null, _null) && H.WordBreaker__oneOf(nextRight, C.WordCharProperty_10, C.WordCharProperty_2, _null, _null, _null))
return false;
if (H.WordBreaker__oneOf(nextLeft, C.WordCharProperty_10, C.WordCharProperty_2, _null, _null, _null) && H.WordBreaker__oneOf(immediateLeft, C.WordCharProperty_11, C.WordCharProperty_13, C.WordCharProperty_1, _null, _null) && H.WordBreaker__oneOf(immediateRight, C.WordCharProperty_10, C.WordCharProperty_2, _null, _null, _null))
return false;
t1 = immediateLeft === C.WordCharProperty_2;
if (t1 && immediateRight === C.WordCharProperty_1)
return false;
if (t1 && immediateRight === C.WordCharProperty_0 && nextRight === C.WordCharProperty_2)
return false;
if (nextLeft === C.WordCharProperty_2 && immediateLeft === C.WordCharProperty_0 && immediateRight === C.WordCharProperty_2)
return false;
t1 = immediateLeft === C.WordCharProperty_14;
if (t1 && immediateRight === C.WordCharProperty_14)
return false;
if (H.WordBreaker__oneOf(immediateLeft, C.WordCharProperty_10, C.WordCharProperty_2, _null, _null, _null) && immediateRight === C.WordCharProperty_14)
return false;
if (t1 && H.WordBreaker__oneOf(immediateRight, C.WordCharProperty_10, C.WordCharProperty_2, _null, _null, _null))
return false;
if (nextLeft === C.WordCharProperty_14 && H.WordBreaker__oneOf(immediateLeft, C.WordCharProperty_12, C.WordCharProperty_13, C.WordCharProperty_1, _null, _null) && immediateRight === C.WordCharProperty_14)
return false;
if (t1 && H.WordBreaker__oneOf(immediateRight, C.WordCharProperty_12, C.WordCharProperty_13, C.WordCharProperty_1, _null, _null) && nextRight === C.WordCharProperty_14)
return false;
if (immediateLeft === C.WordCharProperty_9 && immediateRight === C.WordCharProperty_9)
return false;
if (H.WordBreaker__oneOf(immediateLeft, C.WordCharProperty_10, C.WordCharProperty_2, C.WordCharProperty_14, C.WordCharProperty_9, C.WordCharProperty_15) && immediateRight === C.WordCharProperty_15)
return false;
if (immediateLeft === C.WordCharProperty_15 && H.WordBreaker__oneOf(immediateRight, C.WordCharProperty_10, C.WordCharProperty_2, C.WordCharProperty_14, C.WordCharProperty_9, _null))
return false;
return true;
},
WordBreaker__oneOf: function(value, choice1, choice2, choice3, choice4, choice5) {
if (value === choice1)
return true;
if (value === choice2)
return true;
if (choice3 != null && value === choice3)
return true;
if (choice4 != null && value === choice4)
return true;
if (choice5 != null && value === choice5)
return true;
return false;
},
EngineInputType_fromName: function($name, isDecimal) {
switch ($name) {
case "TextInputType.number":
return isDecimal ? C.C_DecimalInputType : C.C_NumberInputType;
case "TextInputType.phone":
return C.C_PhoneInputType;
case "TextInputType.emailAddress":
return C.C_EmailInputType;
case "TextInputType.url":
return C.C_UrlInputType;
case "TextInputType.multiline":
return C.C_MultilineInputType;
case "TextInputType.text":
default:
return C.C_TextInputType;
}
},
TextCapitalizationConfig$fromInputConfiguration: function(inputConfiguration) {
var t1;
if (inputConfiguration === "TextCapitalization.words")
t1 = C.TextCapitalization_0;
else if (inputConfiguration === "TextCapitalization.characters")
t1 = C.TextCapitalization_2;
else
t1 = inputConfiguration === "TextCapitalization.sentences" ? C.TextCapitalization_1 : C.TextCapitalization_30;
return new H.TextCapitalizationConfig(t1);
},
_emptyCallback: function(_) {
},
_hideAutofillElements: function(domElement, isOffScreen) {
var t1,
_s11_ = "transparent",
_s4_ = "none",
elementStyle = domElement.style;
elementStyle.whiteSpace = "pre-wrap";
C.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, C.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "align-content"), "center", "");
elementStyle.padding = "0";
C.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, C.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "opacity"), "1", "");
elementStyle.color = _s11_;
elementStyle.backgroundColor = _s11_;
elementStyle.background = _s11_;
elementStyle.outline = _s4_;
elementStyle.border = _s4_;
C.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, C.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "resize"), _s4_, "");
elementStyle.width = "0";
elementStyle.height = "0";
C.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, C.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "text-shadow"), _s11_, "");
C.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, C.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "transform-origin"), "0 0 0", "");
if (isOffScreen) {
elementStyle.top = "-9999px";
elementStyle.left = "-9999px";
}
t1 = H._browserEngine();
if (t1 !== C.BrowserEngine_0) {
t1 = H._browserEngine();
if (t1 !== C.BrowserEngine_5) {
t1 = H._browserEngine();
t1 = t1 === C.BrowserEngine_1;
} else
t1 = true;
} else
t1 = true;
if (t1)
domElement.classList.add("transparentTextEditing");
C.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, C.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "caret-color"), _s11_, null);
},
EngineAutofillForm_fromFrameworkMessage: function(focusedElementAutofill, fields) {
var t1, elements, items, formElement, ids, focusedElement, t2, t3, t4, autofillInfo, t5, autofill, htmlElement, _i, id, formIdentifier, form, submitButton;
if (focusedElementAutofill == null)
return null;
t1 = type$.String;
elements = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.HtmlElement);
items = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AutofillInfo);
formElement = document.createElement("form");
formElement.noValidate = true;
formElement.method = "post";
formElement.action = "#";
C.FormElement_methods.addEventListener$2(formElement, "submit", new H.EngineAutofillForm_fromFrameworkMessage_closure());
H._hideAutofillElements(formElement, false);
ids = J.JSArray_JSArray$growable(0, t1);
focusedElement = H.AutofillInfo_AutofillInfo$fromFrameworkMessage(focusedElementAutofill, C.TextCapitalizationConfig_TextCapitalization_3);
if (fields != null)
for (t1 = J.cast$1$0$ax(fields, type$.Map_String_dynamic), t1 = t1.get$iterator(t1), t2 = focusedElement.uniqueIdentifier; t1.moveNext$0();) {
t3 = t1.get$current(t1);
t4 = J.getInterceptor$asx(t3);
autofillInfo = t4.$index(t3, "autofill");
t5 = t4.$index(t3, "textCapitalization");
if (t5 === "TextCapitalization.words")
t5 = C.TextCapitalization_0;
else if (t5 === "TextCapitalization.characters")
t5 = C.TextCapitalization_2;
else
t5 = t5 === "TextCapitalization.sentences" ? C.TextCapitalization_1 : C.TextCapitalization_30;
autofill = H.AutofillInfo_AutofillInfo$fromFrameworkMessage(autofillInfo, new H.TextCapitalizationConfig(t5));
t5 = autofill.uniqueIdentifier;
ids.push(t5);
if (t5 != t2) {
htmlElement = H.EngineInputType_fromName(J.$index$asx(t4.$index(t3, "inputType"), "name"), false).createDomElement$0();
autofill.editingState.applyToDomElement$1(htmlElement);
autofill.applyToDomElement$1(htmlElement);
H._hideAutofillElements(htmlElement, false);
items.$indexSet(0, t5, autofill);
elements.$indexSet(0, t5, htmlElement);
formElement.appendChild(htmlElement);
}
}
else
ids.push(focusedElement.uniqueIdentifier);
C.JSArray_methods.sort$0(ids);
for (t1 = ids.length, _i = 0, t2 = ""; _i < ids.length; ids.length === t1 || (0, H.throwConcurrentModificationError)(ids), ++_i) {
id = ids[_i];
if (t2.length > 0)
t2 += "*";
t2 += H.S(id);
}
formIdentifier = t2.charCodeAt(0) == 0 ? t2 : t2;
form = $.$get$formsOnTheDom().$index(0, formIdentifier);
if (form != null)
C.FormElement_methods.remove$0(form);
submitButton = W.InputElement_InputElement(null);
H._hideAutofillElements(submitButton, true);
submitButton.className = "submitBtn";
submitButton.type = "submit";
formElement.appendChild(submitButton);
return new H.EngineAutofillForm(formElement, elements, items, formIdentifier);
},
AutofillInfo_AutofillInfo$fromFrameworkMessage: function(autofill, textCapitalization) {
var hintsList, editingState, t3,
t1 = J.getInterceptor$asx(autofill),
t2 = t1.$index(autofill, "uniqueIdentifier");
t2.toString;
hintsList = t1.$index(autofill, "hints");
editingState = H.EditingState_EditingState$fromFrameworkMessage(t1.$index(autofill, "editingValue"));
t1 = $.$get$BrowserAutofillHints__singletonInstance();
t3 = J.$index$asx(hintsList, 0);
t1 = t1._flutterToEngineMap.$index(0, t3);
return new H.AutofillInfo(editingState, t2, textCapitalization, t1 == null ? t3 : t1);
},
EditingState$: function(baseOffset, extentOffset, text) {
var t1 = baseOffset == null,
t2 = t1 ? 0 : baseOffset,
t3 = extentOffset == null,
t4 = t3 ? 0 : extentOffset;
t4 = Math.max(0, Math.min(t2, t4));
t1 = t1 ? 0 : baseOffset;
t2 = t3 ? 0 : extentOffset;
return new H.EditingState(text, t4, Math.max(0, Math.max(t1, t2)));
},
EditingState_EditingState$fromFrameworkMessage: function(flutterEditingState) {
var t1 = J.getInterceptor$asx(flutterEditingState);
return H.EditingState$(t1.$index(flutterEditingState, "selectionBase"), t1.$index(flutterEditingState, "selectionExtent"), t1.$index(flutterEditingState, "text"));
},
EditingState_EditingState$fromDomElement: function(domElement, textCapitalization) {
var t1;
if (type$.InputElement._is(domElement)) {
t1 = domElement.value;
return H.EditingState$(domElement.selectionStart, domElement.selectionEnd, t1);
} else if (type$.TextAreaElement._is(domElement)) {
t1 = domElement.value;
return H.EditingState$(domElement.selectionStart, domElement.selectionEnd, t1);
} else
throw H.wrapException(P.UnsupportedError$("Initialized with unsupported input type"));
},
InputConfiguration$fromFrameworkMessage: function(flutterInputConfiguration) {
var t4, t5, t6, t7, t8,
_s9_ = "inputType",
_s8_ = "autofill",
t1 = J.getInterceptor$asx(flutterInputConfiguration),
t2 = J.$index$asx(t1.$index(flutterInputConfiguration, _s9_), "name"),
t3 = J.$index$asx(t1.$index(flutterInputConfiguration, _s9_), "decimal");
t2 = H.EngineInputType_fromName(t2, t3 == null ? false : t3);
t3 = t1.$index(flutterInputConfiguration, "inputAction");
if (t3 == null)
t3 = "TextInputAction.done";
t4 = t1.$index(flutterInputConfiguration, "obscureText");
if (t4 == null)
t4 = false;
t5 = t1.$index(flutterInputConfiguration, "readOnly");
if (t5 == null)
t5 = false;
t6 = t1.$index(flutterInputConfiguration, "autocorrect");
if (t6 == null)
t6 = true;
t7 = H.TextCapitalizationConfig$fromInputConfiguration(t1.$index(flutterInputConfiguration, "textCapitalization"));
t8 = t1.containsKey$1(flutterInputConfiguration, _s8_) ? H.AutofillInfo_AutofillInfo$fromFrameworkMessage(t1.$index(flutterInputConfiguration, _s8_), C.TextCapitalizationConfig_TextCapitalization_3) : null;
return new H.InputConfiguration(t2, t3, t5, t4, t6, t8, H.EngineAutofillForm_fromFrameworkMessage(t1.$index(flutterInputConfiguration, _s8_), t1.$index(flutterInputConfiguration, "fields")), t7);
},
saveForms: function() {
$.$get$formsOnTheDom().forEach$1(0, new H.saveForms_closure());
},
cleanForms: function() {
var t1, t2, t3;
for (t1 = $.$get$formsOnTheDom(), t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
t2 = t1.get$current(t1);
t3 = t2.parentNode;
if (t3 != null)
t3.removeChild(t2);
}
$.$get$formsOnTheDom().clear$0(0);
},
setElementTransform: function(element, matrix4) {
var t2,
t1 = element.style;
t1.toString;
C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform-origin"), "0 0 0", "");
t2 = H.float64ListToCssTransform(matrix4);
C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), t2, "");
},
float64ListToCssTransform: function(matrix) {
var transformKind = H.transformKindOf(matrix);
if (transformKind === C.TransformKind_1)
return "matrix(" + H.S(matrix[0]) + "," + H.S(matrix[1]) + "," + H.S(matrix[4]) + "," + H.S(matrix[5]) + "," + H.S(matrix[12]) + "," + H.S(matrix[13]) + ")";
else if (transformKind === C.TransformKind_2)
return H.float64ListToCssTransform3d(matrix);
else
return "none";
},
transformKindOf: function(matrix) {
if (!(matrix[15] === 1 && matrix[14] === 0 && matrix[11] === 0 && matrix[10] === 1 && matrix[9] === 0 && matrix[8] === 0 && matrix[7] === 0 && matrix[6] === 0 && matrix[3] === 0 && matrix[2] === 0))
return C.TransformKind_2;
if (matrix[0] === 1 && matrix[1] === 0 && matrix[4] === 0 && matrix[5] === 1 && matrix[12] === 0 && matrix[13] === 0)
return C.TransformKind_0;
else
return C.TransformKind_1;
},
float64ListToCssTransform3d: function(matrix) {
var tx, ty,
t1 = matrix[0];
if (t1 === 1 && matrix[1] === 0 && matrix[2] === 0 && matrix[3] === 0 && matrix[4] === 0 && matrix[5] === 1 && matrix[6] === 0 && matrix[7] === 0 && matrix[8] === 0 && matrix[9] === 0 && matrix[10] === 1 && matrix[11] === 0 && matrix[14] === 0 && matrix[15] === 1) {
tx = matrix[12];
ty = matrix[13];
return "translate3d(" + H.S(tx) + "px, " + H.S(ty) + "px, 0px)";
} else
return "matrix3d(" + H.S(t1) + "," + H.S(matrix[1]) + "," + H.S(matrix[2]) + "," + H.S(matrix[3]) + "," + H.S(matrix[4]) + "," + H.S(matrix[5]) + "," + H.S(matrix[6]) + "," + H.S(matrix[7]) + "," + H.S(matrix[8]) + "," + H.S(matrix[9]) + "," + H.S(matrix[10]) + "," + H.S(matrix[11]) + "," + H.S(matrix[12]) + "," + H.S(matrix[13]) + "," + H.S(matrix[14]) + "," + H.S(matrix[15]) + ")";
},
transformRect: function(transform, rect) {
var t1 = $.$get$_tempRectData();
t1[0] = rect.left;
t1[1] = rect.top;
t1[2] = rect.right;
t1[3] = rect.bottom;
H.transformLTRB(transform, t1);
return new P.Rect(t1[0], t1[1], t1[2], t1[3]);
},
transformLTRB: function(transform, ltrb) {
var t2, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33, argStorage, w,
t1 = $.$get$_tempPointData();
t1[0] = ltrb[0];
t1[4] = ltrb[1];
t1[8] = 0;
t1[12] = 1;
t1[1] = ltrb[2];
t1[5] = ltrb[1];
t1[9] = 0;
t1[13] = 1;
t1[2] = ltrb[0];
t1[6] = ltrb[3];
t1[10] = 0;
t1[14] = 1;
t1[3] = ltrb[2];
t1[7] = ltrb[3];
t1[11] = 0;
t1[15] = 1;
t2 = $.$get$_tempPointMatrix().__engine$_m4storage;
m00 = t2[0];
m01 = t2[4];
m02 = t2[8];
m03 = t2[12];
m10 = t2[1];
m11 = t2[5];
m12 = t2[9];
m13 = t2[13];
m20 = t2[2];
m21 = t2[6];
m22 = t2[10];
m23 = t2[14];
m30 = t2[3];
m31 = t2[7];
m32 = t2[11];
m33 = t2[15];
argStorage = transform.__engine$_m4storage;
t2[0] = m00 * argStorage[0] + m01 * argStorage[4] + m02 * argStorage[8] + m03 * argStorage[12];
t2[4] = m00 * argStorage[1] + m01 * argStorage[5] + m02 * argStorage[9] + m03 * argStorage[13];
t2[8] = m00 * argStorage[2] + m01 * argStorage[6] + m02 * argStorage[10] + m03 * argStorage[14];
t2[12] = m00 * argStorage[3] + m01 * argStorage[7] + m02 * argStorage[11] + m03 * argStorage[15];
t2[1] = m10 * argStorage[0] + m11 * argStorage[4] + m12 * argStorage[8] + m13 * argStorage[12];
t2[5] = m10 * argStorage[1] + m11 * argStorage[5] + m12 * argStorage[9] + m13 * argStorage[13];
t2[9] = m10 * argStorage[2] + m11 * argStorage[6] + m12 * argStorage[10] + m13 * argStorage[14];
t2[13] = m10 * argStorage[3] + m11 * argStorage[7] + m12 * argStorage[11] + m13 * argStorage[15];
t2[2] = m20 * argStorage[0] + m21 * argStorage[4] + m22 * argStorage[8] + m23 * argStorage[12];
t2[6] = m20 * argStorage[1] + m21 * argStorage[5] + m22 * argStorage[9] + m23 * argStorage[13];
t2[10] = m20 * argStorage[2] + m21 * argStorage[6] + m22 * argStorage[10] + m23 * argStorage[14];
t2[14] = m20 * argStorage[3] + m21 * argStorage[7] + m22 * argStorage[11] + m23 * argStorage[15];
t2[3] = m30 * argStorage[0] + m31 * argStorage[4] + m32 * argStorage[8] + m33 * argStorage[12];
t2[7] = m30 * argStorage[1] + m31 * argStorage[5] + m32 * argStorage[9] + m33 * argStorage[13];
t2[11] = m30 * argStorage[2] + m31 * argStorage[6] + m32 * argStorage[10] + m33 * argStorage[14];
t2[15] = m30 * argStorage[3] + m31 * argStorage[7] + m32 * argStorage[11] + m33 * argStorage[15];
w = argStorage[15];
if (w === 0)
w = 1;
ltrb[0] = Math.min(Math.min(Math.min(t1[0], t1[1]), t1[2]), t1[3]) / w;
ltrb[1] = Math.min(Math.min(Math.min(t1[4], t1[5]), t1[6]), t1[7]) / w;
ltrb[2] = Math.max(Math.max(Math.max(t1[0], t1[1]), t1[2]), t1[3]) / w;
ltrb[3] = Math.max(Math.max(Math.max(t1[4], t1[5]), t1[6]), t1[7]) / w;
},
rectContainsOther: function(rect, other) {
return rect.left <= other.left && rect.top <= other.top && rect.right >= other.right && rect.bottom >= other.bottom;
},
_pathToSvgClipPath: function(path, offsetX, offsetY, scaleX, scaleY) {
var sb, clipId,
_s58_ = '>> 0 === 4278190080) {
hexValue = C.JSInt_methods.toRadixString$1(value & 16777215, 16);
switch (hexValue.length) {
case 1:
return "#00000" + hexValue;
case 2:
return "#0000" + hexValue;
case 3:
return "#000" + hexValue;
case 4:
return "#00" + hexValue;
case 5:
return "#0" + hexValue;
default:
return "#" + hexValue;
}
} else {
t1 = "rgba(" + C.JSInt_methods.toString$0(value >>> 16 & 255) + "," + C.JSInt_methods.toString$0(value >>> 8 & 255) + "," + C.JSInt_methods.toString$0(value & 255) + "," + C.JSNumber_methods.toString$0((value >>> 24 & 255) / 255) + ")";
return t1.charCodeAt(0) == 0 ? t1 : t1;
}
},
colorComponentsToCssString: function(r, g, b, a) {
if (a === 255)
return "rgb(" + r + "," + g + "," + b + ")";
else
return "rgba(" + r + "," + g + "," + b + "," + C.JSNumber_methods.toStringAsFixed$1(a / 255, 2) + ")";
},
isMacOrIOS: function() {
var t1 = H._operatingSystem();
if (t1 !== C.OperatingSystem_0) {
t1 = H._operatingSystem();
t1 = t1 === C.OperatingSystem_4;
} else
t1 = true;
return t1;
},
canonicalizeFontFamily: function(fontFamily) {
var t1;
if (J.containsKey$1$x(C.Set_wIvsi._collection$_map, fontFamily))
return fontFamily;
t1 = H._operatingSystem();
if (t1 !== C.OperatingSystem_0) {
t1 = H._operatingSystem();
t1 = t1 === C.OperatingSystem_4;
} else
t1 = true;
if (t1)
if (fontFamily === ".SF Pro Text" || fontFamily === ".SF Pro Display" || fontFamily === ".SF UI Text" || fontFamily === ".SF UI Display")
return $.$get$_fallbackFontFamily();
return '"' + H.S(fontFamily) + '", ' + $.$get$_fallbackFontFamily() + ", sans-serif";
},
clampInt: function(value, min, max) {
if (value < min)
return min;
else if (value > max)
return max;
else
return value;
},
Matrix4_tryInvert0: function(other) {
var r = new H.Matrix40(new Float32Array(16));
if (r.copyInverse$1(other) === 0)
return null;
return r;
},
Matrix4$identity: function() {
var t1 = new Float32Array(16);
t1[15] = 1;
t1[0] = 1;
t1[5] = 1;
t1[10] = 1;
return new H.Matrix40(t1);
},
Matrix4$fromFloat32List: function(_m4storage) {
return new H.Matrix40(_m4storage);
},
Vector3_Vector3: function(x, y, z) {
var t1 = new Float32Array(3);
t1[0] = x;
t1[1] = y;
t1[2] = z;
return new H.Vector30(t1);
},
WebExperiments$_: function() {
var t1 = new H.WebExperiments();
t1.WebExperiments$_$0();
return t1;
},
EngineSingletonFlutterWindow$: function(windowId, platformDispatcher) {
var t1 = new H.EngineSingletonFlutterWindow(windowId, platformDispatcher, C.WindowPadding_0_0_0_0);
t1.EngineFlutterWindow$2(windowId, platformDispatcher);
return t1;
},
initializeEngine_closure: function initializeEngine_closure() {
},
initializeEngine_closure0: function initializeEngine_closure0(t0) {
this._box_0 = t0;
},
initializeEngine__closure: function initializeEngine__closure(t0) {
this._box_0 = t0;
},
_addUrlStrategyListener_closure: function _addUrlStrategyListener_closure() {
},
_addUrlStrategyListener_closure0: function _addUrlStrategyListener_closure0() {
},
_NullTreeSanitizer: function _NullTreeSanitizer() {
},
AlarmClock: function AlarmClock(t0) {
var _ = this;
_._timestampFunction = t0;
_._datetime = _._timer = null;
_.__AlarmClock_callback = $;
},
AssetManager: function AssetManager() {
},
AssetManager__baseUrl_closure: function AssetManager__baseUrl_closure() {
},
AssetManager__baseUrl_closure0: function AssetManager__baseUrl_closure0() {
},
AssetManagerException: function AssetManagerException(t0, t1) {
this.url = t0;
this.httpStatus = t1;
},
BitmapCanvas: function BitmapCanvas(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_._bounds = t0;
_._elementCache = null;
_.rootElement = t1;
_._canvasPool = t2;
_._cachedLastCssFont = null;
_.__engine$_children = t3;
_._widthInBitmapPixels = t4;
_._heightInBitmapPixels = t5;
_._saveCount = 0;
_.__engine$_devicePixelRatio = t6;
_._canvasPositionY = _._canvasPositionX = null;
_._preserveImageData = _._contains3dTransform = _._childOverdraw = false;
_._density = t7;
_._renderStrategy = t8;
},
BrowserEngine: function BrowserEngine(t0) {
this.__engine$_name = t0;
},
OperatingSystem: function OperatingSystem(t0) {
this.__engine$_name = t0;
},
_CanvasPool: function _CanvasPool(t0, t1, t2, t3, t4) {
var _ = this;
_._contextHandle = _.__engine$_context = null;
_._widthInBitmapPixels = t0;
_._heightInBitmapPixels = t1;
_._rootElement = _.__engine$_canvas = _._reusablePool = _._activeCanvasList = null;
_._saveContextCount = 0;
_._density = t2;
_._saveStack = t3;
_._clipStack = null;
_._currentTransform = t4;
},
ContextStateHandle: function ContextStateHandle(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.context = t0;
_._canvasPool = t1;
_.density = t2;
_._currentBlendMode = t3;
_._currentStrokeCap = t4;
_._currentStrokeJoin = t5;
_._currentStrokeStyle = _._currentFillStyle = null;
_._currentLineWidth = 1;
_._shaderBounds = _._lastUsedPaint = _._currentFilter = null;
_._debugIsPaintSetUp = false;
},
_SaveStackTracking: function _SaveStackTracking() {
},
CanvasKit: function CanvasKit() {
},
CanvasKitInitOptions: function CanvasKitInitOptions() {
},
CanvasKitInitPromise: function CanvasKitInitPromise() {
},
ColorSpace: function ColorSpace() {
},
SkWebGLContextOptions: function SkWebGLContextOptions() {
},
SkSurface: function SkSurface() {
},
SkGrContext: function SkGrContext() {
},
SkFontSlantEnum: function SkFontSlantEnum() {
},
SkFontSlant: function SkFontSlant() {
},
SkFontWeightEnum: function SkFontWeightEnum() {
},
SkFontWeight: function SkFontWeight() {
},
SkAffinityEnum: function SkAffinityEnum() {
},
SkAffinity: function SkAffinity() {
},
SkTextDirectionEnum: function SkTextDirectionEnum() {
},
SkTextDirection: function SkTextDirection() {
},
SkTextAlignEnum: function SkTextAlignEnum() {
},
SkTextAlign: function SkTextAlign() {
},
SkRectHeightStyleEnum: function SkRectHeightStyleEnum() {
},
SkRectHeightStyle: function SkRectHeightStyle() {
},
SkRectWidthStyleEnum: function SkRectWidthStyleEnum() {
},
SkRectWidthStyle: function SkRectWidthStyle() {
},
SkVertexModeEnum: function SkVertexModeEnum() {
},
SkVertexMode: function SkVertexMode() {
},
SkPointModeEnum: function SkPointModeEnum() {
},
SkPointMode: function SkPointMode() {
},
SkClipOpEnum: function SkClipOpEnum() {
},
SkClipOp: function SkClipOp() {
},
SkFillTypeEnum: function SkFillTypeEnum() {
},
SkFillType: function SkFillType() {
},
SkPathOpEnum: function SkPathOpEnum() {
},
SkPathOp: function SkPathOp() {
},
SkBlurStyleEnum: function SkBlurStyleEnum() {
},
SkBlurStyle: function SkBlurStyle() {
},
SkStrokeCapEnum: function SkStrokeCapEnum() {
},
SkStrokeCap: function SkStrokeCap() {
},
SkPaintStyleEnum: function SkPaintStyleEnum() {
},
SkPaintStyle: function SkPaintStyle() {
},
SkBlendModeEnum: function SkBlendModeEnum() {
},
SkBlendMode: function SkBlendMode() {
},
SkStrokeJoinEnum: function SkStrokeJoinEnum() {
},
SkStrokeJoin: function SkStrokeJoin() {
},
SkFilterQualityEnum: function SkFilterQualityEnum() {
},
SkFilterQuality: function SkFilterQuality() {
},
SkTileModeEnum: function SkTileModeEnum() {
},
SkTileMode: function SkTileMode() {
},
SkFilterModeEnum: function SkFilterModeEnum() {
},
SkFilterMode: function SkFilterMode() {
},
SkMipmapModeEnum: function SkMipmapModeEnum() {
},
SkMipmapMode: function SkMipmapMode() {
},
SkAlphaTypeEnum: function SkAlphaTypeEnum() {
},
SkAlphaType: function SkAlphaType() {
},
SkColorTypeEnum: function SkColorTypeEnum() {
},
SkColorType: function SkColorType() {
},
SkAnimatedImage: function SkAnimatedImage() {
},
SkImage: function SkImage() {
},
SkShaderNamespace: function SkShaderNamespace() {
},
SkShader: function SkShader() {
},
SkMaskFilterNamespace: function SkMaskFilterNamespace() {
},
SkPaint: function SkPaint() {
},
SkMaskFilter: function SkMaskFilter() {
},
SkColorFilterNamespace: function SkColorFilterNamespace() {
},
SkColorFilter: function SkColorFilter() {
},
SkImageFilterNamespace: function SkImageFilterNamespace() {
},
SkImageFilter: function SkImageFilter() {
},
SkPathNamespace: function SkPathNamespace() {
},
_NativeFloat32ArrayType: function _NativeFloat32ArrayType() {
},
SkFloat32List: function SkFloat32List() {
},
SkPath: function SkPath() {
},
SkContourMeasureIter: function SkContourMeasureIter() {
},
SkContourMeasure: function SkContourMeasure() {
},
SkPictureRecorder: function SkPictureRecorder() {
},
SkCanvas: function SkCanvas() {
},
SkPicture: function SkPicture() {
},
SkParagraphBuilderNamespace: function SkParagraphBuilderNamespace() {
},
SkParagraphBuilder: function SkParagraphBuilder() {
},
SkParagraphStyle: function SkParagraphStyle() {
},
SkParagraphStyleProperties: function SkParagraphStyleProperties() {
},
SkTextStyle: function SkTextStyle() {
},
SkTextDecorationStyleEnum: function SkTextDecorationStyleEnum() {
},
SkTextDecorationStyle: function SkTextDecorationStyle() {
},
SkTextBaselineEnum: function SkTextBaselineEnum() {
},
SkTextBaseline: function SkTextBaseline() {
},
SkPlaceholderAlignmentEnum: function SkPlaceholderAlignmentEnum() {
},
SkPlaceholderAlignment: function SkPlaceholderAlignment() {
},
SkTextStyleProperties: function SkTextStyleProperties() {
},
SkStrutStyleProperties: function SkStrutStyleProperties() {
},
SkFontStyle: function SkFontStyle() {
},
SkTextShadow: function SkTextShadow() {
},
SkFontFeature: function SkFontFeature() {
},
SkTypeface: function SkTypeface() {
},
SkFont: function SkFont() {
},
SkFontMgr: function SkFontMgr() {
},
TypefaceFontProvider: function TypefaceFontProvider() {
},
SkLineMetrics: function SkLineMetrics() {
},
SkParagraph: function SkParagraph() {
},
SkTextPosition: function SkTextPosition() {
},
SkTextRange: function SkTextRange() {
},
SkVertices: function SkVertices() {
},
SkTonalColors: function SkTonalColors() {
},
SkFontMgrNamespace: function SkFontMgrNamespace() {
},
TypefaceFontProviderNamespace: function TypefaceFontProviderNamespace() {
},
SkDeletable: function SkDeletable() {
},
JsConstructor: function JsConstructor() {
},
SkObjectFinalizationRegistry: function SkObjectFinalizationRegistry() {
},
SkData: function SkData() {
},
SkImageInfo: function SkImageInfo() {
},
CanvasKitCanvas: function CanvasKitCanvas(t0) {
this.__engine$_canvas = t0;
},
_CkBlendModeColorFilter: function _CkBlendModeColorFilter() {
},
CkTextStyle: function CkTextStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) {
var _ = this;
_.color = t0;
_.decoration = t1;
_.decorationColor = t2;
_.decorationStyle = t3;
_.decorationThickness = t4;
_.fontWeight = t5;
_.fontStyle = t6;
_.textBaseline = t7;
_.fontFamily = t8;
_.fontFamilyFallback = t9;
_.fontSize = t10;
_.letterSpacing = t11;
_.wordSpacing = t12;
_.height = t13;
_.locale = t14;
_.background = t15;
_.foreground = t16;
_.shadows = t17;
_.fontFeatures = t18;
_.__CkTextStyle_skTextStyle = _.__CkTextStyle_effectiveFontFamilies = $;
},
ClipboardMessageHandler: function ClipboardMessageHandler(t0, t1) {
this._copyToClipboardStrategy = t0;
this._pasteFromClipboardStrategy = t1;
},
ClipboardMessageHandler_setDataMethodCall_closure: function ClipboardMessageHandler_setDataMethodCall_closure(t0, t1) {
this._box_0 = t0;
this.callback = t1;
},
ClipboardMessageHandler_setDataMethodCall_closure0: function ClipboardMessageHandler_setDataMethodCall_closure0(t0, t1) {
this._box_0 = t0;
this.callback = t1;
},
ClipboardMessageHandler_getDataMethodCall_closure: function ClipboardMessageHandler_getDataMethodCall_closure(t0) {
this.callback = t0;
},
ClipboardMessageHandler_getDataMethodCall_closure0: function ClipboardMessageHandler_getDataMethodCall_closure0(t0) {
this.callback = t0;
},
ClipboardAPICopyStrategy: function ClipboardAPICopyStrategy() {
},
ClipboardAPIPasteStrategy: function ClipboardAPIPasteStrategy() {
},
ExecCommandCopyStrategy: function ExecCommandCopyStrategy() {
},
ExecCommandPasteStrategy: function ExecCommandPasteStrategy() {
},
DomCanvas: function DomCanvas(t0, t1, t2, t3) {
var _ = this;
_.rootElement = t0;
_.SaveElementStackTracking__saveStack = t1;
_.SaveElementStackTracking__elementStack = t2;
_.SaveElementStackTracking__currentTransform = t3;
},
DomRenderer: function DomRenderer(t0) {
var _ = this;
_._glassPaneElement = _._staleHotRestartState = _._sceneElement = _._semanticsHostElement = _._sceneHostElement = _._canvasKitScript = _._viewportMeta = _._styleElement = _._localeSubscription = _._resizeSubscription = null;
_.rootElement = t0;
_._debugFrameStatistics = null;
},
DomRenderer_reset_closure: function DomRenderer_reset_closure(t0, t1, t2) {
this._box_0 = t0;
this.$this = t1;
this.initialInnerWidth = t2;
},
DomRenderer_setPreferredOrientation_closure: function DomRenderer_setPreferredOrientation_closure(t0) {
this.completer = t0;
},
DomRenderer_setPreferredOrientation_closure0: function DomRenderer_setPreferredOrientation_closure0(t0) {
this.completer = t0;
},
EngineCanvas: function EngineCanvas() {
},
_SaveStackEntry: function _SaveStackEntry(t0, t1) {
this.transform = t0;
this.clipStack = t1;
},
_SaveClipEntry: function _SaveClipEntry(t0, t1, t2, t3) {
var _ = this;
_.rect = t0;
_.rrect = t1;
_.path = t2;
_.currentTransform = t3;
},
_SaveElementStackEntry: function _SaveElementStackEntry(t0, t1) {
this.savedElement = t0;
this.transform = t1;
},
SaveElementStackTracking: function SaveElementStackTracking() {
},
FrameReference: function FrameReference(t0, t1) {
this.value = t0;
this.$ti = t1;
},
CrossFrameCache: function CrossFrameCache(t0) {
this._reusablePool = this._cache = null;
this.$ti = t0;
},
_CrossFrameCacheItem: function _CrossFrameCacheItem(t0, t1, t2) {
this.value = t0;
this.evictCallback = t1;
this.$ti = t2;
},
SurfaceCanvas: function SurfaceCanvas(t0) {
this.__engine$_canvas = t0;
},
_DomClip: function _DomClip() {
},
PersistedClipRect: function PersistedClipRect(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.clipBehavior = t0;
_.rect = t1;
_._DomClip__childContainer = t2;
_.__engine$_children = t3;
_._oldLayer = t4;
_.__engine$_index = -1;
_.__engine$_state = t5;
_._localTransformInverse = _._localClipBounds = _._projectedClip = _.__engine$_transform = _.parent = _.rootElement = null;
},
PersistedClipRRect: function PersistedClipRRect(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.rrect = t0;
_.clipBehavior = t1;
_._DomClip__childContainer = t2;
_.__engine$_children = t3;
_._oldLayer = t4;
_.__engine$_index = -1;
_.__engine$_state = t5;
_._localTransformInverse = _._localClipBounds = _._projectedClip = _.__engine$_transform = _.parent = _.rootElement = null;
},
PersistedPhysicalShape: function PersistedPhysicalShape(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.path = t0;
_.pathBounds = t1;
_.elevation = t2;
_.color = t3;
_.shadowColor = t4;
_.clipBehavior = t5;
_._svgElement = _._clipElement = null;
_._DomClip__childContainer = t6;
_.__engine$_children = t7;
_._oldLayer = t8;
_.__engine$_index = -1;
_.__engine$_state = t9;
_._localTransformInverse = _._localClipBounds = _._projectedClip = _.__engine$_transform = _.parent = _.rootElement = null;
},
PersistedClipPath: function PersistedClipPath(t0, t1, t2, t3, t4) {
var _ = this;
_.clipPath = t0;
_.clipBehavior = t1;
_._clipElement = null;
_.__engine$_children = t2;
_._oldLayer = t3;
_.__engine$_index = -1;
_.__engine$_state = t4;
_._localTransformInverse = _._localClipBounds = _._projectedClip = _.__engine$_transform = _.parent = _.rootElement = null;
},
PersistedOffset: function PersistedOffset(t0, t1, t2, t3, t4) {
var _ = this;
_.dx = t0;
_.dy = t1;
_.__engine$_children = t2;
_._oldLayer = t3;
_.__engine$_index = -1;
_.__engine$_state = t4;
_._localTransformInverse = _._localClipBounds = _._projectedClip = _.__engine$_transform = _.parent = _.rootElement = null;
},
PersistedOpacity: function PersistedOpacity(t0, t1, t2, t3, t4) {
var _ = this;
_.alpha = t0;
_.offset = t1;
_.__engine$_children = t2;
_._oldLayer = t3;
_.__engine$_index = -1;
_.__engine$_state = t4;
_._localTransformInverse = _._localClipBounds = _._projectedClip = _.__engine$_transform = _.parent = _.rootElement = null;
},
SurfacePaint: function SurfacePaint(t0) {
this._paintData = t0;
this._frozen = false;
},
SurfacePaintData: function SurfacePaintData() {
var _ = this;
_.strokeJoin = _.strokeCap = _.strokeWidth = _.style = _.blendMode = null;
_.isAntiAlias = true;
_.colorFilter = _.filterQuality = _.maskFilter = _.shader = _.color = null;
},
Conic: function Conic(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.p0x = t0;
_.p0y = t1;
_.p1x = t2;
_.p1y = t3;
_.p2x = t4;
_.p2y = t5;
_.fW = t6;
},
_QuadBounds: function _QuadBounds() {
var _ = this;
_.maxY = _.maxX = _.minY = _.minX = 0;
},
_ConicBounds: function _ConicBounds() {
var _ = this;
_.maxY = _.maxX = _.minY = _.minX = 0;
},
_ConicPair: function _ConicPair() {
this.second = this.first = null;
},
_CubicBounds: function _CubicBounds() {
var _ = this;
_.maxY = _.minY = _.maxX = _.minX = 0;
},
SurfacePath: function SurfacePath(t0, t1) {
var _ = this;
_.pathRef = t0;
_._fillType = t1;
_.fLastMoveToIndex = 0;
_._firstDirection = _._convexityType = -1;
},
_SkQuadCoefficients: function _SkQuadCoefficients(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.ax = t0;
_.ay = t1;
_.bx = t2;
_.by = t3;
_.cx = t4;
_.cy = t5;
},
PathRef: function PathRef(t0, t1) {
var _ = this;
_.cachedBounds = _.fBounds = null;
_._fVerbsCapacity = _._fPointsLength = _._fPointsCapacity = 0;
_._fPoints = t0;
_._fVerbs = t1;
_._conicWeightsCapacity = _._fVerbsLength = 0;
_._conicWeights = null;
_._conicWeightsLength = 0;
_.fIsFinite = _.fBoundsIsDirty = true;
_.fRRectOrOvalIsCCW = _.fIsRect = _.fIsRRect = _.fIsOval = false;
_.fRRectOrOvalStartIdx = -1;
_.fSegmentMask = 0;
},
PathRefIterator: function PathRefIterator(t0) {
var _ = this;
_.pathRef = t0;
_._conicWeightIndex = -1;
_.iterIndex = _._pointIndex = _._verbIndex = 0;
},
_QuadRoots: function _QuadRoots() {
this.root1 = this.root0 = null;
},
PathWinding: function PathWinding(t0, t1, t2, t3) {
var _ = this;
_.pathRef = t0;
_.x = t1;
_.y = t2;
_._onCurveCount = _._w = 0;
_.__engine$_buffer = t3;
},
PathIterator: function PathIterator(t0, t1, t2) {
var _ = this;
_.pathRef = t0;
_._forceClose = t1;
_._verbCount = t2;
_._needClose = false;
_._segmentState = 0;
_._conicWeightIndex = -1;
_._pointIndex = _._verbIndex = _._moveToY = _._moveToX = _._lastPointY = _._lastPointX = 0;
},
_PaintRequest: function _PaintRequest(t0, t1) {
this.canvasSize = t0;
this.paintCallback = t1;
},
PersistedPicture: function PersistedPicture(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.__engine$_canvas = null;
_.dx = t0;
_.dy = t1;
_.picture = t2;
_.localPaintBounds = t3;
_._density = 1;
_._requiresRepaint = false;
_._elementCache = t4;
_._exactLocalCullRect = _._exactGlobalCullRect = _._optimalLocalCullRect = null;
_._oldLayer = t5;
_.__engine$_index = -1;
_.__engine$_state = t6;
_._localTransformInverse = _._localClipBounds = _._projectedClip = _.__engine$_transform = _.parent = _.rootElement = null;
},
PersistedPicture__applyBitmapPaint_closure: function PersistedPicture__applyBitmapPaint_closure(t0) {
this.$this = t0;
},
PersistedPlatformView: function PersistedPlatformView(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.viewId = t0;
_.dx = t1;
_.dy = t2;
_.width = t3;
_.height = t4;
_.__PersistedPlatformView__shadowRoot = $;
_._oldLayer = t5;
_.__engine$_index = -1;
_.__engine$_state = t6;
_._localTransformInverse = _._localClipBounds = _._projectedClip = _.__engine$_transform = _.parent = _.rootElement = null;
},
RecordingCanvas: function RecordingCanvas(t0, t1, t2) {
var _ = this;
_._paintBounds = t0;
_._pictureBounds = null;
_._commands = t1;
_.renderStrategy = t2;
_._recordingEnded = _._didDraw = false;
_._saveCount = 1;
},
PaintCommand: function PaintCommand() {
},
DrawCommand: function DrawCommand() {
},
PaintSave: function PaintSave() {
},
PaintRestore: function PaintRestore() {
},
PaintTranslate: function PaintTranslate(t0, t1) {
this.dx = t0;
this.dy = t1;
},
PaintScale: function PaintScale(t0, t1) {
this.sx = t0;
this.sy = t1;
},
PaintRotate: function PaintRotate(t0) {
this.radians = t0;
},
PaintTransform: function PaintTransform(t0) {
this.matrix4 = t0;
},
PaintClipRect: function PaintClipRect(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.rect = t0;
_.clipOp = t1;
_.isClippedOut = false;
_.leftBound = t2;
_.topBound = t3;
_.rightBound = t4;
_.bottomBound = t5;
},
PaintClipRRect: function PaintClipRRect(t0, t1, t2, t3, t4) {
var _ = this;
_.rrect = t0;
_.isClippedOut = false;
_.leftBound = t1;
_.topBound = t2;
_.rightBound = t3;
_.bottomBound = t4;
},
PaintClipPath: function PaintClipPath(t0, t1, t2, t3, t4) {
var _ = this;
_.path = t0;
_.isClippedOut = false;
_.leftBound = t1;
_.topBound = t2;
_.rightBound = t3;
_.bottomBound = t4;
},
PaintDrawLine: function PaintDrawLine(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.p1 = t0;
_.p2 = t1;
_.paint = t2;
_.isClippedOut = false;
_.leftBound = t3;
_.topBound = t4;
_.rightBound = t5;
_.bottomBound = t6;
},
PaintDrawRect: function PaintDrawRect(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.rect = t0;
_.paint = t1;
_.isClippedOut = false;
_.leftBound = t2;
_.topBound = t3;
_.rightBound = t4;
_.bottomBound = t5;
},
PaintDrawRRect: function PaintDrawRRect(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.rrect = t0;
_.paint = t1;
_.isClippedOut = false;
_.leftBound = t2;
_.topBound = t3;
_.rightBound = t4;
_.bottomBound = t5;
},
PaintDrawDRRect: function PaintDrawDRRect(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.outer = t0;
_.inner = t1;
_.paint = t2;
_.path = null;
_.isClippedOut = false;
_.leftBound = t3;
_.topBound = t4;
_.rightBound = t5;
_.bottomBound = t6;
},
PaintDrawCircle: function PaintDrawCircle(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.c = t0;
_.radius = t1;
_.paint = t2;
_.isClippedOut = false;
_.leftBound = t3;
_.topBound = t4;
_.rightBound = t5;
_.bottomBound = t6;
},
PaintDrawPath: function PaintDrawPath(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.path = t0;
_.paint = t1;
_.isClippedOut = false;
_.leftBound = t2;
_.topBound = t3;
_.rightBound = t4;
_.bottomBound = t5;
},
PaintDrawShadow: function PaintDrawShadow(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.path = t0;
_.color = t1;
_.elevation = t2;
_.transparentOccluder = t3;
_.isClippedOut = false;
_.leftBound = t4;
_.topBound = t5;
_.rightBound = t6;
_.bottomBound = t7;
},
PaintDrawImageRect: function PaintDrawImageRect(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.image = t0;
_.src = t1;
_.dst = t2;
_.paint = t3;
_.isClippedOut = false;
_.leftBound = t4;
_.topBound = t5;
_.rightBound = t6;
_.bottomBound = t7;
},
PaintDrawParagraph: function PaintDrawParagraph(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.paragraph = t0;
_.offset = t1;
_.isClippedOut = false;
_.leftBound = t2;
_.topBound = t3;
_.rightBound = t4;
_.bottomBound = t5;
},
_PaintBounds: function _PaintBounds(t0, t1, t2, t3) {
var _ = this;
_.maxPaintBounds = t0;
_._didPaintInsideClipArea = false;
_.__engine$_top = _.__engine$_left = 17976931348623157e292;
_.__engine$_bottom = _.__engine$_right = -17976931348623157e292;
_.__engine$_transforms = t1;
_._clipStack = t2;
_._currentMatrixIsIdentity = true;
_._currentMatrix = t3;
_._clipRectInitialized = false;
_._currentClipBottom = _._currentClipRight = _._currentClipTop = _._currentClipLeft = 0;
},
RenderStrategy: function RenderStrategy() {
var _ = this;
_.isInsideShaderMask = _.hasArbitraryPaint = _.hasParagraphs = _.hasImageElements = false;
},
_WebGlRenderer: function _WebGlRenderer() {
},
_GlProgram: function _GlProgram(t0) {
this.program = t0;
},
_GlContext: function _GlContext(t0) {
var _ = this;
_.glContext = t0;
_._heightInPixels = _._widthInPixels = _.__engine$_canvas = _._kUnsignedShort = _._kUnsignedByte = _._kLinkStatus = _._kTriangles = _._kColorBufferBit = _._kFloat = _._kStaticDraw = _._kElementArrayBuffer = _._kArrayBuffer = _._kCompileStatus = null;
},
_OffScreenCanvas: function _OffScreenCanvas(t0, t1) {
var _ = this;
_._glCanvas = _.__engine$_canvas = null;
_.width = t0;
_.height = t1;
},
SurfaceScene: function SurfaceScene(t0) {
this.webOnlyRootElement = t0;
},
PersistedScene: function PersistedScene(t0, t1, t2) {
var _ = this;
_.__engine$_children = t0;
_._oldLayer = t1;
_.__engine$_index = -1;
_.__engine$_state = t2;
_._localTransformInverse = _._localClipBounds = _._projectedClip = _.__engine$_transform = _.parent = _.rootElement = null;
},
SurfaceSceneBuilder: function SurfaceSceneBuilder(t0) {
this._surfaceStack = t0;
},
SurfaceSceneBuilder_build_closure: function SurfaceSceneBuilder_build_closure(t0) {
this.$this = t0;
},
SurfaceSceneBuilder_build_closure0: function SurfaceSceneBuilder_build_closure0(t0) {
this.$this = t0;
},
NormalizedGradient: function NormalizedGradient(t0, t1, t2, t3) {
var _ = this;
_._thresholds = t0;
_._bias = t1;
_.__engine$_scale = t2;
_.thresholdCount = t3;
},
EngineGradient: function EngineGradient() {
},
GradientLinear: function GradientLinear(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.from = t0;
_.to = t1;
_.colors = t2;
_.colorStops = t3;
_.tileMode = t4;
_.matrix4 = t5;
},
ShaderBuilder: function ShaderBuilder(t0, t1, t2, t3, t4) {
var _ = this;
_.declarations = t0;
_._methods = t1;
_.floatPrecision = null;
_._uniformCounter = _._varyingCounter = _._attribCounter = 0;
_.isWebGl2 = t2;
_._isFragmentShader = t3;
_._fragmentColorDeclaration = null;
_.__engine$_buffer = t4;
},
ShaderMethod: function ShaderMethod(t0, t1) {
this.name = t0;
this._statements = t1;
this._indentLevel = 1;
},
ShaderDeclaration: function ShaderDeclaration(t0, t1, t2) {
this.name = t0;
this.dataType = t1;
this.storage = t2;
},
commitScene_closure: function commitScene_closure() {
},
PersistedSurfaceState: function PersistedSurfaceState(t0) {
this.__engine$_name = t0;
},
PersistedSurface: function PersistedSurface() {
},
PersistedLeafSurface: function PersistedLeafSurface() {
},
PersistedContainerSurface: function PersistedContainerSurface() {
},
PersistedContainerSurface__matchChildren_closure: function PersistedContainerSurface__matchChildren_closure() {
},
_PersistedSurfaceMatch: function _PersistedSurfaceMatch(t0, t1, t2) {
this.newChild = t0;
this.oldChildIndex = t1;
this.matchQuality = t2;
},
PersistedTransform: function PersistedTransform(t0, t1, t2, t3) {
var _ = this;
_.matrix4 = t0;
_.__engine$_children = t1;
_._oldLayer = t2;
_.__engine$_index = -1;
_.__engine$_state = t3;
_._localTransformInverse = _._localClipBounds = _._projectedClip = _.__engine$_transform = _.parent = _.rootElement = null;
},
HtmlCodec: function HtmlCodec(t0, t1) {
this.src = t0;
this.chunkCallback = t1;
},
HtmlCodec_getNextFrame_closure: function HtmlCodec_getNextFrame_closure(t0, t1, t2) {
this.$this = t0;
this.imgElement = t1;
this.completer = t2;
},
HtmlCodec_getNextFrame_closure0: function HtmlCodec_getNextFrame_closure0(t0, t1) {
this.$this = t0;
this.completer = t1;
},
HtmlCodec__decodeUsingOnLoad__errorSubscription_set: function HtmlCodec__decodeUsingOnLoad__errorSubscription_set(t0) {
this._box_0 = t0;
},
HtmlCodec__decodeUsingOnLoad__errorSubscription_get: function HtmlCodec__decodeUsingOnLoad__errorSubscription_get(t0) {
this._box_0 = t0;
},
HtmlCodec__decodeUsingOnLoad_closure: function HtmlCodec__decodeUsingOnLoad_closure(t0, t1, t2) {
this._box_0 = t0;
this._errorSubscription_get = t1;
this.completer = t2;
},
HtmlCodec__decodeUsingOnLoad_closure0: function HtmlCodec__decodeUsingOnLoad_closure0(t0, t1, t2, t3, t4) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_._errorSubscription_get = t2;
_.imgElement = t3;
_.completer = t4;
},
HtmlBlobCodec: function HtmlBlobCodec(t0, t1) {
this.src = t0;
this.chunkCallback = t1;
},
SingleFrameInfo: function SingleFrameInfo(t0) {
this.image = t0;
},
HtmlImage: function HtmlImage(t0, t1, t2) {
var _ = this;
_.imgElement = t0;
_._requiresClone = false;
_.width = t1;
_.height = t2;
},
Keyboard: function Keyboard(t0) {
var _ = this;
_._keydownTimers = t0;
_._keyupListener = _._keydownListener = null;
_._lastMetaState = 0;
},
Keyboard$__closure: function Keyboard$__closure(t0) {
this.$this = t0;
},
Keyboard$__closure0: function Keyboard$__closure0(t0) {
this.$this = t0;
},
Keyboard$__closure1: function Keyboard$__closure1(t0) {
this.$this = t0;
},
Keyboard__handleHtmlEvent_closure: function Keyboard__handleHtmlEvent_closure(t0, t1, t2) {
this.$this = t0;
this.timerKey = t1;
this.event = t2;
},
Keyboard__handleHtmlEvent_closure0: function Keyboard__handleHtmlEvent_closure0(t0) {
this.event = t0;
},
_kLogicalKeyToModifierGetter_closure: function _kLogicalKeyToModifierGetter_closure() {
},
_kLogicalKeyToModifierGetter_closure0: function _kLogicalKeyToModifierGetter_closure0() {
},
_kLogicalKeyToModifierGetter_closure1: function _kLogicalKeyToModifierGetter_closure1() {
},
_kLogicalKeyToModifierGetter_closure2: function _kLogicalKeyToModifierGetter_closure2() {
},
_kLogicalKeyToModifierGetter_closure3: function _kLogicalKeyToModifierGetter_closure3() {
},
_kLogicalKeyToModifierGetter_closure4: function _kLogicalKeyToModifierGetter_closure4() {
},
_kLogicalKeyToModifierGetter_closure5: function _kLogicalKeyToModifierGetter_closure5() {
},
_kLogicalKeyToModifierGetter_closure6: function _kLogicalKeyToModifierGetter_closure6() {
},
KeyboardBinding: function KeyboardBinding(t0) {
this.__KeyboardBinding__converter = $;
this._listeners = t0;
},
KeyboardBinding__addEventListener_closure: function KeyboardBinding__addEventListener_closure(t0) {
this.handler = t0;
},
KeyboardBinding__onKeyData_closure: function KeyboardBinding__onKeyData_closure(t0) {
this._box_0 = t0;
},
KeyboardBinding__setup_closure: function KeyboardBinding__setup_closure(t0) {
this.$this = t0;
},
KeyboardBinding__setup_closure0: function KeyboardBinding__setup_closure0(t0) {
this.$this = t0;
},
FlutterHtmlKeyboardEvent: function FlutterHtmlKeyboardEvent(t0) {
this._event = t0;
},
KeyboardConverter: function KeyboardConverter(t0, t1, t2, t3) {
var _ = this;
_.dispatchKeyData = t0;
_.onMacOs = t1;
_._disposed = false;
_._pressingRecords = t2;
_._keyGuards = t3;
},
KeyboardConverter__scheduleAsyncEvent_closure: function KeyboardConverter__scheduleAsyncEvent_closure(t0, t1, t2, t3) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.callback = t2;
_.getData = t3;
},
KeyboardConverter__scheduleAsyncEvent_closure0: function KeyboardConverter__scheduleAsyncEvent_closure0(t0) {
this._box_0 = t0;
},
KeyboardConverter__startGuardingKey_closure: function KeyboardConverter__startGuardingKey_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.currentTimeStamp = t1;
_.physicalKey = t2;
_.logicalKey = t3;
},
KeyboardConverter__startGuardingKey_closure0: function KeyboardConverter__startGuardingKey_closure0(t0, t1) {
this.$this = t0;
this.physicalKey = t1;
},
KeyboardConverter_handleEvent_closure: function KeyboardConverter_handleEvent_closure(t0, t1, t2, t3) {
var _ = this;
_.event = t0;
_.character = t1;
_.eventKey = t2;
_.physicalKey = t3;
},
KeyboardConverter_handleEvent_closure0: function KeyboardConverter_handleEvent_closure0(t0, t1, t2) {
this.timeStamp = t0;
this.physicalKey = t1;
this.logicalKey = t2;
},
KeyboardConverter_handleEvent_closure1: function KeyboardConverter_handleEvent_closure1(t0, t1) {
this.$this = t0;
this.physicalKey = t1;
},
KeyboardConverter_handleEvent_closure2: function KeyboardConverter_handleEvent_closure2(t0, t1, t2) {
this.$this = t0;
this.event = t1;
this.timeStamp = t2;
},
KeyboardConverter_handleEvent__closure: function KeyboardConverter_handleEvent__closure(t0, t1, t2) {
this.$this = t0;
this.logicalKey = t1;
this.timeStamp = t2;
},
MouseCursor: function MouseCursor() {
},
BrowserHistory: function BrowserHistory() {
},
MultiEntriesBrowserHistory: function MultiEntriesBrowserHistory(t0) {
var _ = this;
_.urlStrategy = t0;
_.__BrowserHistory__unsubscribe = _.__MultiEntriesBrowserHistory__lastSeenSerialCount = $;
_._isDisposed = false;
},
MultiEntriesBrowserHistory_onPopState_closure: function MultiEntriesBrowserHistory_onPopState_closure() {
},
SingleEntryBrowserHistory: function SingleEntryBrowserHistory(t0, t1) {
var _ = this;
_.urlStrategy = t0;
_._flutterState = t1;
_._userProvidedRouteName = null;
_.__BrowserHistory__unsubscribe = $;
_._isDisposed = false;
},
SingleEntryBrowserHistory_onPopState_closure: function SingleEntryBrowserHistory_onPopState_closure() {
},
SingleEntryBrowserHistory_onPopState_closure0: function SingleEntryBrowserHistory_onPopState_closure0() {
},
JsUrlStrategy: function JsUrlStrategy() {
},
UrlStrategy: function UrlStrategy() {
},
HashUrlStrategy: function HashUrlStrategy() {
},
HashUrlStrategy_addPopStateListener_closure: function HashUrlStrategy_addPopStateListener_closure(t0, t1) {
this.$this = t0;
this.fn = t1;
},
HashUrlStrategy__waitForPopState__unsubscribe_set: function HashUrlStrategy__waitForPopState__unsubscribe_set(t0) {
this._box_0 = t0;
},
HashUrlStrategy__waitForPopState__unsubscribe_get: function HashUrlStrategy__waitForPopState__unsubscribe_get(t0) {
this._box_0 = t0;
},
HashUrlStrategy__waitForPopState_closure: function HashUrlStrategy__waitForPopState_closure(t0, t1) {
this._unsubscribe_get = t0;
this.completer = t1;
},
CustomUrlStrategy: function CustomUrlStrategy(t0) {
this.delegate = t0;
},
PlatformLocation: function PlatformLocation() {
},
BrowserPlatformLocation: function BrowserPlatformLocation() {
},
EnginePictureRecorder: function EnginePictureRecorder() {
this.__engine$_canvas = null;
this.__EnginePictureRecorder_cullRect = $;
this._isRecording = false;
},
EnginePicture: function EnginePicture(t0) {
this.recordingCanvas = t0;
},
EnginePlatformDispatcher: function EnginePlatformDispatcher(t0, t1, t2, t3) {
var _ = this;
_._configuration = t0;
_._windows = t1;
_._windowConfigurations = t2;
_._onLocaleChanged = _._onPlatformMessageZone = _._onPlatformMessage = _._onReportTimingsZone = _._onReportTimings = _._onPointerDataPacketZone = _._onPointerDataPacket = _._onDrawFrameZone = _._onDrawFrame = _._onBeginFrameZone = _._onBeginFrame = _._onMetricsChangedZone = _._onMetricsChanged = null;
_._brightnessMediaQuery = t3;
_._defaultRouteName = _._onSemanticsActionZone = _._onSemanticsAction = _._onSemanticsEnabledChangedZone = _._onSemanticsEnabledChanged = _._onPlatformBrightnessChangedZone = _._onPlatformBrightnessChanged = _._brightnessMediaQueryListener = null;
_.__EnginePlatformDispatcher_rasterizer = $;
},
EnginePlatformDispatcher__zonedPlatformMessageResponseCallback_closure: function EnginePlatformDispatcher__zonedPlatformMessageResponseCallback_closure(t0, t1) {
this.registrationZone = t0;
this.callback = t1;
},
EnginePlatformDispatcher__sendPlatformMessage_closure: function EnginePlatformDispatcher__sendPlatformMessage_closure(t0, t1) {
this.$this = t0;
this.callback = t1;
},
EnginePlatformDispatcher__sendPlatformMessage_closure0: function EnginePlatformDispatcher__sendPlatformMessage_closure0(t0, t1) {
this.$this = t0;
this.callback = t1;
},
EnginePlatformDispatcher__sendPlatformMessage_closure1: function EnginePlatformDispatcher__sendPlatformMessage_closure1(t0, t1) {
this.$this = t0;
this.callback = t1;
},
EnginePlatformDispatcher__sendPlatformMessage_closure2: function EnginePlatformDispatcher__sendPlatformMessage_closure2(t0, t1) {
this.$this = t0;
this.callback = t1;
},
EnginePlatformDispatcher__sendPlatformMessage_closure3: function EnginePlatformDispatcher__sendPlatformMessage_closure3(t0, t1) {
this.$this = t0;
this.callback = t1;
},
EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure: function EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure(t0) {
this.$this = t0;
},
EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure0: function EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure0(t0) {
this.$this = t0;
},
EnginePlatformDispatcher__replyToPlatformMessage_closure: function EnginePlatformDispatcher__replyToPlatformMessage_closure(t0, t1) {
this.callback = t0;
this.data = t1;
},
invoke3_closure: function invoke3_closure(t0, t1, t2, t3) {
var _ = this;
_.callback = t0;
_.arg1 = t1;
_.arg2 = t2;
_.arg3 = t3;
},
PointerBinding: function PointerBinding(t0, t1) {
this.glassPaneElement = t0;
this._pointerDataConverter = t1;
this.__PointerBinding__adapter = $;
},
PointerSupportDetector: function PointerSupportDetector() {
},
_BaseAdapter: function _BaseAdapter() {
},
_BaseAdapter_addEventListener_closure: function _BaseAdapter_addEventListener_closure(t0, t1, t2) {
this.$this = t0;
this.acceptOutsideGlasspane = t1;
this.handler = t2;
},
_WheelEventListenerMixin: function _WheelEventListenerMixin() {
},
_WheelEventListenerMixin__addWheelEventListener_closure: function _WheelEventListenerMixin__addWheelEventListener_closure(t0) {
this.handler = t0;
},
_SanitizedDetails: function _SanitizedDetails(t0, t1) {
this.change = t0;
this.buttons = t1;
},
_ButtonSanitizer: function _ButtonSanitizer() {
this._pressedButtons = 0;
},
_PointerAdapter: function _PointerAdapter(t0, t1, t2, t3) {
var _ = this;
_._sanitizers = t0;
_.glassPaneElement = t1;
_.__engine$_callback = t2;
_._pointerDataConverter = t3;
},
_PointerAdapter__ensureSanitizer_closure: function _PointerAdapter__ensureSanitizer_closure() {
},
_PointerAdapter__addPointerEventListener_closure: function _PointerAdapter__addPointerEventListener_closure(t0) {
this.handler = t0;
},
_PointerAdapter_setup_closure: function _PointerAdapter_setup_closure(t0) {
this.$this = t0;
},
_PointerAdapter_setup_closure0: function _PointerAdapter_setup_closure0(t0) {
this.$this = t0;
},
_PointerAdapter_setup_closure1: function _PointerAdapter_setup_closure1(t0) {
this.$this = t0;
},
_PointerAdapter_setup_closure2: function _PointerAdapter_setup_closure2(t0) {
this.$this = t0;
},
_PointerAdapter_setup_closure3: function _PointerAdapter_setup_closure3(t0) {
this.$this = t0;
},
_TouchAdapter: function _TouchAdapter(t0, t1, t2, t3) {
var _ = this;
_._pressedTouches = t0;
_.glassPaneElement = t1;
_.__engine$_callback = t2;
_._pointerDataConverter = t3;
},
_TouchAdapter__addTouchEventListener_closure: function _TouchAdapter__addTouchEventListener_closure(t0) {
this.handler = t0;
},
_TouchAdapter_setup_closure: function _TouchAdapter_setup_closure(t0) {
this.$this = t0;
},
_TouchAdapter_setup_closure0: function _TouchAdapter_setup_closure0(t0) {
this.$this = t0;
},
_TouchAdapter_setup_closure1: function _TouchAdapter_setup_closure1(t0) {
this.$this = t0;
},
_TouchAdapter_setup_closure2: function _TouchAdapter_setup_closure2(t0) {
this.$this = t0;
},
_MouseAdapter: function _MouseAdapter(t0, t1, t2, t3) {
var _ = this;
_._sanitizer = t0;
_.glassPaneElement = t1;
_.__engine$_callback = t2;
_._pointerDataConverter = t3;
},
_MouseAdapter__addMouseEventListener_closure: function _MouseAdapter__addMouseEventListener_closure(t0) {
this.handler = t0;
},
_MouseAdapter_setup_closure: function _MouseAdapter_setup_closure(t0) {
this.$this = t0;
},
_MouseAdapter_setup_closure0: function _MouseAdapter_setup_closure0(t0) {
this.$this = t0;
},
_MouseAdapter_setup_closure1: function _MouseAdapter_setup_closure1(t0) {
this.$this = t0;
},
_MouseAdapter_setup_closure2: function _MouseAdapter_setup_closure2(t0) {
this.$this = t0;
},
_PointerState: function _PointerState(t0, t1) {
this._pointer = null;
this.x = t0;
this.y = t1;
},
PointerDataConverter: function PointerDataConverter(t0) {
this._pointers = t0;
this._activeButtons = 0;
},
PointerDataConverter__ensureStateForPointer_closure: function PointerDataConverter__ensureStateForPointer_closure(t0, t1) {
this.x = t0;
this.y = t1;
},
Profiler: function Profiler() {
},
AccessibilityAnnouncements: function AccessibilityAnnouncements() {
this.__engine$_element = this._removeElementTimer = null;
},
AccessibilityAnnouncements$__closure: function AccessibilityAnnouncements$__closure(t0) {
this.$this = t0;
},
AccessibilityAnnouncements_handleMessage_closure: function AccessibilityAnnouncements_handleMessage_closure(t0) {
this.$this = t0;
},
_CheckableKind: function _CheckableKind(t0) {
this.__engine$_name = t0;
},
Checkable: function Checkable(t0, t1) {
this.__engine$_kind = t0;
this.semanticsObject = t1;
},
ImageRoleManager: function ImageRoleManager(t0) {
this._auxiliaryImageElement = null;
this.semanticsObject = t0;
},
Incrementable: function Incrementable(t0, t1) {
var _ = this;
_.__engine$_element = t0;
_._currentSurrogateValue = 1;
_._gestureModeListener = null;
_._pendingResync = false;
_.semanticsObject = t1;
},
Incrementable_closure: function Incrementable_closure(t0, t1) {
this.$this = t0;
this.semanticsObject = t1;
},
Incrementable_closure0: function Incrementable_closure0(t0) {
this.$this = t0;
},
LabelAndValue: function LabelAndValue(t0) {
this._auxiliaryValueElement = null;
this.semanticsObject = t0;
},
LiveRegion: function LiveRegion(t0) {
this.semanticsObject = t0;
},
Scrollable0: function Scrollable0(t0) {
var _ = this;
_._scrollListener = _._gestureModeListener = null;
_._effectiveNeutralScrollPosition = 0;
_.semanticsObject = t0;
},
Scrollable_update_closure: function Scrollable_update_closure(t0) {
this.$this = t0;
},
Scrollable_update_closure0: function Scrollable_update_closure0(t0) {
this.$this = t0;
},
Scrollable_update_closure1: function Scrollable_update_closure1(t0) {
this.$this = t0;
},
SemanticsUpdate: function SemanticsUpdate(t0) {
this.__engine$_nodeUpdates = t0;
},
SemanticsNodeUpdate: function SemanticsNodeUpdate(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) {
var _ = this;
_.id = t0;
_.flags = t1;
_.actions = t2;
_.textSelectionBase = t3;
_.textSelectionExtent = t4;
_.scrollChildren = t5;
_.scrollIndex = t6;
_.scrollPosition = t7;
_.scrollExtentMax = t8;
_.scrollExtentMin = t9;
_.rect = t10;
_.label = t11;
_.hint = t12;
_.value = t13;
_.increasedValue = t14;
_.decreasedValue = t15;
_.textDirection = t16;
_.transform = t17;
_.childrenInTraversalOrder = t18;
_.childrenInHitTestOrder = t19;
_.additionalActions = t20;
_.thickness = t21;
},
Role: function Role(t0) {
this.__engine$_name = t0;
},
_roleFactories_closure: function _roleFactories_closure() {
},
_roleFactories_closure0: function _roleFactories_closure0() {
},
_roleFactories_closure1: function _roleFactories_closure1() {
},
_roleFactories_closure2: function _roleFactories_closure2() {
},
_roleFactories_closure3: function _roleFactories_closure3() {
},
_roleFactories_closure4: function _roleFactories_closure4() {
},
_roleFactories_closure5: function _roleFactories_closure5() {
},
_roleFactories_closure6: function _roleFactories_closure6() {
},
RoleManager: function RoleManager() {
},
SemanticsObject: function SemanticsObject(t0, t1, t2, t3) {
var _ = this;
_.__engine$_flags = 0;
_._additionalActions = _._childrenInHitTestOrder = _.__engine$_childrenInTraversalOrder = _.__engine$_transform = _._textDirection = _.__engine$_decreasedValue = _.__engine$_increasedValue = _.__engine$_value = _.__engine$_hint = _.__engine$_label = _.__engine$_rect = _.__engine$_scrollExtentMin = _.__engine$_scrollExtentMax = _.__engine$_scrollPosition = _.__engine$_scrollIndex = _._scrollChildren = _._textSelectionExtent = _._textSelectionBase = _.__engine$_actions = null;
_.id = t0;
_.owner = t1;
_.element = t2;
_._dirtyFields = -1;
_.__engine$_parent = _._childContainerElement = null;
_._roleManagers = t3;
_.horizontalContainerAdjustment = _.verticalContainerAdjustment = 0;
_._previousChildrenInTraversalOrder = null;
},
SemanticsObject_recomputePositionAndSize__effectiveTransform_set: function SemanticsObject_recomputePositionAndSize__effectiveTransform_set(t0) {
this._box_0 = t0;
},
SemanticsObject_recomputePositionAndSize__effectiveTransform_get: function SemanticsObject_recomputePositionAndSize__effectiveTransform_get(t0) {
this._box_0 = t0;
},
AccessibilityMode: function AccessibilityMode(t0) {
this.__engine$_name = t0;
},
GestureMode: function GestureMode(t0) {
this.__engine$_name = t0;
},
EngineSemanticsOwner: function EngineSemanticsOwner(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._semanticsTree = t0;
_._attachments = t1;
_._detachments = t2;
_._oneTimePostUpdateCallbacks = t3;
_._rootSemanticsElement = null;
_._now = t4;
_.semanticsHelper = t5;
_._semanticsEnabled = false;
_._gestureMode = t6;
_._gestureModeClock = null;
_._gestureModeListeners = t7;
},
EngineSemanticsOwner$__closure: function EngineSemanticsOwner$__closure(t0) {
this.$this = t0;
},
EngineSemanticsOwner__now_closure: function EngineSemanticsOwner__now_closure() {
},
EngineSemanticsOwner__getGestureModeClock_closure: function EngineSemanticsOwner__getGestureModeClock_closure(t0) {
this.$this = t0;
},
EnabledState: function EnabledState(t0) {
this.__engine$_name = t0;
},
SemanticsHelper: function SemanticsHelper(t0) {
this._semanticsEnabler = t0;
},
SemanticsEnabler: function SemanticsEnabler() {
},
DesktopSemanticsEnabler: function DesktopSemanticsEnabler() {
var _ = this;
_._semanticsPlaceholder = _.semanticsActivationTimer = null;
_.semanticsActivationAttempts = 0;
_._schedulePlaceholderRemoval = false;
},
DesktopSemanticsEnabler_tryEnableSemantics_closure: function DesktopSemanticsEnabler_tryEnableSemantics_closure(t0) {
this.$this = t0;
},
DesktopSemanticsEnabler_prepareAccessibilityPlaceholder_closure: function DesktopSemanticsEnabler_prepareAccessibilityPlaceholder_closure(t0) {
this.$this = t0;
},
MobileSemanticsEnabler: function MobileSemanticsEnabler() {
var _ = this;
_._semanticsPlaceholder = _.semanticsActivationTimer = null;
_.semanticsActivationAttempts = 0;
_._schedulePlaceholderRemoval = false;
},
MobileSemanticsEnabler_tryEnableSemantics_closure: function MobileSemanticsEnabler_tryEnableSemantics_closure(t0) {
this.$this = t0;
},
MobileSemanticsEnabler_prepareAccessibilityPlaceholder_closure: function MobileSemanticsEnabler_prepareAccessibilityPlaceholder_closure(t0) {
this.$this = t0;
},
Tappable: function Tappable(t0) {
this._clickListener = null;
this.semanticsObject = t0;
},
Tappable_update_closure: function Tappable_update_closure(t0) {
this.$this = t0;
},
SemanticsTextEditingStrategy: function SemanticsTextEditingStrategy(t0, t1) {
var _ = this;
_._queuedStyle = _.onAction = _.onChange = _.inputConfig = _.activeTextField = null;
_.owner = t0;
_.isEnabled = false;
_.domElement = null;
_.__DefaultTextEditingStrategy__inputConfiguration = $;
_._onAction = _._onChange = _.__engine$_geometry = _._style = _._lastEditingState = null;
_.__engine$_subscriptions = t1;
_._appendedToForm = false;
},
TextField0: function TextField0(t0) {
this.__TextField_editableElement = $;
this._hasFocused = false;
this.semanticsObject = t0;
},
TextField__initializeForBlink_closure: function TextField__initializeForBlink_closure(t0) {
this.$this = t0;
},
TextField__initializeForWebkit_closure: function TextField__initializeForWebkit_closure(t0) {
this._box_0 = t0;
},
TextField__initializeForWebkit_closure0: function TextField__initializeForWebkit_closure0(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
TextField_update_closure: function TextField_update_closure(t0) {
this.$this = t0;
},
_TypedDataBuffer: function _TypedDataBuffer() {
},
_IntBuffer: function _IntBuffer() {
},
Uint8Buffer0: function Uint8Buffer0(t0, t1) {
this.__engine$_buffer = t0;
this.__engine$_length = t1;
},
MethodCall0: function MethodCall0(t0, t1) {
this.method = t0;
this.$arguments = t1;
},
JSONMessageCodec: function JSONMessageCodec() {
},
JSONMethodCodec: function JSONMethodCodec() {
},
StandardMessageCodec: function StandardMessageCodec() {
},
StandardMessageCodec_writeValue_closure0: function StandardMessageCodec_writeValue_closure0(t0, t1) {
this.$this = t0;
this.buffer = t1;
},
StandardMethodCodec: function StandardMethodCodec() {
},
WriteBuffer0: function WriteBuffer0(t0, t1, t2) {
var _ = this;
_._debugFinalized = false;
_.__engine$_buffer = t0;
_.__engine$_eightBytes = t1;
_.__engine$_eightBytesAsList = t2;
},
ReadBuffer0: function ReadBuffer0(t0) {
this.data = t0;
this.__engine$_position = 0;
},
SurfaceShadowData: function SurfaceShadowData(t0, t1) {
this.blurWidth = t0;
this.offset = t1;
},
CanvasParagraph: function CanvasParagraph(t0, t1, t2, t3) {
var _ = this;
_.spans = t0;
_.paragraphStyle = t1;
_.plainText = t2;
_.drawOnCanvas = t3;
_.isLaidOut = false;
_._lastUsedConstraints = null;
_.__CanvasParagraph__paintService = _.__CanvasParagraph__layoutService = $;
_._cachedDomElement = null;
},
CanvasParagraph__createDomElement__element_set: function CanvasParagraph__createDomElement__element_set(t0) {
this._box_0 = t0;
},
CanvasParagraph__createDomElement__element_get: function CanvasParagraph__createDomElement__element_get(t0) {
this._box_0 = t0;
},
FlatTextSpan: function FlatTextSpan(t0, t1, t2) {
this.style = t0;
this.start = t1;
this.end = t2;
},
StyleNode: function StyleNode() {
},
ChildStyleNode: function ChildStyleNode(t0, t1) {
this.parent = t0;
this.style = t1;
this._cachedStyle = null;
},
RootStyleNode: function RootStyleNode(t0) {
this.paragraphStyle = t0;
this._cachedStyle = null;
},
CanvasParagraphBuilder: function CanvasParagraphBuilder(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._plainTextBuffer = t0;
_._paragraphStyle = t1;
_._spans = t2;
_._styleStack = t3;
_._rootStyleNode = t4;
_._placeholderScales = t5;
_._drawOnCanvas = true;
},
FontCollection: function FontCollection() {
this._testFontManager = this._assetFontManager = null;
},
FontManager: function FontManager(t0) {
this._fontLoadingFutures = t0;
},
FontManager__loadFontFace_closure: function FontManager__loadFontFace_closure(t0) {
this.fontFace = t0;
},
FontManager__loadFontFace_closure0: function FontManager__loadFontFace_closure0(t0) {
this.family = t0;
},
_PolyfillFontManager: function _PolyfillFontManager(t0) {
this._fontLoadingFutures = t0;
},
_PolyfillFontManager_registerAsset___fontLoadStart_set: function _PolyfillFontManager_registerAsset___fontLoadStart_set(t0) {
this._box_0 = t0;
},
_PolyfillFontManager_registerAsset___fontLoadStart_get: function _PolyfillFontManager_registerAsset___fontLoadStart_get(t0) {
this._box_0 = t0;
},
_PolyfillFontManager_registerAsset__watchWidth: function _PolyfillFontManager_registerAsset__watchWidth(t0, t1, t2, t3, t4) {
var _ = this;
_.paragraph = t0;
_.sansSerifWidth = t1;
_.completer = t2;
_.__fontLoadStart_get = t3;
_.family = t4;
},
_PolyfillFontManager_registerAsset_closure: function _PolyfillFontManager_registerAsset_closure(t0) {
this.fontStyleMap = t0;
},
TextLayoutService: function TextLayoutService(t0, t1, t2) {
var _ = this;
_.paragraph = t0;
_.context = t1;
_.width = -1;
_.height = 0;
_.longestLine = null;
_.maxIntrinsicWidth = _.minIntrinsicWidth = 0;
_.ideographicBaseline = _.alphabeticBaseline = -1;
_.didExceedMaxLines = false;
_.lines = t2;
},
RangeBox: function RangeBox() {
},
PlaceholderBox: function PlaceholderBox() {
},
SpanBox: function SpanBox(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.spanometer = t0;
_.span = t1;
_.start = t2;
_.end = t3;
_.left = t4;
_.width = t5;
_.height = t6;
_.baseline = t7;
_.direction = t8;
},
LineSegment: function LineSegment(t0, t1, t2, t3, t4) {
var _ = this;
_.span = t0;
_.start = t1;
_.end = t2;
_.width = t3;
_.widthIncludingSpace = t4;
},
LineBuilder: function LineBuilder(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_._segments = t0;
_._boxes = t1;
_.maxWidth = t2;
_.paragraph = t3;
_.spanometer = t4;
_.start = t5;
_.lineNumber = t6;
_.accumulatedHeight = t7;
_.end = t8;
_.descent = _.ascent = _.widthIncludingSpace = _.width = 0;
},
Spanometer: function Spanometer(t0, t1) {
var _ = this;
_.paragraph = t0;
_.context = t1;
_._cssFontString = "";
_._currentSpan = _._currentRuler = null;
},
LineCharProperty: function LineCharProperty(t0) {
this.__engine$_name = t0;
},
LineBreakType: function LineBreakType(t0) {
this.__engine$_name = t0;
},
LineBreakResult: function LineBreakResult(t0, t1, t2, t3) {
var _ = this;
_.index = t0;
_.indexWithoutTrailingNewlines = t1;
_.indexWithoutTrailingSpaces = t2;
_.type = t3;
},
RulerHost: function RulerHost(t0) {
this._rulerHost = t0;
},
RulerManager: function RulerManager(t0, t1, t2) {
var _ = this;
_.rulerCacheCapacity = t0;
_._rulers = t1;
_._rulerCacheCleanupScheduled = false;
_._rulerHost = t2;
},
RulerManager__scheduleRulerCacheCleanup_closure: function RulerManager__scheduleRulerCacheCleanup_closure(t0) {
this.$this = t0;
},
RulerManager__evictAllRulers_closure: function RulerManager__evictAllRulers_closure() {
},
RulerManager_cleanUpRulerCache_closure: function RulerManager_cleanUpRulerCache_closure() {
},
TextMeasurementService: function TextMeasurementService() {
},
DomTextMeasurementService: function DomTextMeasurementService() {
},
CanvasTextMeasurementService: function CanvasTextMeasurementService(t0) {
this._canvasContext = t0;
},
LinesCalculator: function LinesCalculator(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._canvasContext = t0;
_.__engine$_paragraph = t1;
_._maxWidth = t2;
_.lines = t3;
_._lastBreak = t4;
_._lastTakenBreak = t5;
_._reachedMaxLines = false;
_._cachedEllipsisWidth = null;
},
MaxIntrinsicCalculator: function MaxIntrinsicCalculator(t0, t1, t2) {
var _ = this;
_._canvasContext = t0;
_.__engine$_text = t1;
_._style = t2;
_._lastHardLineEnd = _.value = 0;
},
TextPaintService: function TextPaintService(t0) {
this.paragraph = t0;
},
EngineLineMetrics: function EngineLineMetrics(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
var _ = this;
_.displayText = t0;
_.ellipsis = t1;
_.startIndex = t2;
_.endIndex = t3;
_.endIndexWithoutNewlines = t4;
_.boxes = t5;
_.hardBreak = t6;
_.ascent = t7;
_.descent = t8;
_.height = t9;
_.width = t10;
_.widthWithTrailingSpaces = t11;
_.left = t12;
_.baseline = t13;
_.lineNumber = t14;
},
DomParagraph: function DomParagraph(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._paragraphElement = t0;
_._geometricStyle = t1;
_._plainText = t2;
_._paint = t3;
_._textAlign = t4;
_._textDirection = t5;
_._background = t6;
_.placeholderCount = t7;
_._measurementResult = null;
_._didExceedMaxLines = false;
_._lastUsedConstraints = null;
_._alignOffset = 0;
},
EngineParagraphStyle: function EngineParagraphStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_._textAlign = t0;
_._textDirection = t1;
_._fontWeight = t2;
_._fontStyle = t3;
_._maxLines = t4;
_._fontFamily = t5;
_.__engine$_fontSize = t6;
_.__engine$_height = t7;
_._textHeightBehavior = t8;
_._strutStyle = t9;
_._ellipsis = t10;
_._locale = t11;
},
EngineTextStyle: function EngineTextStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) {
var _ = this;
_.__engine$_color = t0;
_._decoration = t1;
_._decorationColor = t2;
_._decorationStyle = t3;
_._decorationThickness = t4;
_._fontWeight = t5;
_._fontStyle = t6;
_._textBaseline = t7;
_._isFontFamilyProvided = t8;
_._fontFamily = t9;
_._fontFamilyFallback = t10;
_._fontFeatures = t11;
_.__engine$_fontSize = t12;
_._letterSpacing = t13;
_._wordSpacing = t14;
_.__engine$_height = t15;
_._locale = t16;
_._background = t17;
_._foreground = t18;
_._shadows = t19;
_._cssFontString = null;
_.__EngineTextStyle_heightStyle = $;
},
EngineStrutStyle: function EngineStrutStyle(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._fontFamily = t0;
_._fontFamilyFallback = t1;
_.__engine$_fontSize = t2;
_.__engine$_height = t3;
_._leading = t4;
_._fontWeight = t5;
_._fontStyle = t6;
_._forceStrutHeight = t7;
},
DomParagraphBuilder: function DomParagraphBuilder(t0, t1, t2, t3) {
var _ = this;
_._paragraphElement = t0;
_._paragraphStyle = t1;
_._ops = t2;
_._placeholderScales = t3;
},
DomParagraphBuilder__buildRichText_currentElement: function DomParagraphBuilder__buildRichText_currentElement(t0, t1) {
this.$this = t0;
this.elementStack = t1;
},
ParagraphGeometricStyle: function ParagraphGeometricStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
var _ = this;
_.textDirection = t0;
_.textAlign = t1;
_.fontWeight = t2;
_.fontStyle = t3;
_.fontFamily = t4;
_.fontSize = t5;
_.lineHeight = t6;
_.maxLines = t7;
_.letterSpacing = t8;
_.wordSpacing = t9;
_.decoration = t10;
_.ellipsis = t11;
_.shadows = t12;
_._cachedHeightStyle = _._cssFontString = _._cachedHashCode = null;
},
TextHeightStyle: function TextHeightStyle(t0, t1, t2, t3) {
var _ = this;
_.fontFamily = t0;
_.fontSize = t1;
_.height = t2;
_.fontFeatures = t3;
_.__TextHeightStyle_hashCode = $;
},
TextDimensions: function TextDimensions(t0) {
this.__engine$_element = t0;
this._cachedBoundingClientRect = null;
},
TextHeightRuler: function TextHeightRuler(t0, t1, t2) {
var _ = this;
_.textHeightStyle = t0;
_.rulerHost = t1;
_.__TextHeightRuler__host = _.__TextHeightRuler__probe = $;
_._dimensions = t2;
_.__TextHeightRuler_height = _.__TextHeightRuler_alphabeticBaseline = $;
},
ParagraphRuler: function ParagraphRuler(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.style = t0;
_.rulerManager = t1;
_._singleLineHost = t2;
_.singleLineDimensions = t3;
_._minIntrinsicHost = t4;
_.minIntrinsicDimensions = t5;
_._constrainedHost = t6;
_.constrainedDimensions = t7;
_.__ParagraphRuler__textHeightRuler = $;
_._hitCount = 0;
_._debugIsDisposed = false;
_.__engine$_paragraph = null;
_._measurementCache = t8;
_._mruList = t9;
},
MeasurementResult: function MeasurementResult(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
var _ = this;
_.constraintWidth = t0;
_.isSingleLine = t1;
_.width = t2;
_.height = t3;
_.naturalHeight = t4;
_.lineHeight = t5;
_.minIntrinsicWidth = t6;
_.maxIntrinsicWidth = t7;
_.alphabeticBaseline = t8;
_.ideographicBaseline = t9;
_.lines = t10;
_.placeholderBoxes = t11;
_.textAlign = t12;
_.textDirection = t13;
},
_ComparisonResult: function _ComparisonResult(t0) {
this.__engine$_name = t0;
},
UnicodeRange: function UnicodeRange(t0, t1, t2, t3) {
var _ = this;
_.start = t0;
_.end = t1;
_.property = t2;
_.$ti = t3;
},
UnicodePropertyLookup: function UnicodePropertyLookup(t0, t1, t2, t3) {
var _ = this;
_.ranges = t0;
_.defaultProperty = t1;
_._cache = t2;
_.$ti = t3;
},
WordCharProperty: function WordCharProperty(t0) {
this.__engine$_name = t0;
},
_FindBreakDirection: function _FindBreakDirection(t0) {
this.step = t0;
},
BrowserAutofillHints: function BrowserAutofillHints(t0) {
this._flutterToEngineMap = t0;
},
EngineInputType: function EngineInputType() {
},
TextInputType0: function TextInputType0() {
},
NumberInputType: function NumberInputType() {
},
DecimalInputType: function DecimalInputType() {
},
PhoneInputType: function PhoneInputType() {
},
EmailInputType: function EmailInputType() {
},
UrlInputType: function UrlInputType() {
},
MultilineInputType: function MultilineInputType() {
},
TextCapitalization: function TextCapitalization(t0) {
this.__engine$_name = t0;
},
TextCapitalizationConfig: function TextCapitalizationConfig(t0) {
this.textCapitalization = t0;
},
EngineAutofillForm: function EngineAutofillForm(t0, t1, t2, t3) {
var _ = this;
_.formElement = t0;
_.elements = t1;
_.items = t2;
_.formIdentifier = t3;
},
EngineAutofillForm_fromFrameworkMessage_closure: function EngineAutofillForm_fromFrameworkMessage_closure() {
},
EngineAutofillForm_addInputEventListeners_closure: function EngineAutofillForm_addInputEventListeners_closure(t0, t1) {
this.$this = t0;
this.subscriptions = t1;
},
EngineAutofillForm_addInputEventListeners__closure: function EngineAutofillForm_addInputEventListeners__closure(t0, t1, t2) {
this.$this = t0;
this.key = t1;
this.element = t2;
},
AutofillInfo: function AutofillInfo(t0, t1, t2, t3) {
var _ = this;
_.editingState = t0;
_.uniqueIdentifier = t1;
_.textCapitalization = t2;
_.hint = t3;
},
EditingState: function EditingState(t0, t1, t2) {
this.text = t0;
this.baseOffset = t1;
this.extentOffset = t2;
},
InputConfiguration: function InputConfiguration(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.inputType = t0;
_.inputAction = t1;
_.readOnly = t2;
_.obscureText = t3;
_.autocorrect = t4;
_.autofill = t5;
_.autofillGroup = t6;
_.textCapitalization = t7;
},
GloballyPositionedTextEditingStrategy: function GloballyPositionedTextEditingStrategy(t0, t1) {
var _ = this;
_.owner = t0;
_.isEnabled = false;
_.domElement = null;
_.__DefaultTextEditingStrategy__inputConfiguration = $;
_._onAction = _._onChange = _.__engine$_geometry = _._style = _._lastEditingState = null;
_.__engine$_subscriptions = t1;
_._appendedToForm = false;
},
SafariDesktopTextEditingStrategy: function SafariDesktopTextEditingStrategy(t0, t1) {
var _ = this;
_.owner = t0;
_.isEnabled = false;
_.domElement = null;
_.__DefaultTextEditingStrategy__inputConfiguration = $;
_._onAction = _._onChange = _.__engine$_geometry = _._style = _._lastEditingState = null;
_.__engine$_subscriptions = t1;
_._appendedToForm = false;
},
DefaultTextEditingStrategy: function DefaultTextEditingStrategy() {
},
DefaultTextEditingStrategy_addEventHandlers_closure: function DefaultTextEditingStrategy_addEventHandlers_closure(t0) {
this.$this = t0;
},
DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure: function DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure() {
},
DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure0: function DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure0() {
},
DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure1: function DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure1() {
},
IOSTextEditingStrategy: function IOSTextEditingStrategy(t0, t1) {
var _ = this;
_._positionInputElementTimer = null;
_._canPosition = true;
_.owner = t0;
_.isEnabled = false;
_.domElement = null;
_.__DefaultTextEditingStrategy__inputConfiguration = $;
_._onAction = _._onChange = _.__engine$_geometry = _._style = _._lastEditingState = null;
_.__engine$_subscriptions = t1;
_._appendedToForm = false;
},
IOSTextEditingStrategy_addEventHandlers_closure: function IOSTextEditingStrategy_addEventHandlers_closure(t0) {
this.$this = t0;
},
IOSTextEditingStrategy_addEventHandlers_closure0: function IOSTextEditingStrategy_addEventHandlers_closure0(t0) {
this.$this = t0;
},
IOSTextEditingStrategy__addTapListener_closure: function IOSTextEditingStrategy__addTapListener_closure(t0) {
this.$this = t0;
},
IOSTextEditingStrategy__schedulePlacement_closure: function IOSTextEditingStrategy__schedulePlacement_closure(t0) {
this.$this = t0;
},
AndroidTextEditingStrategy: function AndroidTextEditingStrategy(t0, t1) {
var _ = this;
_.owner = t0;
_.isEnabled = false;
_.domElement = null;
_.__DefaultTextEditingStrategy__inputConfiguration = $;
_._onAction = _._onChange = _.__engine$_geometry = _._style = _._lastEditingState = null;
_.__engine$_subscriptions = t1;
_._appendedToForm = false;
},
AndroidTextEditingStrategy_addEventHandlers_closure: function AndroidTextEditingStrategy_addEventHandlers_closure(t0) {
this.$this = t0;
},
FirefoxTextEditingStrategy: function FirefoxTextEditingStrategy(t0, t1) {
var _ = this;
_.owner = t0;
_.isEnabled = false;
_.domElement = null;
_.__DefaultTextEditingStrategy__inputConfiguration = $;
_._onAction = _._onChange = _.__engine$_geometry = _._style = _._lastEditingState = null;
_.__engine$_subscriptions = t1;
_._appendedToForm = false;
},
FirefoxTextEditingStrategy_addEventHandlers_closure: function FirefoxTextEditingStrategy_addEventHandlers_closure(t0) {
this.$this = t0;
},
FirefoxTextEditingStrategy_addEventHandlers_closure0: function FirefoxTextEditingStrategy_addEventHandlers_closure0(t0) {
this.$this = t0;
},
FirefoxTextEditingStrategy__postponeFocus_closure: function FirefoxTextEditingStrategy__postponeFocus_closure(t0) {
this.$this = t0;
},
TextInputCommand: function TextInputCommand() {
},
TextInputSetClient: function TextInputSetClient(t0, t1) {
this.clientId = t0;
this.configuration = t1;
},
TextInputUpdateConfig: function TextInputUpdateConfig() {
},
TextInputSetEditingState: function TextInputSetEditingState(t0) {
this.state = t0;
},
TextInputShow: function TextInputShow() {
},
TextInputSetEditableSizeAndTransform: function TextInputSetEditableSizeAndTransform(t0) {
this.geometry = t0;
},
TextInputSetStyle: function TextInputSetStyle(t0) {
this.style = t0;
},
TextInputClearClient: function TextInputClearClient() {
},
TextInputHide: function TextInputHide() {
},
TextInputSetMarkedTextRect: function TextInputSetMarkedTextRect() {
},
TextInputSetCaretRect: function TextInputSetCaretRect() {
},
TextInputFinishAutofillContext: function TextInputFinishAutofillContext(t0) {
this.saveForm = t0;
},
saveForms_closure: function saveForms_closure() {
},
TextEditingChannel: function TextEditingChannel(t0) {
this.implementation = t0;
},
TextEditingChannel_handleTextInput__command_set: function TextEditingChannel_handleTextInput__command_set(t0) {
this._box_0 = t0;
},
TextEditingChannel_handleTextInput__command_get: function TextEditingChannel_handleTextInput__command_get(t0) {
this._box_0 = t0;
},
TextEditingChannel_handleTextInput_closure: function TextEditingChannel_handleTextInput_closure(t0) {
this.callback = t0;
},
HybridTextEditing: function HybridTextEditing() {
var _ = this;
_.__HybridTextEditing_channel = $;
_.__engine$_clientId = null;
_.isEditing = false;
_.configuration = null;
_.__HybridTextEditing_strategy = $;
},
HybridTextEditing__startEditing_closure0: function HybridTextEditing__startEditing_closure0(t0) {
this.$this = t0;
},
HybridTextEditing__startEditing_closure: function HybridTextEditing__startEditing_closure(t0) {
this.$this = t0;
},
EditableTextStyle: function EditableTextStyle(t0, t1, t2, t3, t4) {
var _ = this;
_.fontSize = t0;
_.fontWeight = t1;
_.fontFamily = t2;
_.textAlign = t3;
_.textDirection = t4;
},
EditableTextGeometry: function EditableTextGeometry(t0, t1, t2) {
this.width = t0;
this.height = t1;
this.globalTransform = t2;
},
TransformKind: function TransformKind(t0) {
this.__engine$_name = t0;
},
Matrix40: function Matrix40(t0) {
this.__engine$_m4storage = t0;
},
Vector30: function Vector30(t0) {
this.__engine$_v3storage = t0;
},
WebExperiments: function WebExperiments() {
this._useCanvasRichText = this._useCanvasText = true;
},
WebExperiments$__closure: function WebExperiments$__closure() {
},
EngineFlutterWindow: function EngineFlutterWindow() {
},
EngineFlutterWindow_closure: function EngineFlutterWindow_closure() {
},
EngineSingletonFlutterWindow: function EngineSingletonFlutterWindow(t0, t1, t2) {
var _ = this;
_._debugDevicePixelRatio = null;
_._windowId = t0;
_.platformDispatcher = t1;
_._browserHistory = null;
_._usingRouter = false;
_._viewInsets = t2;
_._physicalSize = null;
},
WindowPadding: function WindowPadding(t0, t1, t2, t3) {
var _ = this;
_.left = t0;
_.top = t1;
_.right = t2;
_.bottom = t3;
},
_DomCanvas_EngineCanvas_SaveElementStackTracking: function _DomCanvas_EngineCanvas_SaveElementStackTracking() {
},
_PersistedClipRRect_PersistedContainerSurface__DomClip: function _PersistedClipRRect_PersistedContainerSurface__DomClip() {
},
_PersistedClipRect_PersistedContainerSurface__DomClip: function _PersistedClipRect_PersistedContainerSurface__DomClip() {
},
_PersistedPhysicalShape_PersistedContainerSurface__DomClip: function _PersistedPhysicalShape_PersistedContainerSurface__DomClip() {
},
__MouseAdapter__BaseAdapter__WheelEventListenerMixin: function __MouseAdapter__BaseAdapter__WheelEventListenerMixin() {
},
__PointerAdapter__BaseAdapter__WheelEventListenerMixin: function __PointerAdapter__BaseAdapter__WheelEventListenerMixin() {
},
JS_CONST: function JS_CONST() {
},
HttpException$: function(message, uri) {
return new H.HttpException(message, uri);
},
_HeaderValue__isToken: function(token) {
var i, codeUnit,
t1 = token.length;
if (t1 === 0)
return false;
for (i = 0; i < t1; ++i) {
codeUnit = C.JSString_methods._codeUnitAt$1(token, i);
if (codeUnit <= 32 || codeUnit >= 127 || C.JSString_methods.indexOf$1('"(),/:;<=>?@[]{}', token[i]) >= 0)
return false;
}
return true;
},
HttpException: function HttpException(t0, t1) {
this.message = t0;
this.uri = t1;
},
_HeaderValue: function _HeaderValue() {
},
_HeaderValue_toString_closure: function _HeaderValue_toString_closure(t0) {
this.sb = t0;
},
_HeaderValue__parse_done: function _HeaderValue__parse_done(t0, t1) {
this._box_0 = t0;
this.s = t1;
},
_HeaderValue__parse_skipWS: function _HeaderValue__parse_skipWS(t0, t1, t2) {
this._box_0 = t0;
this.done = t1;
this.s = t2;
},
_HeaderValue__parse_parseValue: function _HeaderValue__parse_parseValue(t0, t1, t2, t3, t4) {
var _ = this;
_._box_0 = t0;
_.done = t1;
_.s = t2;
_.valueSeparator = t3;
_.parameterSeparator = t4;
},
_HeaderValue__parse_expect: function _HeaderValue__parse_expect(t0, t1, t2) {
this._box_0 = t0;
this.done = t1;
this.s = t2;
},
_HeaderValue__parse_maybeExpect: function _HeaderValue__parse_maybeExpect(t0, t1, t2) {
this._box_0 = t0;
this.done = t1;
this.s = t2;
},
_HeaderValue__parse_parseParameters: function _HeaderValue__parse_parseParameters(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.done = t2;
_.s = t3;
_.parameterSeparator = t4;
_.valueSeparator = t5;
_.preserveBackslash = t6;
_.parseValue = t7;
_.skipWS = t8;
_.maybeExpect = t9;
_.expect = t10;
},
_HeaderValue__parse_parseParameters_parseParameterName: function _HeaderValue__parse_parseParameters_parseParameterName(t0, t1, t2, t3, t4) {
var _ = this;
_._box_0 = t0;
_.done = t1;
_.s = t2;
_.parameterSeparator = t3;
_.valueSeparator = t4;
},
_HeaderValue__parse_parseParameters_parseParameterValue: function _HeaderValue__parse_parseParameters_parseParameterValue(t0, t1, t2, t3, t4) {
var _ = this;
_._box_0 = t0;
_.done = t1;
_.s = t2;
_.preserveBackslash = t3;
_.parseValue = t4;
},
_ContentType: function _ContentType() {
var _ = this;
_.__http$_value = _._subType = _._primaryType = "";
_._parameters = null;
},
createSentinel: function() {
return $;
},
CastIterable_CastIterable: function(source, $S, $T) {
if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
return new H._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
return new H.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
},
LateError$fieldADI: function(fieldName) {
return new H.LateError("Field '" + fieldName + "' has been assigned during initialization.");
},
LateError$fieldNI: function(fieldName) {
return new H.LateError("Field '" + fieldName + "' has not been initialized.");
},
LateError$localNI: function(localName) {
return new H.LateError("Local '" + localName + "' has not been initialized.");
},
LateError$fieldAI: function(fieldName) {
return new H.LateError("Field '" + fieldName + "' has already been initialized.");
},
LateError$localAI: function(localName) {
return new H.LateError("Local '" + localName + "' has already been initialized.");
},
ReachabilityError$: function(_message) {
return new H.ReachabilityError(_message);
},
hexDigitValue: function(char) {
var letter,
digit = char ^ 48;
if (digit <= 9)
return digit;
letter = char | 32;
if (97 <= letter && letter <= 102)
return letter - 87;
return -1;
},
parseHexByte: function(source, index) {
var digit1 = H.hexDigitValue(C.JSString_methods.codeUnitAt$1(source, index)),
digit2 = H.hexDigitValue(C.JSString_methods.codeUnitAt$1(source, index + 1));
return digit1 * 16 + digit2 - (digit2 & 256);
},
SystemHash_combine: function(hash, value) {
hash = hash + value & 536870911;
hash = hash + ((hash & 524287) << 10) & 536870911;
return hash ^ hash >>> 6;
},
SystemHash_finish: function(hash) {
hash = hash + ((hash & 67108863) << 3) & 536870911;
hash ^= hash >>> 11;
return hash + ((hash & 16383) << 15) & 536870911;
},
checkNotNullable: function(value, $name, $T) {
if (value == null)
throw H.wrapException(new H.NotNullableError($name, $T._eval$1("NotNullableError<0>")));
return value;
},
SubListIterable$: function(_iterable, _start, _endOrLength, $E) {
P.RangeError_checkNotNegative(_start, "start");
if (_endOrLength != null) {
P.RangeError_checkNotNegative(_endOrLength, "end");
if (_start > _endOrLength)
H.throwExpression(P.RangeError$range(_start, 0, _endOrLength, "start", null));
}
return new H.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
},
MappedIterable_MappedIterable: function(iterable, $function, $S, $T) {
if (type$.EfficientLengthIterable_dynamic._is(iterable))
return new H.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
return new H.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
},
TakeIterable_TakeIterable: function(iterable, takeCount, $E) {
P.RangeError_checkNotNegative(takeCount, "takeCount");
if (type$.EfficientLengthIterable_dynamic._is(iterable))
return new H.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
return new H.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
},
SkipIterable_SkipIterable: function(iterable, count, $E) {
var _s5_ = "count";
if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
if (count == null)
H.throwExpression(P.ArgumentError$notNull(_s5_));
P.RangeError_checkNotNegative(count, _s5_);
return new H.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
}
if (count == null)
H.throwExpression(P.ArgumentError$notNull(_s5_));
P.RangeError_checkNotNegative(count, _s5_);
return new H.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
},
FollowedByIterable_FollowedByIterable$firstEfficient: function(first, second, $E) {
return new H.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
},
IterableElementError_noElement: function() {
return new P.StateError("No element");
},
IterableElementError_tooMany: function() {
return new P.StateError("Too many elements");
},
IterableElementError_tooFew: function() {
return new P.StateError("Too few elements");
},
Sort_sort: function(a, compare) {
H.Sort__doSort(a, 0, J.get$length$asx(a) - 1, compare);
},
Sort__doSort: function(a, left, right, compare) {
if (right - left <= 32)
H.Sort__insertionSort(a, left, right, compare);
else
H.Sort__dualPivotQuicksort(a, left, right, compare);
},
Sort__insertionSort: function(a, left, right, compare) {
var i, t1, el, j, j0;
for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
el = t1.$index(a, i);
j = i;
while (true) {
if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
break;
j0 = j - 1;
t1.$indexSet(a, j, t1.$index(a, j0));
j = j0;
}
t1.$indexSet(a, j, el);
}
},
Sort__dualPivotQuicksort: function(a, left, right, compare) {
var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, t2,
sixth = C.JSInt_methods._tdivFast$1(right - left + 1, 6),
index1 = left + sixth,
index5 = right - sixth,
index3 = C.JSInt_methods._tdivFast$1(left + right, 2),
index2 = index3 - sixth,
index4 = index3 + sixth,
t1 = J.getInterceptor$asx(a),
el1 = t1.$index(a, index1),
el2 = t1.$index(a, index2),
el3 = t1.$index(a, index3),
el4 = t1.$index(a, index4),
el5 = t1.$index(a, index5);
if (compare.call$2(el1, el2) > 0) {
t0 = el2;
el2 = el1;
el1 = t0;
}
if (compare.call$2(el4, el5) > 0) {
t0 = el5;
el5 = el4;
el4 = t0;
}
if (compare.call$2(el1, el3) > 0) {
t0 = el3;
el3 = el1;
el1 = t0;
}
if (compare.call$2(el2, el3) > 0) {
t0 = el3;
el3 = el2;
el2 = t0;
}
if (compare.call$2(el1, el4) > 0) {
t0 = el4;
el4 = el1;
el1 = t0;
}
if (compare.call$2(el3, el4) > 0) {
t0 = el4;
el4 = el3;
el3 = t0;
}
if (compare.call$2(el2, el5) > 0) {
t0 = el5;
el5 = el2;
el2 = t0;
}
if (compare.call$2(el2, el3) > 0) {
t0 = el3;
el3 = el2;
el2 = t0;
}
if (compare.call$2(el4, el5) > 0) {
t0 = el5;
el5 = el4;
el4 = t0;
}
t1.$indexSet(a, index1, el1);
t1.$indexSet(a, index3, el3);
t1.$indexSet(a, index5, el5);
t1.$indexSet(a, index2, t1.$index(a, left));
t1.$indexSet(a, index4, t1.$index(a, right));
less = left + 1;
great = right - 1;
if (J.$eq$(compare.call$2(el2, el4), 0)) {
for (k = less; k <= great; ++k) {
ak = t1.$index(a, k);
comp = compare.call$2(ak, el2);
if (comp === 0)
continue;
if (comp < 0) {
if (k !== less) {
t1.$indexSet(a, k, t1.$index(a, less));
t1.$indexSet(a, less, ak);
}
++less;
} else
for (; true;) {
comp = compare.call$2(t1.$index(a, great), el2);
if (comp > 0) {
--great;
continue;
} else {
great0 = great - 1;
if (comp < 0) {
t1.$indexSet(a, k, t1.$index(a, less));
less0 = less + 1;
t1.$indexSet(a, less, t1.$index(a, great));
t1.$indexSet(a, great, ak);
great = great0;
less = less0;
break;
} else {
t1.$indexSet(a, k, t1.$index(a, great));
t1.$indexSet(a, great, ak);
great = great0;
break;
}
}
}
}
pivots_are_equal = true;
} else {
for (k = less; k <= great; ++k) {
ak = t1.$index(a, k);
if (compare.call$2(ak, el2) < 0) {
if (k !== less) {
t1.$indexSet(a, k, t1.$index(a, less));
t1.$indexSet(a, less, ak);
}
++less;
} else if (compare.call$2(ak, el4) > 0)
for (; true;)
if (compare.call$2(t1.$index(a, great), el4) > 0) {
--great;
if (great < k)
break;
continue;
} else {
great0 = great - 1;
if (compare.call$2(t1.$index(a, great), el2) < 0) {
t1.$indexSet(a, k, t1.$index(a, less));
less0 = less + 1;
t1.$indexSet(a, less, t1.$index(a, great));
t1.$indexSet(a, great, ak);
less = less0;
} else {
t1.$indexSet(a, k, t1.$index(a, great));
t1.$indexSet(a, great, ak);
}
great = great0;
break;
}
}
pivots_are_equal = false;
}
t2 = less - 1;
t1.$indexSet(a, left, t1.$index(a, t2));
t1.$indexSet(a, t2, el2);
t2 = great + 1;
t1.$indexSet(a, right, t1.$index(a, t2));
t1.$indexSet(a, t2, el4);
H.Sort__doSort(a, left, less - 2, compare);
H.Sort__doSort(a, great + 2, right, compare);
if (pivots_are_equal)
return;
if (less < index1 && great > index5) {
for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
++less;
for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
--great;
for (k = less; k <= great; ++k) {
ak = t1.$index(a, k);
if (compare.call$2(ak, el2) === 0) {
if (k !== less) {
t1.$indexSet(a, k, t1.$index(a, less));
t1.$indexSet(a, less, ak);
}
++less;
} else if (compare.call$2(ak, el4) === 0)
for (; true;)
if (compare.call$2(t1.$index(a, great), el4) === 0) {
--great;
if (great < k)
break;
continue;
} else {
great0 = great - 1;
if (compare.call$2(t1.$index(a, great), el2) < 0) {
t1.$indexSet(a, k, t1.$index(a, less));
less0 = less + 1;
t1.$indexSet(a, less, t1.$index(a, great));
t1.$indexSet(a, great, ak);
less = less0;
} else {
t1.$indexSet(a, k, t1.$index(a, great));
t1.$indexSet(a, great, ak);
}
great = great0;
break;
}
}
H.Sort__doSort(a, less, great, compare);
} else
H.Sort__doSort(a, less, great, compare);
},
_CopyingBytesBuilder: function _CopyingBytesBuilder(t0) {
this._length = 0;
this._buffer = t0;
},
_CastIterableBase: function _CastIterableBase() {
},
CastIterator: function CastIterator(t0, t1) {
this._source = t0;
this.$ti = t1;
},
CastIterable: function CastIterable(t0, t1) {
this._source = t0;
this.$ti = t1;
},
_EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
this._source = t0;
this.$ti = t1;
},
_CastListBase: function _CastListBase() {
},
_CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
this.$this = t0;
this.compare = t1;
},
_CastListBase_removeWhere_closure: function _CastListBase_removeWhere_closure(t0, t1) {
this.$this = t0;
this.test = t1;
},
_CastListBase_retainWhere_closure: function _CastListBase_retainWhere_closure(t0, t1) {
this.$this = t0;
this.test = t1;
},
CastList: function CastList(t0, t1) {
this._source = t0;
this.$ti = t1;
},
CastMap: function CastMap(t0, t1) {
this._source = t0;
this.$ti = t1;
},
CastMap_putIfAbsent_closure: function CastMap_putIfAbsent_closure(t0, t1) {
this.$this = t0;
this.ifAbsent = t1;
},
CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
this.$this = t0;
this.f = t1;
},
CastMap_entries_closure: function CastMap_entries_closure(t0) {
this.$this = t0;
},
LateError: function LateError(t0) {
this.__internal$_message = t0;
},
ReachabilityError: function ReachabilityError(t0) {
this.__internal$_message = t0;
},
CodeUnits: function CodeUnits(t0) {
this.__internal$_string = t0;
},
nullFuture_closure: function nullFuture_closure() {
},
NotNullableError: function NotNullableError(t0, t1) {
this.__internal$_name = t0;
this.$ti = t1;
},
EfficientLengthIterable: function EfficientLengthIterable() {
},
ListIterable: function ListIterable() {
},
SubListIterable: function SubListIterable(t0, t1, t2, t3) {
var _ = this;
_._iterable = t0;
_._start = t1;
_._endOrLength = t2;
_.$ti = t3;
},
ListIterator: function ListIterator(t0, t1, t2) {
var _ = this;
_._iterable = t0;
_._length = t1;
_.__internal$_index = 0;
_.__internal$_current = null;
_.$ti = t2;
},
MappedIterable: function MappedIterable(t0, t1, t2) {
this._iterable = t0;
this._f = t1;
this.$ti = t2;
},
EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
this._iterable = t0;
this._f = t1;
this.$ti = t2;
},
MappedIterator: function MappedIterator(t0, t1, t2) {
var _ = this;
_.__internal$_current = null;
_._iterator = t0;
_._f = t1;
_.$ti = t2;
},
MappedListIterable: function MappedListIterable(t0, t1, t2) {
this._source = t0;
this._f = t1;
this.$ti = t2;
},
WhereIterable: function WhereIterable(t0, t1, t2) {
this._iterable = t0;
this._f = t1;
this.$ti = t2;
},
WhereIterator: function WhereIterator(t0, t1, t2) {
this._iterator = t0;
this._f = t1;
this.$ti = t2;
},
ExpandIterable: function ExpandIterable(t0, t1, t2) {
this._iterable = t0;
this._f = t1;
this.$ti = t2;
},
ExpandIterator: function ExpandIterator(t0, t1, t2, t3) {
var _ = this;
_._iterator = t0;
_._f = t1;
_._currentExpansion = t2;
_.__internal$_current = null;
_.$ti = t3;
},
TakeIterable: function TakeIterable(t0, t1, t2) {
this._iterable = t0;
this._takeCount = t1;
this.$ti = t2;
},
EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
this._iterable = t0;
this._takeCount = t1;
this.$ti = t2;
},
TakeIterator: function TakeIterator(t0, t1, t2) {
this._iterator = t0;
this._remaining = t1;
this.$ti = t2;
},
SkipIterable: function SkipIterable(t0, t1, t2) {
this._iterable = t0;
this._skipCount = t1;
this.$ti = t2;
},
EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
this._iterable = t0;
this._skipCount = t1;
this.$ti = t2;
},
SkipIterator: function SkipIterator(t0, t1, t2) {
this._iterator = t0;
this._skipCount = t1;
this.$ti = t2;
},
SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
this._iterable = t0;
this._f = t1;
this.$ti = t2;
},
SkipWhileIterator: function SkipWhileIterator(t0, t1, t2) {
var _ = this;
_._iterator = t0;
_._f = t1;
_._hasSkipped = false;
_.$ti = t2;
},
EmptyIterable: function EmptyIterable(t0) {
this.$ti = t0;
},
EmptyIterator: function EmptyIterator(t0) {
this.$ti = t0;
},
FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
this.__internal$_first = t0;
this._second = t1;
this.$ti = t2;
},
FollowedByIterator: function FollowedByIterator(t0, t1, t2) {
this._currentIterator = t0;
this._nextIterable = t1;
this.$ti = t2;
},
WhereTypeIterable: function WhereTypeIterable(t0, t1) {
this._source = t0;
this.$ti = t1;
},
WhereTypeIterator: function WhereTypeIterator(t0, t1) {
this._source = t0;
this.$ti = t1;
},
FixedLengthListMixin: function FixedLengthListMixin() {
},
UnmodifiableListMixin: function UnmodifiableListMixin() {
},
UnmodifiableListBase: function UnmodifiableListBase() {
},
_ListIndicesIterable: function _ListIndicesIterable(t0) {
this._backedList = t0;
},
ListMapView: function ListMapView(t0, t1) {
this._values = t0;
this.$ti = t1;
},
ReversedListIterable: function ReversedListIterable(t0, t1) {
this._source = t0;
this.$ti = t1;
},
Symbol: function Symbol(t0) {
this.__internal$_name = t0;
},
__CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
},
ConstantMap__throwUnmodifiable: function() {
throw H.wrapException(P.UnsupportedError$("Cannot modify unmodifiable Map"));
},
instantiate1: function(f, T1) {
var t1 = new H.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
t1.Instantiation$1(f);
return t1;
},
unminifyOrTag: function(rawClassName) {
var preserved = H.unmangleGlobalNameIfPreservedAnyways(rawClassName);
if (preserved != null)
return preserved;
return rawClassName;
},
isJsIndexable: function(object, record) {
var result;
if (record != null) {
result = record.x;
if (result != null)
return result;
}
return type$.JavaScriptIndexingBehavior_dynamic._is(object);
},
S: function(value) {
var res;
if (typeof value == "string")
return value;
if (typeof value == "number") {
if (value !== 0)
return "" + value;
} else if (true === value)
return "true";
else if (false === value)
return "false";
else if (value == null)
return "null";
res = J.toString$0$(value);
if (typeof res != "string")
throw H.wrapException(H.argumentErrorValue(value));
return res;
},
Primitives_objectHashCode: function(object) {
var hash = object.$identityHash;
if (hash == null) {
hash = Math.random() * 0x3fffffff | 0;
object.$identityHash = hash;
}
return hash;
},
Primitives_parseInt: function(source, radix) {
var match, decimalMatch, maxCharCode, digitsPart, t1, i, _null = null;
if (typeof source != "string")
H.throwExpression(H.argumentErrorValue(source));
match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
if (match == null)
return _null;
decimalMatch = match[3];
if (radix == null) {
if (decimalMatch != null)
return parseInt(source, 10);
if (match[2] != null)
return parseInt(source, 16);
return _null;
}
if (radix < 2 || radix > 36)
throw H.wrapException(P.RangeError$range(radix, 2, 36, "radix", _null));
if (radix === 10 && decimalMatch != null)
return parseInt(source, 10);
if (radix < 10 || decimalMatch == null) {
maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
digitsPart = match[1];
for (t1 = digitsPart.length, i = 0; i < t1; ++i)
if ((C.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode)
return _null;
}
return parseInt(source, radix);
},
Primitives_parseDouble: function(source) {
var result, trimmed;
if (typeof source != "string")
H.throwExpression(H.argumentErrorValue(source));
if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
return null;
result = parseFloat(source);
if (isNaN(result)) {
trimmed = J.trim$0$s(source);
if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
return result;
return null;
}
return result;
},
Primitives_objectTypeName: function(object) {
return H.Primitives__objectTypeNameNewRti(object);
},
Primitives__objectTypeNameNewRti: function(object) {
var dispatchName, t1, $constructor, constructorName;
if (object instanceof P.Object)
return H._rtiToString(H.instanceType(object), null);
if (J.getInterceptor$(object) === C.Interceptor_methods || type$.UnknownJavaScriptObject._is(object)) {
dispatchName = C.C_JS_CONST(object);
t1 = dispatchName !== "Object" && dispatchName !== "";
if (t1)
return dispatchName;
$constructor = object.constructor;
if (typeof $constructor == "function") {
constructorName = $constructor.name;
if (typeof constructorName == "string")
t1 = constructorName !== "Object" && constructorName !== "";
else
t1 = false;
if (t1)
return constructorName;
}
}
return H._rtiToString(H.instanceType(object), null);
},
Primitives_dateNow: function() {
return Date.now();
},
Primitives_initTicker: function() {
var $window, performance;
if ($.Primitives_timerFrequency !== 0)
return;
$.Primitives_timerFrequency = 1000;
if (typeof window == "undefined")
return;
$window = window;
if ($window == null)
return;
performance = $window.performance;
if (performance == null)
return;
if (typeof performance.now != "function")
return;
$.Primitives_timerFrequency = 1000000;
$.Primitives_timerTicks = new H.Primitives_initTicker_closure(performance);
},
Primitives_currentUri: function() {
if (!!self.location)
return self.location.href;
return null;
},
Primitives__fromCharCodeApply: function(array) {
var result, i, i0, chunkEnd,
end = array.length;
if (end <= 500)
return String.fromCharCode.apply(null, array);
for (result = "", i = 0; i < end; i = i0) {
i0 = i + 500;
chunkEnd = i0 < end ? i0 : end;
result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
}
return result;
},
Primitives_stringFromCodePoints: function(codePoints) {
var t1, _i, i,
a = H.setRuntimeTypeInfo([], type$.JSArray_int);
for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, H.throwConcurrentModificationError)(codePoints), ++_i) {
i = codePoints[_i];
if (!H._isInt(i))
throw H.wrapException(H.argumentErrorValue(i));
if (i <= 65535)
a.push(i);
else if (i <= 1114111) {
a.push(55296 + (C.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
a.push(56320 + (i & 1023));
} else
throw H.wrapException(H.argumentErrorValue(i));
}
return H.Primitives__fromCharCodeApply(a);
},
Primitives_stringFromCharCodes: function(charCodes) {
var t1, _i, i;
for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
i = charCodes[_i];
if (!H._isInt(i))
throw H.wrapException(H.argumentErrorValue(i));
if (i < 0)
throw H.wrapException(H.argumentErrorValue(i));
if (i > 65535)
return H.Primitives_stringFromCodePoints(charCodes);
}
return H.Primitives__fromCharCodeApply(charCodes);
},
Primitives_stringFromNativeUint8List: function(charCodes, start, end) {
var i, result, i0, chunkEnd;
if (end <= 500 && start === 0 && end === charCodes.length)
return String.fromCharCode.apply(null, charCodes);
for (i = start, result = ""; i < end; i = i0) {
i0 = i + 500;
chunkEnd = i0 < end ? i0 : end;
result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
}
return result;
},
Primitives_stringFromCharCode: function(charCode) {
var bits;
if (0 <= charCode) {
if (charCode <= 65535)
return String.fromCharCode(charCode);
if (charCode <= 1114111) {
bits = charCode - 65536;
return String.fromCharCode((C.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
}
}
throw H.wrapException(P.RangeError$range(charCode, 0, 1114111, null, null));
},
Primitives_valueFromDecomposedDate: function(years, month, day, hours, minutes, seconds, milliseconds, isUtc) {
var jsMonth, value;
if (!H._isInt(years))
H.throwExpression(H.argumentErrorValue(years));
if (!H._isInt(month))
H.throwExpression(H.argumentErrorValue(month));
if (!H._isInt(day))
H.throwExpression(H.argumentErrorValue(day));
if (!H._isInt(hours))
H.throwExpression(H.argumentErrorValue(hours));
if (!H._isInt(minutes))
H.throwExpression(H.argumentErrorValue(minutes));
if (!H._isInt(seconds))
H.throwExpression(H.argumentErrorValue(seconds));
jsMonth = month - 1;
if (0 <= years && years < 100) {
years += 400;
jsMonth -= 4800;
}
value = isUtc ? Date.UTC(years, jsMonth, day, hours, minutes, seconds, milliseconds) : new Date(years, jsMonth, day, hours, minutes, seconds, milliseconds).valueOf();
if (isNaN(value) || value < -864e13 || value > 864e13)
return null;
return value;
},
Primitives_lazyAsJsDate: function(receiver) {
if (receiver.date === void 0)
receiver.date = new Date(receiver._value);
return receiver.date;
},
Primitives_getYear: function(receiver) {
return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCFullYear() + 0 : H.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
},
Primitives_getMonth: function(receiver) {
return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCMonth() + 1 : H.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
},
Primitives_getDay: function(receiver) {
return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCDate() + 0 : H.Primitives_lazyAsJsDate(receiver).getDate() + 0;
},
Primitives_getHours: function(receiver) {
return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCHours() + 0 : H.Primitives_lazyAsJsDate(receiver).getHours() + 0;
},
Primitives_getMinutes: function(receiver) {
return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCMinutes() + 0 : H.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
},
Primitives_getSeconds: function(receiver) {
return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCSeconds() + 0 : H.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
},
Primitives_getMilliseconds: function(receiver) {
return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : H.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
},
Primitives_getWeekday: function(receiver) {
return C.JSInt_methods.$mod((receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCDay() + 0 : H.Primitives_lazyAsJsDate(receiver).getDay() + 0) + 6, 7) + 1;
},
Primitives_getProperty: function(object, key) {
if (object == null || H._isBool(object) || typeof object == "number" || typeof object == "string")
throw H.wrapException(H.argumentErrorValue(object));
return object[key];
},
Primitives_setProperty: function(object, key, value) {
if (object == null || H._isBool(object) || typeof object == "number" || typeof object == "string")
throw H.wrapException(H.argumentErrorValue(object));
object[key] = value;
},
Primitives_functionNoSuchMethod: function($function, positionalArguments, namedArguments) {
var $arguments, namedArgumentList, t1 = {};
t1.argumentCount = 0;
$arguments = [];
namedArgumentList = [];
t1.argumentCount = positionalArguments.length;
C.JSArray_methods.addAll$1($arguments, positionalArguments);
t1.names = "";
if (namedArguments != null && !namedArguments.get$isEmpty(namedArguments))
namedArguments.forEach$1(0, new H.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
"" + t1.argumentCount;
return J.noSuchMethod$1$($function, new H.JSInvocationMirror(C.Symbol_call, 0, $arguments, namedArgumentList, 0));
},
Primitives_applyFunction: function($function, positionalArguments, namedArguments) {
var t1, $arguments, argumentCount, jsStub;
if (positionalArguments instanceof Array)
t1 = namedArguments == null || namedArguments.get$isEmpty(namedArguments);
else
t1 = false;
if (t1) {
$arguments = positionalArguments;
argumentCount = $arguments.length;
if (argumentCount === 0) {
if (!!$function.call$0)
return $function.call$0();
} else if (argumentCount === 1) {
if (!!$function.call$1)
return $function.call$1($arguments[0]);
} else if (argumentCount === 2) {
if (!!$function.call$2)
return $function.call$2($arguments[0], $arguments[1]);
} else if (argumentCount === 3) {
if (!!$function.call$3)
return $function.call$3($arguments[0], $arguments[1], $arguments[2]);
} else if (argumentCount === 4) {
if (!!$function.call$4)
return $function.call$4($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
} else if (argumentCount === 5)
if (!!$function.call$5)
return $function.call$5($arguments[0], $arguments[1], $arguments[2], $arguments[3], $arguments[4]);
jsStub = $function["call" + "$" + argumentCount];
if (jsStub != null)
return jsStub.apply($function, $arguments);
}
return H.Primitives__genericApplyFunction2($function, positionalArguments, namedArguments);
},
Primitives__genericApplyFunction2: function($function, positionalArguments, namedArguments) {
var $arguments, argumentCount, requiredParameterCount, defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, keys, _i, defaultValue, used, t2;
if (positionalArguments != null)
$arguments = positionalArguments instanceof Array ? positionalArguments : P.List_List$from(positionalArguments, true, type$.dynamic);
else
$arguments = [];
argumentCount = $arguments.length;
requiredParameterCount = $function.$requiredArgCount;
if (argumentCount < requiredParameterCount)
return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
defaultValuesClosure = $function.$defaultValues;
t1 = defaultValuesClosure == null;
defaultValues = !t1 ? defaultValuesClosure() : null;
interceptor = J.getInterceptor$($function);
jsFunction = interceptor["call*"];
if (typeof jsFunction == "string")
jsFunction = interceptor[jsFunction];
if (t1) {
if (namedArguments != null && namedArguments.get$isNotEmpty(namedArguments))
return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
if (argumentCount === requiredParameterCount)
return jsFunction.apply($function, $arguments);
return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
}
if (defaultValues instanceof Array) {
if (namedArguments != null && namedArguments.get$isNotEmpty(namedArguments))
return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
if (argumentCount > requiredParameterCount + defaultValues.length)
return H.Primitives_functionNoSuchMethod($function, $arguments, null);
C.JSArray_methods.addAll$1($arguments, defaultValues.slice(argumentCount - requiredParameterCount));
return jsFunction.apply($function, $arguments);
} else {
if (argumentCount > requiredParameterCount)
return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
keys = Object.keys(defaultValues);
if (namedArguments == null)
for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, H.throwConcurrentModificationError)(keys), ++_i) {
defaultValue = defaultValues[keys[_i]];
if (C.C__Required === defaultValue)
return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
C.JSArray_methods.add$1($arguments, defaultValue);
}
else {
for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, H.throwConcurrentModificationError)(keys), ++_i) {
t2 = keys[_i];
if (namedArguments.containsKey$1(0, t2)) {
++used;
C.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
} else {
defaultValue = defaultValues[t2];
if (C.C__Required === defaultValue)
return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
C.JSArray_methods.add$1($arguments, defaultValue);
}
}
if (used !== namedArguments.get$length(namedArguments))
return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
}
return jsFunction.apply($function, $arguments);
}
},
diagnoseIndexError: function(indexable, index) {
var $length, _s5_ = "index";
if (!H._isInt(index))
return new P.ArgumentError(true, index, _s5_, null);
$length = J.get$length$asx(indexable);
if (index < 0 || index >= $length)
return P.IndexError$(index, indexable, _s5_, null, $length);
return P.RangeError$value(index, _s5_, null);
},
diagnoseRangeError: function(start, end, $length) {
var _null = null;
if (!H._isInt(start))
return new P.ArgumentError(true, start, "start", _null);
if (start < 0 || start > $length)
return P.RangeError$range(start, 0, $length, "start", _null);
if (end != null)
if (end < start || end > $length)
return P.RangeError$range(end, start, $length, "end", _null);
return new P.ArgumentError(true, end, "end", _null);
},
argumentErrorValue: function(object) {
return new P.ArgumentError(true, object, null, null);
},
checkNum: function(value) {
if (typeof value != "number")
throw H.wrapException(H.argumentErrorValue(value));
return value;
},
wrapException: function(ex) {
var wrapper, t1;
if (ex == null)
ex = new P.NullThrownError();
wrapper = new Error();
wrapper.dartException = ex;
t1 = H.toStringWrapper;
if ("defineProperty" in Object) {
Object.defineProperty(wrapper, "message", {get: t1});
wrapper.name = "";
} else
wrapper.toString = t1;
return wrapper;
},
toStringWrapper: function() {
return J.toString$0$(this.dartException);
},
throwExpression: function(ex) {
throw H.wrapException(ex);
},
throwConcurrentModificationError: function(collection) {
throw H.wrapException(P.ConcurrentModificationError$(collection));
},
TypeErrorDecoder_extractPattern: function(message) {
var match, $arguments, argumentsExpr, expr, method, receiver;
message = H.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
match = message.match(/\\\$[a-zA-Z]+\\\$/g);
if (match == null)
match = H.setRuntimeTypeInfo([], type$.JSArray_String);
$arguments = match.indexOf("\\$arguments\\$");
argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
expr = match.indexOf("\\$expr\\$");
method = match.indexOf("\\$method\\$");
receiver = match.indexOf("\\$receiver\\$");
return new H.TypeErrorDecoder(message.replace(new RegExp("\\\\\\$arguments\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$", "g"), "((?:x|[^x])*)"), $arguments, argumentsExpr, expr, method, receiver);
},
TypeErrorDecoder_provokeCallErrorOn: function(expression) {
return function($expr$) {
var $argumentsExpr$ = "$arguments$";
try {
$expr$.$method$($argumentsExpr$);
} catch (e) {
return e.message;
}
}(expression);
},
TypeErrorDecoder_provokePropertyErrorOn: function(expression) {
return function($expr$) {
try {
$expr$.$method$;
} catch (e) {
return e.message;
}
}(expression);
},
JsNoSuchMethodError$: function(_message, match) {
var t1 = match == null,
t2 = t1 ? null : match.method;
return new H.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
},
unwrapException: function(ex) {
if (ex == null)
return new H.NullThrownFromJavaScriptException(ex);
if (ex instanceof H.ExceptionAndStackTrace)
return H.saveStackTrace(ex, ex.dartException);
if (typeof ex !== "object")
return ex;
if ("dartException" in ex)
return H.saveStackTrace(ex, ex.dartException);
return H._unwrapNonDartException(ex);
},
saveStackTrace: function(ex, error) {
if (type$.Error._is(error))
if (error.$thrownJsError == null)
error.$thrownJsError = ex;
return error;
},
_unwrapNonDartException: function(ex) {
var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null;
if (!("message" in ex))
return ex;
message = ex.message;
if ("number" in ex && typeof ex.number == "number") {
number = ex.number;
ieErrorCode = number & 65535;
if ((C.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
switch (ieErrorCode) {
case 438:
return H.saveStackTrace(ex, H.JsNoSuchMethodError$(H.S(message) + " (Error " + ieErrorCode + ")", _null));
case 445:
case 5007:
t1 = H.S(message) + " (Error " + ieErrorCode + ")";
return H.saveStackTrace(ex, new H.NullError(t1, _null));
}
}
if (ex instanceof TypeError) {
nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
$.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
match = nsme.matchTypeError$1(message);
if (match != null)
return H.saveStackTrace(ex, H.JsNoSuchMethodError$(message, match));
else {
match = notClosure.matchTypeError$1(message);
if (match != null) {
match.method = "call";
return H.saveStackTrace(ex, H.JsNoSuchMethodError$(message, match));
} else {
match = nullCall.matchTypeError$1(message);
if (match == null) {
match = nullLiteralCall.matchTypeError$1(message);
if (match == null) {
match = undefCall.matchTypeError$1(message);
if (match == null) {
match = undefLiteralCall.matchTypeError$1(message);
if (match == null) {
match = nullProperty.matchTypeError$1(message);
if (match == null) {
match = nullLiteralCall.matchTypeError$1(message);
if (match == null) {
match = undefProperty.matchTypeError$1(message);
if (match == null) {
match = undefLiteralProperty.matchTypeError$1(message);
t1 = match != null;
} else
t1 = true;
} else
t1 = true;
} else
t1 = true;
} else
t1 = true;
} else
t1 = true;
} else
t1 = true;
} else
t1 = true;
if (t1)
return H.saveStackTrace(ex, new H.NullError(message, match == null ? _null : match.method));
}
}
return H.saveStackTrace(ex, new H.UnknownJsTypeError(typeof message == "string" ? message : ""));
}
if (ex instanceof RangeError) {
if (typeof message == "string" && message.indexOf("call stack") !== -1)
return new P.StackOverflowError();
message = function(ex) {
try {
return String(ex);
} catch (e) {
}
return null;
}(ex);
return H.saveStackTrace(ex, new P.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
}
if (typeof InternalError == "function" && ex instanceof InternalError)
if (typeof message == "string" && message === "too much recursion")
return new P.StackOverflowError();
return ex;
},
getTraceFromException: function(exception) {
var trace;
if (exception instanceof H.ExceptionAndStackTrace)
return exception.stackTrace;
if (exception == null)
return new H._StackTrace(exception);
trace = exception.$cachedTrace;
if (trace != null)
return trace;
return exception.$cachedTrace = new H._StackTrace(exception);
},
objectHashCode: function(object) {
if (object == null || typeof object != "object")
return J.get$hashCode$(object);
else
return H.Primitives_objectHashCode(object);
},
fillLiteralMap: function(keyValuePairs, result) {
var index, index0, index1,
$length = keyValuePairs.length;
for (index = 0; index < $length; index = index1) {
index0 = index + 1;
index1 = index0 + 1;
result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
}
return result;
},
fillLiteralSet: function(values, result) {
var index,
$length = values.length;
for (index = 0; index < $length; ++index)
result.add$1(0, values[index]);
return result;
},
invokeClosure: function(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
switch (numberOfArguments) {
case 0:
return closure.call$0();
case 1:
return closure.call$1(arg1);
case 2:
return closure.call$2(arg1, arg2);
case 3:
return closure.call$3(arg1, arg2, arg3);
case 4:
return closure.call$4(arg1, arg2, arg3, arg4);
}
throw H.wrapException(P.Exception_Exception("Unsupported number of arguments for wrapped closure"));
},
convertDartClosureToJS: function(closure, arity) {
var $function;
if (closure == null)
return null;
$function = closure.$identity;
if (!!$function)
return $function;
$function = function(closure, arity, invoke) {
return function(a1, a2, a3, a4) {
return invoke(closure, arity, a1, a2, a3, a4);
};
}(closure, arity, H.invokeClosure);
closure.$identity = $function;
return $function;
},
Closure_fromTearOff: function(receiver, functions, applyTrampolineIndex, reflectionInfo, isStatic, isIntercepted, propertyName) {
var $constructor, t1, trampoline, applyTrampoline, i, stub, stubCallName,
$function = functions[0],
callName = $function.$callName,
$prototype = isStatic ? Object.create(new H.StaticClosure().constructor.prototype) : Object.create(new H.BoundClosure(null, null, null, "").constructor.prototype);
$prototype.$initialize = $prototype.constructor;
if (isStatic)
$constructor = function static_tear_off() {
this.$initialize();
};
else {
t1 = $.Closure_functionCounter;
$.Closure_functionCounter = t1 + 1;
t1 = new Function("a,b,c,d" + t1, "this.$initialize(a,b,c,d" + t1 + ")");
$constructor = t1;
}
$prototype.constructor = $constructor;
$constructor.prototype = $prototype;
if (!isStatic) {
trampoline = H.Closure_forwardCallTo(receiver, $function, isIntercepted);
trampoline.$reflectionInfo = reflectionInfo;
} else {
$prototype.$static_name = propertyName;
trampoline = $function;
}
$prototype.$signature = H.Closure__computeSignatureFunctionNewRti(reflectionInfo, isStatic, isIntercepted);
$prototype[callName] = trampoline;
for (applyTrampoline = trampoline, i = 1; i < functions.length; ++i) {
stub = functions[i];
stubCallName = stub.$callName;
if (stubCallName != null) {
stub = isStatic ? stub : H.Closure_forwardCallTo(receiver, stub, isIntercepted);
$prototype[stubCallName] = stub;
}
if (i === applyTrampolineIndex) {
stub.$reflectionInfo = reflectionInfo;
applyTrampoline = stub;
}
}
$prototype["call*"] = applyTrampoline;
$prototype.$requiredArgCount = $function.$requiredArgCount;
$prototype.$defaultValues = $function.$defaultValues;
return $constructor;
},
Closure__computeSignatureFunctionNewRti: function(functionType, isStatic, isIntercepted) {
var typeEvalMethod;
if (typeof functionType == "number")
return function(getType, t) {
return function() {
return getType(t);
};
}(H.getTypeFromTypesTable, functionType);
if (typeof functionType == "string") {
if (isStatic)
throw H.wrapException("Cannot compute signature for static tearoff.");
typeEvalMethod = isIntercepted ? H.BoundClosure_evalRecipeIntercepted : H.BoundClosure_evalRecipe;
return function(recipe, evalOnReceiver) {
return function() {
return evalOnReceiver(this, recipe);
};
}(functionType, typeEvalMethod);
}
throw H.wrapException("Error in functionType of tearoff");
},
Closure_cspForwardCall: function(arity, isSuperCall, stubName, $function) {
var getSelf = H.BoundClosure_selfOf;
switch (isSuperCall ? -1 : arity) {
case 0:
return function(n, S) {
return function() {
return S(this)[n]();
};
}(stubName, getSelf);
case 1:
return function(n, S) {
return function(a) {
return S(this)[n](a);
};
}(stubName, getSelf);
case 2:
return function(n, S) {
return function(a, b) {
return S(this)[n](a, b);
};
}(stubName, getSelf);
case 3:
return function(n, S) {
return function(a, b, c) {
return S(this)[n](a, b, c);
};
}(stubName, getSelf);
case 4:
return function(n, S) {
return function(a, b, c, d) {
return S(this)[n](a, b, c, d);
};
}(stubName, getSelf);
case 5:
return function(n, S) {
return function(a, b, c, d, e) {
return S(this)[n](a, b, c, d, e);
};
}(stubName, getSelf);
default:
return function(f, s) {
return function() {
return f.apply(s(this), arguments);
};
}($function, getSelf);
}
},
Closure_forwardCallTo: function(receiver, $function, isIntercepted) {
var stubName, arity, lookedUpFunction, t1, t2, selfName, $arguments;
if (isIntercepted)
return H.Closure_forwardInterceptedCallTo(receiver, $function);
stubName = $function.$stubName;
arity = $function.length;
lookedUpFunction = receiver[stubName];
t1 = $function == null ? lookedUpFunction == null : $function === lookedUpFunction;
t2 = !t1 || arity >= 27;
if (t2)
return H.Closure_cspForwardCall(arity, !t1, stubName, $function);
if (arity === 0) {
t1 = $.Closure_functionCounter;
$.Closure_functionCounter = t1 + 1;
selfName = "self" + H.S(t1);
t1 = "return function(){var " + selfName + " = this.";
t2 = $.BoundClosure_selfFieldNameCache;
return new Function(t1 + (t2 == null ? $.BoundClosure_selfFieldNameCache = H.BoundClosure_computeFieldNamed("self") : t2) + ";return " + selfName + "." + H.S(stubName) + "();}")();
}
$arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity).join(",");
t1 = $.Closure_functionCounter;
$.Closure_functionCounter = t1 + 1;
$arguments += H.S(t1);
t1 = "return function(" + $arguments + "){return this.";
t2 = $.BoundClosure_selfFieldNameCache;
return new Function(t1 + (t2 == null ? $.BoundClosure_selfFieldNameCache = H.BoundClosure_computeFieldNamed("self") : t2) + "." + H.S(stubName) + "(" + $arguments + ");}")();
},
Closure_cspForwardInterceptedCall: function(arity, isSuperCall, $name, $function) {
var getSelf = H.BoundClosure_selfOf,
getReceiver = H.BoundClosure_receiverOf;
switch (isSuperCall ? -1 : arity) {
case 0:
throw H.wrapException(new H.RuntimeError("Intercepted function with no arguments."));
case 1:
return function(n, s, r) {
return function() {
return s(this)[n](r(this));
};
}($name, getSelf, getReceiver);
case 2:
return function(n, s, r) {
return function(a) {
return s(this)[n](r(this), a);
};
}($name, getSelf, getReceiver);
case 3:
return function(n, s, r) {
return function(a, b) {
return s(this)[n](r(this), a, b);
};
}($name, getSelf, getReceiver);
case 4:
return function(n, s, r) {
return function(a, b, c) {
return s(this)[n](r(this), a, b, c);
};
}($name, getSelf, getReceiver);
case 5:
return function(n, s, r) {
return function(a, b, c, d) {
return s(this)[n](r(this), a, b, c, d);
};
}($name, getSelf, getReceiver);
case 6:
return function(n, s, r) {
return function(a, b, c, d, e) {
return s(this)[n](r(this), a, b, c, d, e);
};
}($name, getSelf, getReceiver);
default:
return function(f, s, r, a) {
return function() {
a = [r(this)];
Array.prototype.push.apply(a, arguments);
return f.apply(s(this), a);
};
}($function, getSelf, getReceiver);
}
},
Closure_forwardInterceptedCallTo: function(receiver, $function) {
var receiverField, stubName, arity, lookedUpFunction, t1, t2, $arguments,
selfField = $.BoundClosure_selfFieldNameCache;
if (selfField == null)
selfField = $.BoundClosure_selfFieldNameCache = H.BoundClosure_computeFieldNamed("self");
receiverField = $.BoundClosure_receiverFieldNameCache;
if (receiverField == null)
receiverField = $.BoundClosure_receiverFieldNameCache = H.BoundClosure_computeFieldNamed("receiver");
stubName = $function.$stubName;
arity = $function.length;
lookedUpFunction = receiver[stubName];
t1 = $function == null ? lookedUpFunction == null : $function === lookedUpFunction;
t2 = !t1 || arity >= 28;
if (t2)
return H.Closure_cspForwardInterceptedCall(arity, !t1, stubName, $function);
if (arity === 1) {
t1 = "return function(){return this." + selfField + "." + H.S(stubName) + "(this." + receiverField + ");";
t2 = $.Closure_functionCounter;
$.Closure_functionCounter = t2 + 1;
return new Function(t1 + H.S(t2) + "}")();
}
$arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity - 1).join(",");
t1 = "return function(" + $arguments + "){return this." + selfField + "." + H.S(stubName) + "(this." + receiverField + ", " + $arguments + ");";
t2 = $.Closure_functionCounter;
$.Closure_functionCounter = t2 + 1;
return new Function(t1 + H.S(t2) + "}")();
},
closureFromTearOff: function(receiver, functions, applyTrampolineIndex, reflectionInfo, isStatic, isIntercepted, $name) {
return H.Closure_fromTearOff(receiver, functions, applyTrampolineIndex, reflectionInfo, !!isStatic, !!isIntercepted, $name);
},
BoundClosure_evalRecipe: function(closure, recipe) {
return H._Universe_evalInEnvironment(init.typeUniverse, H.instanceType(closure._self), recipe);
},
BoundClosure_evalRecipeIntercepted: function(closure, recipe) {
return H._Universe_evalInEnvironment(init.typeUniverse, H.instanceType(closure._receiver), recipe);
},
BoundClosure_selfOf: function(closure) {
return closure._self;
},
BoundClosure_receiverOf: function(closure) {
return closure._receiver;
},
BoundClosure_computeFieldNamed: function(fieldName) {
var t1, i, $name,
template = new H.BoundClosure("self", "target", "receiver", "name"),
names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
for (t1 = names.length, i = 0; i < t1; ++i) {
$name = names[i];
if (template[$name] === fieldName)
return $name;
}
throw H.wrapException(P.ArgumentError$("Field name " + fieldName + " not found."));
},
assertThrow: function(message) {
throw H.wrapException(new H._AssertionError(message));
},
throwCyclicInit: function(staticName) {
throw H.wrapException(new P.CyclicInitializationError(staticName));
},
getIsolateAffinityTag: function($name) {
return init.getIsolateTag($name);
},
assertUnreachable: function() {
throw H.wrapException(new H._UnreachableError(null));
},
throwLateInitializationError: function($name) {
return H.throwExpression(new H.LateError($name));
},
JsLinkedHashMap_JsLinkedHashMap$es6: function($K, $V) {
return new H.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
},
defineProperty: function(obj, property, value) {
Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
},
lookupAndCacheInterceptor: function(obj) {
var interceptor, interceptorClass, altTag, mark, t1,
tag = $.getTagFunction.call$1(obj),
record = $.dispatchRecordsForInstanceTags[tag];
if (record != null) {
Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
return record.i;
}
interceptor = $.interceptorsForUncacheableTags[tag];
if (interceptor != null)
return interceptor;
interceptorClass = init.interceptorsByTag[tag];
if (interceptorClass == null) {
altTag = $.alternateTagFunction.call$2(obj, tag);
if (altTag != null) {
record = $.dispatchRecordsForInstanceTags[altTag];
if (record != null) {
Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
return record.i;
}
interceptor = $.interceptorsForUncacheableTags[altTag];
if (interceptor != null)
return interceptor;
interceptorClass = init.interceptorsByTag[altTag];
tag = altTag;
}
}
if (interceptorClass == null)
return null;
interceptor = interceptorClass.prototype;
mark = tag[0];
if (mark === "!") {
record = H.makeLeafDispatchRecord(interceptor);
$.dispatchRecordsForInstanceTags[tag] = record;
Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
return record.i;
}
if (mark === "~") {
$.interceptorsForUncacheableTags[tag] = interceptor;
return interceptor;
}
if (mark === "-") {
t1 = H.makeLeafDispatchRecord(interceptor);
Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
return t1.i;
}
if (mark === "+")
return H.patchInteriorProto(obj, interceptor);
if (mark === "*")
throw H.wrapException(P.UnimplementedError$(tag));
if (init.leafTags[tag] === true) {
t1 = H.makeLeafDispatchRecord(interceptor);
Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
return t1.i;
} else
return H.patchInteriorProto(obj, interceptor);
},
patchInteriorProto: function(obj, interceptor) {
var proto = Object.getPrototypeOf(obj);
Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
return interceptor;
},
makeLeafDispatchRecord: function(interceptor) {
return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
},
makeDefaultDispatchRecord: function(tag, interceptorClass, proto) {
var interceptor = interceptorClass.prototype;
if (init.leafTags[tag] === true)
return H.makeLeafDispatchRecord(interceptor);
else
return J.makeDispatchRecord(interceptor, proto, null, null);
},
initNativeDispatch: function() {
if (true === $.initNativeDispatchFlag)
return;
$.initNativeDispatchFlag = true;
H.initNativeDispatchContinue();
},
initNativeDispatchContinue: function() {
var map, tags, fun, i, tag, proto, record, interceptorClass;
$.dispatchRecordsForInstanceTags = Object.create(null);
$.interceptorsForUncacheableTags = Object.create(null);
H.initHooks();
map = init.interceptorsByTag;
tags = Object.getOwnPropertyNames(map);
if (typeof window != "undefined") {
window;
fun = function() {
};
for (i = 0; i < tags.length; ++i) {
tag = tags[i];
proto = $.prototypeForTagFunction.call$1(tag);
if (proto != null) {
record = H.makeDefaultDispatchRecord(tag, map[tag], proto);
if (record != null) {
Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
fun.prototype = proto;
}
}
}
}
for (i = 0; i < tags.length; ++i) {
tag = tags[i];
if (/^[A-Za-z_]/.test(tag)) {
interceptorClass = map[tag];
map["!" + tag] = interceptorClass;
map["~" + tag] = interceptorClass;
map["-" + tag] = interceptorClass;
map["+" + tag] = interceptorClass;
map["*" + tag] = interceptorClass;
}
}
},
initHooks: function() {
var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
hooks = C.C_JS_CONST0();
hooks = H.applyHooksTransformer(C.C_JS_CONST1, H.applyHooksTransformer(C.C_JS_CONST2, H.applyHooksTransformer(C.C_JS_CONST3, H.applyHooksTransformer(C.C_JS_CONST3, H.applyHooksTransformer(C.C_JS_CONST4, H.applyHooksTransformer(C.C_JS_CONST5, H.applyHooksTransformer(C.C_JS_CONST6(C.C_JS_CONST), hooks)))))));
if (typeof dartNativeDispatchHooksTransformer != "undefined") {
transformers = dartNativeDispatchHooksTransformer;
if (typeof transformers == "function")
transformers = [transformers];
if (transformers.constructor == Array)
for (i = 0; i < transformers.length; ++i) {
transformer = transformers[i];
if (typeof transformer == "function")
hooks = transformer(hooks) || hooks;
}
}
getTag = hooks.getTag;
getUnknownTag = hooks.getUnknownTag;
prototypeForTag = hooks.prototypeForTag;
$.getTagFunction = new H.initHooks_closure(getTag);
$.alternateTagFunction = new H.initHooks_closure0(getUnknownTag);
$.prototypeForTagFunction = new H.initHooks_closure1(prototypeForTag);
},
applyHooksTransformer: function(transformer, hooks) {
return transformer(hooks) || hooks;
},
JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitive, unicode, dotAll, global) {
var m = multiLine ? "m" : "",
i = caseSensitive ? "" : "i",
u = unicode ? "u" : "",
s = dotAll ? "s" : "",
g = global ? "g" : "",
regexp = function(source, modifiers) {
try {
return new RegExp(source, modifiers);
} catch (e) {
return e;
}
}(source, m + i + u + s + g);
if (regexp instanceof RegExp)
return regexp;
throw H.wrapException(P.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
},
stringContainsUnchecked: function(receiver, other, startIndex) {
var t1, t2;
if (typeof other == "string")
return receiver.indexOf(other, startIndex) >= 0;
else if (other instanceof H.JSSyntaxRegExp) {
t1 = C.JSString_methods.substring$1(receiver, startIndex);
t2 = other._nativeRegExp;
return t2.test(t1);
} else {
t1 = J.allMatches$1$s(other, C.JSString_methods.substring$1(receiver, startIndex));
return !t1.get$isEmpty(t1);
}
},
escapeReplacement: function(replacement) {
if (replacement.indexOf("$", 0) >= 0)
return replacement.replace(/\$/g, "$$$$");
return replacement;
},
stringReplaceFirstRE: function(receiver, regexp, replacement, startIndex) {
var match = regexp._execGlobal$2(receiver, startIndex);
if (match == null)
return receiver;
return H.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement);
},
quoteStringForRegExp: function(string) {
if (/[[\]{}()*+?.\\^$|]/.test(string))
return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
return string;
},
stringReplaceAllUnchecked: function(receiver, pattern, replacement) {
var nativeRegexp;
if (typeof pattern == "string")
return H.stringReplaceAllUncheckedString(receiver, pattern, replacement);
if (pattern instanceof H.JSSyntaxRegExp) {
nativeRegexp = pattern.get$_nativeGlobalVersion();
nativeRegexp.lastIndex = 0;
return receiver.replace(nativeRegexp, H.escapeReplacement(replacement));
}
if (pattern == null)
H.throwExpression(H.argumentErrorValue(pattern));
throw H.wrapException("String.replaceAll(Pattern) UNIMPLEMENTED");
},
stringReplaceAllUncheckedString: function(receiver, pattern, replacement) {
var $length, t1, i, index;
if (pattern === "") {
if (receiver === "")
return replacement;
$length = receiver.length;
for (t1 = replacement, i = 0; i < $length; ++i)
t1 = t1 + receiver[i] + replacement;
return t1.charCodeAt(0) == 0 ? t1 : t1;
}
index = receiver.indexOf(pattern, 0);
if (index < 0)
return receiver;
if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
return receiver.split(pattern).join(replacement);
return receiver.replace(new RegExp(H.quoteStringForRegExp(pattern), 'g'), H.escapeReplacement(replacement));
},
_matchString: function(match) {
return match.$index(0, 0);
},
_stringIdentity: function(string) {
return string;
},
stringReplaceAllFuncUnchecked: function(receiver, pattern, onMatch, onNonMatch) {
var t1, startIndex, t2, match;
if (onMatch == null)
onMatch = H._js_helper___matchString$closure();
if (onNonMatch == null)
onNonMatch = H._js_helper___stringIdentity$closure();
if (typeof pattern == "string")
return H.stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch);
if (!type$.Pattern._is(pattern))
throw H.wrapException(P.ArgumentError$value(pattern, "pattern", "is not a Pattern"));
for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
match = t1.get$current(t1);
t2 = t2 + H.S(onNonMatch.call$1(C.JSString_methods.substring$2(receiver, startIndex, match.get$start(match)))) + H.S(onMatch.call$1(match));
startIndex = match.get$end(match);
}
t1 = t2 + H.S(onNonMatch.call$1(C.JSString_methods.substring$1(receiver, startIndex)));
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
stringReplaceAllEmptyFuncUnchecked: function(receiver, onMatch, onNonMatch) {
var i, i0,
$length = receiver.length,
t1 = H.S(onNonMatch.call$1(""));
for (i = 0; i < $length;) {
t1 += H.S(onMatch.call$1(new H.StringMatch(i, "")));
if ((C.JSString_methods._codeUnitAt$1(receiver, i) & 4294966272) === 55296 && $length > i + 1)
if ((C.JSString_methods._codeUnitAt$1(receiver, i + 1) & 4294966272) === 56320) {
i0 = i + 2;
t1 += H.S(onNonMatch.call$1(C.JSString_methods.substring$2(receiver, i, i0)));
i = i0;
continue;
}
t1 += H.S(onNonMatch.call$1(receiver[i]));
++i;
}
t1 = t1 + H.S(onMatch.call$1(new H.StringMatch(i, ""))) + H.S(onNonMatch.call$1(""));
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
stringReplaceAllStringFuncUnchecked: function(receiver, pattern, onMatch, onNonMatch) {
var $length, startIndex, t1, position,
patternLength = pattern.length;
if (patternLength === 0)
return H.stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch);
$length = receiver.length;
for (startIndex = 0, t1 = ""; startIndex < $length;) {
position = receiver.indexOf(pattern, startIndex);
if (position === -1)
break;
t1 = t1 + H.S(onNonMatch.call$1(C.JSString_methods.substring$2(receiver, startIndex, position))) + H.S(onMatch.call$1(new H.StringMatch(position, pattern)));
startIndex = position + patternLength;
}
t1 += H.S(onNonMatch.call$1(C.JSString_methods.substring$1(receiver, startIndex)));
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
stringReplaceFirstUnchecked: function(receiver, pattern, replacement, startIndex) {
var index, t1, matches, match;
if (typeof pattern == "string") {
index = receiver.indexOf(pattern, startIndex);
if (index < 0)
return receiver;
return H.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
}
if (pattern instanceof H.JSSyntaxRegExp)
return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, H.escapeReplacement(replacement)) : H.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
if (pattern == null)
H.throwExpression(H.argumentErrorValue(pattern));
t1 = J.allMatches$2$s(pattern, receiver, startIndex);
matches = t1.get$iterator(t1);
if (!matches.moveNext$0())
return receiver;
match = matches.get$current(matches);
return C.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
},
stringReplaceRangeUnchecked: function(receiver, start, end, replacement) {
var prefix = receiver.substring(0, start),
suffix = receiver.substring(end);
return prefix + H.S(replacement) + suffix;
},
ConstantMapView: function ConstantMapView(t0, t1) {
this._collection$_map = t0;
this.$ti = t1;
},
ConstantMap: function ConstantMap() {
},
ConstantMap_map_closure: function ConstantMap_map_closure(t0, t1, t2) {
this.$this = t0;
this.transform = t1;
this.result = t2;
},
ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) {
var _ = this;
_.__js_helper$_length = t0;
_.__js_helper$_jsObject = t1;
_._keys = t2;
_.$ti = t3;
},
ConstantStringMap_values_closure: function ConstantStringMap_values_closure(t0) {
this.$this = t0;
},
_ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) {
this._map = t0;
this.$ti = t1;
},
GeneralConstantMap: function GeneralConstantMap(t0, t1) {
this._jsData = t0;
this.$ti = t1;
},
Instantiation: function Instantiation() {
},
Instantiation1: function Instantiation1(t0, t1) {
this._genericClosure = t0;
this.$ti = t1;
},
JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
var _ = this;
_.__js_helper$_memberName = t0;
_.__js_helper$_kind = t1;
_._arguments = t2;
_._namedArgumentNames = t3;
_._typeArgumentCount = t4;
},
Primitives_initTicker_closure: function Primitives_initTicker_closure(t0) {
this.performance = t0;
},
Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
this._box_0 = t0;
this.namedArgumentList = t1;
this.$arguments = t2;
},
TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._pattern = t0;
_._arguments = t1;
_._argumentsExpr = t2;
_._expr = t3;
_._method = t4;
_._receiver = t5;
},
NullError: function NullError(t0, t1) {
this.__js_helper$_message = t0;
this._method = t1;
},
JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
this.__js_helper$_message = t0;
this._method = t1;
this._receiver = t2;
},
UnknownJsTypeError: function UnknownJsTypeError(t0) {
this.__js_helper$_message = t0;
},
NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
this._irritant = t0;
},
ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
this.dartException = t0;
this.stackTrace = t1;
},
_StackTrace: function _StackTrace(t0) {
this._exception = t0;
this._trace = null;
},
Closure: function Closure() {
},
TearOffClosure: function TearOffClosure() {
},
StaticClosure: function StaticClosure() {
},
BoundClosure: function BoundClosure(t0, t1, t2, t3) {
var _ = this;
_._self = t0;
_._target = t1;
_._receiver = t2;
_._name = t3;
},
RuntimeError: function RuntimeError(t0) {
this.message = t0;
},
_AssertionError: function _AssertionError(t0) {
this.message = t0;
},
_UnreachableError: function _UnreachableError(t0) {
this.message = t0;
},
_Required: function _Required() {
},
JsLinkedHashMap: function JsLinkedHashMap(t0) {
var _ = this;
_.__js_helper$_length = 0;
_._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
_._modifications = 0;
_.$ti = t0;
},
JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
this.$this = t0;
},
JsLinkedHashMap_containsValue_closure: function JsLinkedHashMap_containsValue_closure(t0, t1) {
this.$this = t0;
this.value = t1;
},
JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
this.$this = t0;
},
LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
var _ = this;
_.hashMapCellKey = t0;
_.hashMapCellValue = t1;
_._previous = _._next = null;
},
LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
this._map = t0;
this.$ti = t1;
},
LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1, t2) {
var _ = this;
_._map = t0;
_._modifications = t1;
_._current = _._cell = null;
_.$ti = t2;
},
initHooks_closure: function initHooks_closure(t0) {
this.getTag = t0;
},
initHooks_closure0: function initHooks_closure0(t0) {
this.getUnknownTag = t0;
},
initHooks_closure1: function initHooks_closure1(t0) {
this.prototypeForTag = t0;
},
JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
var _ = this;
_.pattern = t0;
_._nativeRegExp = t1;
_._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
},
_MatchImplementation: function _MatchImplementation(t0) {
this._match = t0;
},
_AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
this._re = t0;
this._string = t1;
this.__js_helper$_start = t2;
},
_AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
var _ = this;
_._regExp = t0;
_._string = t1;
_._nextIndex = t2;
_._current = null;
},
StringMatch: function StringMatch(t0, t1) {
this.start = t0;
this.pattern = t1;
},
_StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
this._input = t0;
this._pattern = t1;
this._index = t2;
},
_StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
var _ = this;
_._input = t0;
_._pattern = t1;
_._index = t2;
_._current = null;
},
_checkViewArguments: function(buffer, offsetInBytes, $length) {
if (!H._isInt(offsetInBytes))
throw H.wrapException(P.ArgumentError$("Invalid view offsetInBytes " + H.S(offsetInBytes)));
},
_ensureNativeList: function(list) {
var t1, result, i;
if (type$.JSIndexable_dynamic._is(list))
return list;
t1 = J.getInterceptor$asx(list);
result = P.List_List$filled(t1.get$length(list), null, false, type$.dynamic);
for (i = 0; i < t1.get$length(list); ++i)
result[i] = t1.$index(list, i);
return result;
},
NativeByteData_NativeByteData$view: function(buffer, offsetInBytes, $length) {
H._checkViewArguments(buffer, offsetInBytes, $length);
return $length == null ? new DataView(buffer, offsetInBytes) : new DataView(buffer, offsetInBytes, $length);
},
NativeFloat32List_NativeFloat32List: function($length) {
return new Float32Array($length);
},
NativeFloat64List_NativeFloat64List$view: function(buffer, offsetInBytes, $length) {
H._checkViewArguments(buffer, offsetInBytes, $length);
if ($length == null)
$length = C.JSInt_methods._tdivFast$1(buffer.byteLength - offsetInBytes, 8);
return new Float64Array(buffer, offsetInBytes, $length);
},
NativeInt32List_NativeInt32List: function($length) {
return new Int32Array($length);
},
NativeInt32List_NativeInt32List$view: function(buffer, offsetInBytes, $length) {
H._checkViewArguments(buffer, offsetInBytes, $length);
if ($length == null)
$length = C.JSInt_methods._tdivFast$1(buffer.byteLength - offsetInBytes, 4);
return new Int32Array(buffer, offsetInBytes, $length);
},
NativeInt8List__create1: function(arg) {
return new Int8Array(arg);
},
NativeUint16List_NativeUint16List$fromList: function(list) {
return new Uint16Array(H._ensureNativeList(list));
},
NativeUint8List_NativeUint8List: function($length) {
return new Uint8Array($length);
},
NativeUint8List_NativeUint8List$view: function(buffer, offsetInBytes, $length) {
H._checkViewArguments(buffer, offsetInBytes, $length);
return $length == null ? new Uint8Array(buffer, offsetInBytes) : new Uint8Array(buffer, offsetInBytes, $length);
},
_checkValidIndex: function(index, list, $length) {
if (index >>> 0 !== index || index >= $length)
throw H.wrapException(H.diagnoseIndexError(list, index));
},
_checkValidRange: function(start, end, $length) {
var t1;
if (!(start >>> 0 !== start))
if (end == null)
t1 = start > $length;
else
t1 = end >>> 0 !== end || start > end || end > $length;
else
t1 = true;
if (t1)
throw H.wrapException(H.diagnoseRangeError(start, end, $length));
if (end == null)
return $length;
return end;
},
NativeByteBuffer: function NativeByteBuffer() {
},
NativeTypedData: function NativeTypedData() {
},
NativeByteData: function NativeByteData() {
},
NativeTypedArray: function NativeTypedArray() {
},
NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
},
NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
},
NativeFloat32List: function NativeFloat32List() {
},
NativeFloat64List: function NativeFloat64List() {
},
NativeInt16List: function NativeInt16List() {
},
NativeInt32List: function NativeInt32List() {
},
NativeInt8List: function NativeInt8List() {
},
NativeUint16List: function NativeUint16List() {
},
NativeUint32List: function NativeUint32List() {
},
NativeUint8ClampedList: function NativeUint8ClampedList() {
},
NativeUint8List: function NativeUint8List() {
},
_NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
},
_NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
},
_NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
},
_NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
},
Rti__getQuestionFromStar: function(universe, rti) {
var question = rti._precomputed1;
return question == null ? rti._precomputed1 = H._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
},
Rti__getFutureFromFutureOr: function(universe, rti) {
var future = rti._precomputed1;
return future == null ? rti._precomputed1 = H._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
},
Rti__isUnionOfFunctionType: function(rti) {
var kind = rti._kind;
if (kind === 6 || kind === 7 || kind === 8)
return H.Rti__isUnionOfFunctionType(rti._primary);
return kind === 11 || kind === 12;
},
Rti__getCanonicalRecipe: function(rti) {
return rti._canonicalRecipe;
},
findType: function(recipe) {
return H._Universe_eval(init.typeUniverse, recipe, false);
},
instantiatedGenericFunctionType: function(genericFunctionRti, instantiationRti) {
var t1, cache, key, probe, rti;
if (genericFunctionRti == null)
return null;
t1 = instantiationRti._rest;
cache = genericFunctionRti._bindCache;
if (cache == null)
cache = genericFunctionRti._bindCache = new Map();
key = instantiationRti._canonicalRecipe;
probe = cache.get(key);
if (probe != null)
return probe;
rti = H._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
cache.set(key, rti);
return rti;
},
_substitute: function(universe, rti, typeArguments, depth) {
var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
kind = rti._kind;
switch (kind) {
case 5:
case 1:
case 2:
case 3:
case 4:
return rti;
case 6:
baseType = rti._primary;
substitutedBaseType = H._substitute(universe, baseType, typeArguments, depth);
if (substitutedBaseType === baseType)
return rti;
return H._Universe__lookupStarRti(universe, substitutedBaseType, true);
case 7:
baseType = rti._primary;
substitutedBaseType = H._substitute(universe, baseType, typeArguments, depth);
if (substitutedBaseType === baseType)
return rti;
return H._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
case 8:
baseType = rti._primary;
substitutedBaseType = H._substitute(universe, baseType, typeArguments, depth);
if (substitutedBaseType === baseType)
return rti;
return H._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
case 9:
interfaceTypeArguments = rti._rest;
substitutedInterfaceTypeArguments = H._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
return rti;
return H._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
case 10:
base = rti._primary;
substitutedBase = H._substitute(universe, base, typeArguments, depth);
$arguments = rti._rest;
substitutedArguments = H._substituteArray(universe, $arguments, typeArguments, depth);
if (substitutedBase === base && substitutedArguments === $arguments)
return rti;
return H._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
case 11:
returnType = rti._primary;
substitutedReturnType = H._substitute(universe, returnType, typeArguments, depth);
functionParameters = rti._rest;
substitutedFunctionParameters = H._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
return rti;
return H._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
case 12:
bounds = rti._rest;
depth += bounds.length;
substitutedBounds = H._substituteArray(universe, bounds, typeArguments, depth);
base = rti._primary;
substitutedBase = H._substitute(universe, base, typeArguments, depth);
if (substitutedBounds === bounds && substitutedBase === base)
return rti;
return H._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
case 13:
index = rti._primary;
if (index < depth)
return rti;
argument = typeArguments[index - depth];
if (argument == null)
return rti;
return argument;
default:
throw H.wrapException(P.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
}
},
_substituteArray: function(universe, rtiArray, typeArguments, depth) {
var changed, i, rti, substitutedRti,
$length = rtiArray.length,
result = [];
for (changed = false, i = 0; i < $length; ++i) {
rti = rtiArray[i];
substitutedRti = H._substitute(universe, rti, typeArguments, depth);
if (substitutedRti !== rti)
changed = true;
result.push(substitutedRti);
}
return changed ? result : rtiArray;
},
_substituteNamed: function(universe, namedArray, typeArguments, depth) {
var changed, i, t1, t2, rti, substitutedRti,
$length = namedArray.length,
result = [];
for (changed = false, i = 0; i < $length; i += 3) {
t1 = namedArray[i];
t2 = namedArray[i + 1];
rti = namedArray[i + 2];
substitutedRti = H._substitute(universe, rti, typeArguments, depth);
if (substitutedRti !== rti)
changed = true;
result.push(t1);
result.push(t2);
result.push(substitutedRti);
}
return changed ? result : namedArray;
},
_substituteFunctionParameters: function(universe, functionParameters, typeArguments, depth) {
var result,
requiredPositional = functionParameters._requiredPositional,
substitutedRequiredPositional = H._substituteArray(universe, requiredPositional, typeArguments, depth),
optionalPositional = functionParameters._optionalPositional,
substitutedOptionalPositional = H._substituteArray(universe, optionalPositional, typeArguments, depth),
named = functionParameters._named,
substitutedNamed = H._substituteNamed(universe, named, typeArguments, depth);
if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
return functionParameters;
result = new H._FunctionParameters();
result._requiredPositional = substitutedRequiredPositional;
result._optionalPositional = substitutedOptionalPositional;
result._named = substitutedNamed;
return result;
},
setRuntimeTypeInfo: function(target, rti) {
target[init.arrayRti] = rti;
return target;
},
closureFunctionType: function(closure) {
var signature = closure.$signature;
if (signature != null) {
if (typeof signature == "number")
return H.getTypeFromTypesTable(signature);
return closure.$signature();
}
return null;
},
instanceOrFunctionType: function(object, testRti) {
var rti;
if (H.Rti__isUnionOfFunctionType(testRti))
if (object instanceof H.Closure) {
rti = H.closureFunctionType(object);
if (rti != null)
return rti;
}
return H.instanceType(object);
},
instanceType: function(object) {
var rti;
if (object instanceof P.Object) {
rti = object.$ti;
return rti != null ? rti : H._instanceTypeFromConstructor(object);
}
if (Array.isArray(object))
return H._arrayInstanceType(object);
return H._instanceTypeFromConstructor(J.getInterceptor$(object));
},
_arrayInstanceType: function(object) {
var rti = object[init.arrayRti],
defaultRti = type$.JSArray_dynamic;
if (rti == null)
return defaultRti;
if (rti.constructor !== defaultRti.constructor)
return defaultRti;
return rti;
},
_instanceType: function(object) {
var rti = object.$ti;
return rti != null ? rti : H._instanceTypeFromConstructor(object);
},
_instanceTypeFromConstructor: function(instance) {
var $constructor = instance.constructor,
probe = $constructor.$ccache;
if (probe != null)
return probe;
return H._instanceTypeFromConstructorMiss(instance, $constructor);
},
_instanceTypeFromConstructorMiss: function(instance, $constructor) {
var effectiveConstructor = instance instanceof H.Closure ? instance.__proto__.__proto__.constructor : $constructor,
rti = H._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
$constructor.$ccache = rti;
return rti;
},
getTypeFromTypesTable: function(index) {
var rti,
table = init.types,
type = table[index];
if (typeof type == "string") {
rti = H._Universe_eval(init.typeUniverse, type, false);
table[index] = rti;
return rti;
}
return type;
},
getRuntimeType: function(object) {
var rti = object instanceof H.Closure ? H.closureFunctionType(object) : null;
return H.createRuntimeType(rti == null ? H.instanceType(object) : rti);
},
createRuntimeType: function(rti) {
var recipe, starErasedRecipe, starErasedRti,
type = rti._cachedRuntimeType;
if (type != null)
return type;
recipe = rti._canonicalRecipe;
starErasedRecipe = recipe.replace(/\*/g, "");
if (starErasedRecipe === recipe)
return rti._cachedRuntimeType = new H._Type(rti);
starErasedRti = H._Universe_eval(init.typeUniverse, starErasedRecipe, true);
type = starErasedRti._cachedRuntimeType;
return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new H._Type(starErasedRti) : type;
},
typeLiteral: function(recipe) {
return H.createRuntimeType(H._Universe_eval(init.typeUniverse, recipe, false));
},
_installSpecializedIsTest: function(object) {
var unstarred, isFn, testRti = this,
t1 = type$.Object;
if (testRti === t1)
return H._finishIsFn(testRti, object, H._isObject);
if (!H.isStrongTopType(testRti))
if (!(testRti === type$.legacy_Object))
t1 = testRti === t1;
else
t1 = true;
else
t1 = true;
if (t1)
return H._finishIsFn(testRti, object, H._isTop);
t1 = testRti._kind;
unstarred = t1 === 6 ? testRti._primary : testRti;
if (unstarred === type$.int)
isFn = H._isInt;
else if (unstarred === type$.double || unstarred === type$.num)
isFn = H._isNum;
else if (unstarred === type$.String)
isFn = H._isString;
else
isFn = unstarred === type$.bool ? H._isBool : null;
if (isFn != null)
return H._finishIsFn(testRti, object, isFn);
if (unstarred._kind === 9) {
t1 = unstarred._primary;
if (unstarred._rest.every(H.isTopType)) {
testRti._specializedTestResource = "$is" + t1;
return H._finishIsFn(testRti, object, H._isTestViaProperty);
}
} else if (t1 === 7)
return H._finishIsFn(testRti, object, H._generalNullableIsTestImplementation);
return H._finishIsFn(testRti, object, H._generalIsTestImplementation);
},
_finishIsFn: function(testRti, object, isFn) {
testRti._is = isFn;
return testRti._is(object);
},
_installSpecializedAsCheck: function(object) {
var t1, asFn, testRti = this;
if (!H.isStrongTopType(testRti))
if (!(testRti === type$.legacy_Object))
t1 = testRti === type$.Object;
else
t1 = true;
else
t1 = true;
if (t1)
asFn = H._asTop;
else if (testRti === type$.Object)
asFn = H._asObject;
else
asFn = H._generalNullableAsCheckImplementation;
testRti._as = asFn;
return testRti._as(object);
},
_nullIs: function(testRti) {
var t1,
kind = testRti._kind;
if (!H.isStrongTopType(testRti))
if (!(testRti === type$.legacy_Object))
if (!(testRti === type$.legacy_Never))
if (kind !== 7)
t1 = kind === 8 && H._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
else
t1 = true;
else
t1 = true;
else
t1 = true;
else
t1 = true;
return t1;
},
_generalIsTestImplementation: function(object) {
var testRti = this;
if (object == null)
return H._nullIs(testRti);
return H._isSubtype(init.typeUniverse, H.instanceOrFunctionType(object, testRti), null, testRti, null);
},
_generalNullableIsTestImplementation: function(object) {
if (object == null)
return true;
return this._primary._is(object);
},
_isTestViaProperty: function(object) {
var tag, testRti = this;
if (object == null)
return H._nullIs(testRti);
tag = testRti._specializedTestResource;
if (object instanceof P.Object)
return !!object[tag];
return !!J.getInterceptor$(object)[tag];
},
_generalAsCheckImplementation: function(object) {
var testRti = this;
if (object == null)
return object;
else if (testRti._is(object))
return object;
H._failedAsCheck(object, testRti);
},
_generalNullableAsCheckImplementation: function(object) {
var testRti = this;
if (object == null)
return object;
else if (testRti._is(object))
return object;
H._failedAsCheck(object, testRti);
},
_failedAsCheck: function(object, testRti) {
throw H.wrapException(H._TypeError$fromMessage(H._Error_compose(object, H.instanceOrFunctionType(object, testRti), H._rtiToString(testRti, null))));
},
_Error_compose: function(object, objectRti, checkedTypeDescription) {
var objectDescription = P.Error_safeToString(object),
objectTypeDescription = H._rtiToString(objectRti == null ? H.instanceType(object) : objectRti, null);
return objectDescription + ": type '" + H.S(objectTypeDescription) + "' is not a subtype of type '" + H.S(checkedTypeDescription) + "'";
},
_TypeError$fromMessage: function(message) {
return new H._TypeError("TypeError: " + message);
},
_TypeError__TypeError$forType: function(object, type) {
return new H._TypeError("TypeError: " + H._Error_compose(object, null, type));
},
_isObject: function(object) {
return object != null;
},
_asObject: function(object) {
return object;
},
_isTop: function(object) {
return true;
},
_asTop: function(object) {
return object;
},
_isBool: function(object) {
return true === object || false === object;
},
_asBool: function(object) {
if (true === object)
return true;
if (false === object)
return false;
throw H.wrapException(H._TypeError__TypeError$forType(object, "bool"));
},
_asBoolS: function(object) {
if (true === object)
return true;
if (false === object)
return false;
if (object == null)
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "bool"));
},
_asBoolQ: function(object) {
if (true === object)
return true;
if (false === object)
return false;
if (object == null)
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "bool?"));
},
_asDouble: function(object) {
if (typeof object == "number")
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "double"));
},
_asDoubleS: function(object) {
if (typeof object == "number")
return object;
if (object == null)
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "double"));
},
_asDoubleQ: function(object) {
if (typeof object == "number")
return object;
if (object == null)
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "double?"));
},
_isInt: function(object) {
return typeof object == "number" && Math.floor(object) === object;
},
_asInt: function(object) {
if (typeof object == "number" && Math.floor(object) === object)
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "int"));
},
_asIntS: function(object) {
if (typeof object == "number" && Math.floor(object) === object)
return object;
if (object == null)
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "int"));
},
_asIntQ: function(object) {
if (typeof object == "number" && Math.floor(object) === object)
return object;
if (object == null)
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "int?"));
},
_isNum: function(object) {
return typeof object == "number";
},
_asNum: function(object) {
if (typeof object == "number")
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "num"));
},
_asNumS: function(object) {
if (typeof object == "number")
return object;
if (object == null)
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "num"));
},
_asNumQ: function(object) {
if (typeof object == "number")
return object;
if (object == null)
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "num?"));
},
_isString: function(object) {
return typeof object == "string";
},
_asString: function(object) {
if (typeof object == "string")
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "String"));
},
_asStringS: function(object) {
if (typeof object == "string")
return object;
if (object == null)
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "String"));
},
_asStringQ: function(object) {
if (typeof object == "string")
return object;
if (object == null)
return object;
throw H.wrapException(H._TypeError__TypeError$forType(object, "String?"));
},
_rtiArrayToString: function(array, genericContext) {
var s, sep, i;
for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
s += C.JSString_methods.$add(sep, H._rtiToString(array[i], genericContext));
return s;
},
_functionRtiToString: function(functionType, genericContext, bounds) {
var boundsLength, outerContextLength, offset, i, t1, t2, t3, typeParametersText, typeSep, boundRti, kind, t4, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ";
if (bounds != null) {
boundsLength = bounds.length;
if (genericContext == null) {
genericContext = H.setRuntimeTypeInfo([], type$.JSArray_String);
outerContextLength = null;
} else
outerContextLength = genericContext.length;
offset = genericContext.length;
for (i = boundsLength; i > 0; --i)
genericContext.push("T" + (offset + i));
for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, t3 = type$.Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
typeParametersText = C.JSString_methods.$add(typeParametersText + typeSep, genericContext[genericContext.length - 1 - i]);
boundRti = bounds[i];
kind = boundRti._kind;
if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
if (!(boundRti === t2))
t4 = boundRti === t3;
else
t4 = true;
else
t4 = true;
if (!t4)
typeParametersText += C.JSString_methods.$add(" extends ", H._rtiToString(boundRti, genericContext));
}
typeParametersText += ">";
} else {
typeParametersText = "";
outerContextLength = null;
}
t1 = functionType._primary;
parameters = functionType._rest;
requiredPositional = parameters._requiredPositional;
requiredPositionalLength = requiredPositional.length;
optionalPositional = parameters._optionalPositional;
optionalPositionalLength = optionalPositional.length;
named = parameters._named;
namedLength = named.length;
returnTypeText = H._rtiToString(t1, genericContext);
for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
argumentsText += C.JSString_methods.$add(sep, H._rtiToString(requiredPositional[i], genericContext));
if (optionalPositionalLength > 0) {
argumentsText += sep + "[";
for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
argumentsText += C.JSString_methods.$add(sep, H._rtiToString(optionalPositional[i], genericContext));
argumentsText += "]";
}
if (namedLength > 0) {
argumentsText += sep + "{";
for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
argumentsText += sep;
if (named[i + 1])
argumentsText += "required ";
argumentsText += J.$add$ansx(H._rtiToString(named[i + 2], genericContext), " ") + named[i];
}
argumentsText += "}";
}
if (outerContextLength != null) {
genericContext.toString;
genericContext.length = outerContextLength;
}
return typeParametersText + "(" + argumentsText + ") => " + H.S(returnTypeText);
},
_rtiToString: function(rti, genericContext) {
var s, questionArgument, argumentKind, $name, $arguments, t1,
kind = rti._kind;
if (kind === 5)
return "erased";
if (kind === 2)
return "dynamic";
if (kind === 3)
return "void";
if (kind === 1)
return "Never";
if (kind === 4)
return "any";
if (kind === 6) {
s = H._rtiToString(rti._primary, genericContext);
return s;
}
if (kind === 7) {
questionArgument = rti._primary;
s = H._rtiToString(questionArgument, genericContext);
argumentKind = questionArgument._kind;
return J.$add$ansx(argumentKind === 11 || argumentKind === 12 ? C.JSString_methods.$add("(", s) + ")" : s, "?");
}
if (kind === 8)
return "FutureOr<" + H.S(H._rtiToString(rti._primary, genericContext)) + ">";
if (kind === 9) {
$name = H._unminifyOrTag(rti._primary);
$arguments = rti._rest;
return $arguments.length !== 0 ? $name + ("<" + H._rtiArrayToString($arguments, genericContext) + ">") : $name;
}
if (kind === 11)
return H._functionRtiToString(rti, genericContext, null);
if (kind === 12)
return H._functionRtiToString(rti._primary, genericContext, rti._rest);
if (kind === 13) {
genericContext.toString;
t1 = rti._primary;
return genericContext[genericContext.length - 1 - t1];
}
return "?";
},
_unminifyOrTag: function(rawClassName) {
var preserved = H.unmangleGlobalNameIfPreservedAnyways(rawClassName);
if (preserved != null)
return preserved;
return rawClassName;
},
_Universe_findRule: function(universe, targetType) {
var rule = universe.tR[targetType];
for (; typeof rule == "string";)
rule = universe.tR[rule];
return rule;
},
_Universe_findErasedType: function(universe, cls) {
var $length, erased, $arguments, i, $interface,
metadata = universe.eT,
probe = metadata[cls];
if (probe == null)
return H._Universe_eval(universe, cls, false);
else if (typeof probe == "number") {
$length = probe;
erased = H._Universe__lookupTerminalRti(universe, 5, "#");
$arguments = [];
for (i = 0; i < $length; ++i)
$arguments.push(erased);
$interface = H._Universe__lookupInterfaceRti(universe, cls, $arguments);
metadata[cls] = $interface;
return $interface;
} else
return probe;
},
_Universe_addRules: function(universe, rules) {
return H._Utils_objectAssign(universe.tR, rules);
},
_Universe_addErasedTypes: function(universe, types) {
return H._Utils_objectAssign(universe.eT, types);
},
_Universe_eval: function(universe, recipe, normalize) {
var rti,
cache = universe.eC,
probe = cache.get(recipe);
if (probe != null)
return probe;
rti = H._Parser_parse(H._Parser_create(universe, null, recipe, normalize));
cache.set(recipe, rti);
return rti;
},
_Universe_evalInEnvironment: function(universe, environment, recipe) {
var probe, rti,
cache = environment._evalCache;
if (cache == null)
cache = environment._evalCache = new Map();
probe = cache.get(recipe);
if (probe != null)
return probe;
rti = H._Parser_parse(H._Parser_create(universe, environment, recipe, true));
cache.set(recipe, rti);
return rti;
},
_Universe_bind: function(universe, environment, argumentsRti) {
var argumentsRecipe, probe, rti,
cache = environment._bindCache;
if (cache == null)
cache = environment._bindCache = new Map();
argumentsRecipe = argumentsRti._canonicalRecipe;
probe = cache.get(argumentsRecipe);
if (probe != null)
return probe;
rti = H._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
cache.set(argumentsRecipe, rti);
return rti;
},
_Universe__installTypeTests: function(universe, rti) {
rti._as = H._installSpecializedAsCheck;
rti._is = H._installSpecializedIsTest;
return rti;
},
_Universe__lookupTerminalRti: function(universe, kind, key) {
var rti, t1,
probe = universe.eC.get(key);
if (probe != null)
return probe;
rti = new H.Rti(null, null);
rti._kind = kind;
rti._canonicalRecipe = key;
t1 = H._Universe__installTypeTests(universe, rti);
universe.eC.set(key, t1);
return t1;
},
_Universe__lookupStarRti: function(universe, baseType, normalize) {
var t1,
key = baseType._canonicalRecipe + "*",
probe = universe.eC.get(key);
if (probe != null)
return probe;
t1 = H._Universe__createStarRti(universe, baseType, key, normalize);
universe.eC.set(key, t1);
return t1;
},
_Universe__createStarRti: function(universe, baseType, key, normalize) {
var baseKind, t1, rti;
if (normalize) {
baseKind = baseType._kind;
if (!H.isStrongTopType(baseType))
t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
else
t1 = true;
if (t1)
return baseType;
}
rti = new H.Rti(null, null);
rti._kind = 6;
rti._primary = baseType;
rti._canonicalRecipe = key;
return H._Universe__installTypeTests(universe, rti);
},
_Universe__lookupQuestionRti: function(universe, baseType, normalize) {
var t1,
key = baseType._canonicalRecipe + "?",
probe = universe.eC.get(key);
if (probe != null)
return probe;
t1 = H._Universe__createQuestionRti(universe, baseType, key, normalize);
universe.eC.set(key, t1);
return t1;
},
_Universe__createQuestionRti: function(universe, baseType, key, normalize) {
var baseKind, t1, starArgument, rti;
if (normalize) {
baseKind = baseType._kind;
if (!H.isStrongTopType(baseType))
if (!(baseType === type$.Null || baseType === type$.JSNull))
if (baseKind !== 7)
t1 = baseKind === 8 && H.isNullable(baseType._primary);
else
t1 = true;
else
t1 = true;
else
t1 = true;
if (t1)
return baseType;
else if (baseKind === 1 || baseType === type$.legacy_Never)
return type$.Null;
else if (baseKind === 6) {
starArgument = baseType._primary;
if (starArgument._kind === 8 && H.isNullable(starArgument._primary))
return starArgument;
else
return H.Rti__getQuestionFromStar(universe, baseType);
}
}
rti = new H.Rti(null, null);
rti._kind = 7;
rti._primary = baseType;
rti._canonicalRecipe = key;
return H._Universe__installTypeTests(universe, rti);
},
_Universe__lookupFutureOrRti: function(universe, baseType, normalize) {
var t1,
key = baseType._canonicalRecipe + "/",
probe = universe.eC.get(key);
if (probe != null)
return probe;
t1 = H._Universe__createFutureOrRti(universe, baseType, key, normalize);
universe.eC.set(key, t1);
return t1;
},
_Universe__createFutureOrRti: function(universe, baseType, key, normalize) {
var t1, t2, rti;
if (normalize) {
t1 = baseType._kind;
if (!H.isStrongTopType(baseType))
if (!(baseType === type$.legacy_Object))
t2 = baseType === type$.Object;
else
t2 = true;
else
t2 = true;
if (t2 || baseType === type$.Object)
return baseType;
else if (t1 === 1)
return H._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
else if (baseType === type$.Null || baseType === type$.JSNull)
return type$.nullable_Future_Null;
}
rti = new H.Rti(null, null);
rti._kind = 8;
rti._primary = baseType;
rti._canonicalRecipe = key;
return H._Universe__installTypeTests(universe, rti);
},
_Universe__lookupGenericFunctionParameterRti: function(universe, index) {
var rti, t1,
key = "" + index + "^",
probe = universe.eC.get(key);
if (probe != null)
return probe;
rti = new H.Rti(null, null);
rti._kind = 13;
rti._primary = index;
rti._canonicalRecipe = key;
t1 = H._Universe__installTypeTests(universe, rti);
universe.eC.set(key, t1);
return t1;
},
_Universe__canonicalRecipeJoin: function($arguments) {
var s, sep, i,
$length = $arguments.length;
for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
s += sep + $arguments[i]._canonicalRecipe;
return s;
},
_Universe__canonicalRecipeJoinNamed: function($arguments) {
var s, sep, i, t1, nameSep, s0,
$length = $arguments.length;
for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
t1 = $arguments[i];
nameSep = $arguments[i + 1] ? "!" : ":";
s0 = $arguments[i + 2]._canonicalRecipe;
s += sep + t1 + nameSep + s0;
}
return s;
},
_Universe__lookupInterfaceRti: function(universe, $name, $arguments) {
var probe, rti, t1,
s = $name;
if ($arguments.length !== 0)
s += "<" + H._Universe__canonicalRecipeJoin($arguments) + ">";
probe = universe.eC.get(s);
if (probe != null)
return probe;
rti = new H.Rti(null, null);
rti._kind = 9;
rti._primary = $name;
rti._rest = $arguments;
if ($arguments.length > 0)
rti._precomputed1 = $arguments[0];
rti._canonicalRecipe = s;
t1 = H._Universe__installTypeTests(universe, rti);
universe.eC.set(s, t1);
return t1;
},
_Universe__lookupBindingRti: function(universe, base, $arguments) {
var newBase, newArguments, key, probe, rti, t1;
if (base._kind === 10) {
newBase = base._primary;
newArguments = base._rest.concat($arguments);
} else {
newArguments = $arguments;
newBase = base;
}
key = newBase._canonicalRecipe + (";<" + H._Universe__canonicalRecipeJoin(newArguments) + ">");
probe = universe.eC.get(key);
if (probe != null)
return probe;
rti = new H.Rti(null, null);
rti._kind = 10;
rti._primary = newBase;
rti._rest = newArguments;
rti._canonicalRecipe = key;
t1 = H._Universe__installTypeTests(universe, rti);
universe.eC.set(key, t1);
return t1;
},
_Universe__lookupFunctionRti: function(universe, returnType, parameters) {
var sep, t1, key, probe, rti,
s = returnType._canonicalRecipe,
requiredPositional = parameters._requiredPositional,
requiredPositionalLength = requiredPositional.length,
optionalPositional = parameters._optionalPositional,
optionalPositionalLength = optionalPositional.length,
named = parameters._named,
namedLength = named.length,
recipe = "(" + H._Universe__canonicalRecipeJoin(requiredPositional);
if (optionalPositionalLength > 0) {
sep = requiredPositionalLength > 0 ? "," : "";
t1 = H._Universe__canonicalRecipeJoin(optionalPositional);
recipe += sep + "[" + t1 + "]";
}
if (namedLength > 0) {
sep = requiredPositionalLength > 0 ? "," : "";
t1 = H._Universe__canonicalRecipeJoinNamed(named);
recipe += sep + "{" + t1 + "}";
}
key = s + (recipe + ")");
probe = universe.eC.get(key);
if (probe != null)
return probe;
rti = new H.Rti(null, null);
rti._kind = 11;
rti._primary = returnType;
rti._rest = parameters;
rti._canonicalRecipe = key;
t1 = H._Universe__installTypeTests(universe, rti);
universe.eC.set(key, t1);
return t1;
},
_Universe__lookupGenericFunctionRti: function(universe, baseFunctionType, bounds, normalize) {
var t1,
key = baseFunctionType._canonicalRecipe + ("<" + H._Universe__canonicalRecipeJoin(bounds) + ">"),
probe = universe.eC.get(key);
if (probe != null)
return probe;
t1 = H._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
universe.eC.set(key, t1);
return t1;
},
_Universe__createGenericFunctionRti: function(universe, baseFunctionType, bounds, key, normalize) {
var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
if (normalize) {
$length = bounds.length;
typeArguments = new Array($length);
for (count = 0, i = 0; i < $length; ++i) {
bound = bounds[i];
if (bound._kind === 1) {
typeArguments[i] = bound;
++count;
}
}
if (count > 0) {
substitutedBase = H._substitute(universe, baseFunctionType, typeArguments, 0);
substitutedBounds = H._substituteArray(universe, bounds, typeArguments, 0);
return H._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
}
}
rti = new H.Rti(null, null);
rti._kind = 12;
rti._primary = baseFunctionType;
rti._rest = bounds;
rti._canonicalRecipe = key;
return H._Universe__installTypeTests(universe, rti);
},
_Parser_create: function(universe, environment, recipe, normalize) {
return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
},
_Parser_parse: function(parser) {
var t1, i, ch, universe, array, head, base, u, parameters, optionalPositional, named, item,
source = parser.r,
stack = parser.s;
for (t1 = source.length, i = 0; i < t1;) {
ch = source.charCodeAt(i);
if (ch >= 48 && ch <= 57)
i = H._Parser_handleDigit(i + 1, ch, source, stack);
else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36)
i = H._Parser_handleIdentifier(parser, i, source, stack, false);
else if (ch === 46)
i = H._Parser_handleIdentifier(parser, i, source, stack, true);
else {
++i;
switch (ch) {
case 44:
break;
case 58:
stack.push(false);
break;
case 33:
stack.push(true);
break;
case 59:
stack.push(H._Parser_toType(parser.u, parser.e, stack.pop()));
break;
case 94:
stack.push(H._Universe__lookupGenericFunctionParameterRti(parser.u, stack.pop()));
break;
case 35:
stack.push(H._Universe__lookupTerminalRti(parser.u, 5, "#"));
break;
case 64:
stack.push(H._Universe__lookupTerminalRti(parser.u, 2, "@"));
break;
case 126:
stack.push(H._Universe__lookupTerminalRti(parser.u, 3, "~"));
break;
case 60:
stack.push(parser.p);
parser.p = stack.length;
break;
case 62:
universe = parser.u;
array = stack.splice(parser.p);
H._Parser_toTypes(parser.u, parser.e, array);
parser.p = stack.pop();
head = stack.pop();
if (typeof head == "string")
stack.push(H._Universe__lookupInterfaceRti(universe, head, array));
else {
base = H._Parser_toType(universe, parser.e, head);
switch (base._kind) {
case 11:
stack.push(H._Universe__lookupGenericFunctionRti(universe, base, array, parser.n));
break;
default:
stack.push(H._Universe__lookupBindingRti(universe, base, array));
break;
}
}
break;
case 38:
H._Parser_handleExtendedOperations(parser, stack);
break;
case 42:
u = parser.u;
stack.push(H._Universe__lookupStarRti(u, H._Parser_toType(u, parser.e, stack.pop()), parser.n));
break;
case 63:
u = parser.u;
stack.push(H._Universe__lookupQuestionRti(u, H._Parser_toType(u, parser.e, stack.pop()), parser.n));
break;
case 47:
u = parser.u;
stack.push(H._Universe__lookupFutureOrRti(u, H._Parser_toType(u, parser.e, stack.pop()), parser.n));
break;
case 40:
stack.push(parser.p);
parser.p = stack.length;
break;
case 41:
universe = parser.u;
parameters = new H._FunctionParameters();
optionalPositional = universe.sEA;
named = universe.sEA;
head = stack.pop();
if (typeof head == "number")
switch (head) {
case -1:
optionalPositional = stack.pop();
break;
case -2:
named = stack.pop();
break;
default:
stack.push(head);
break;
}
else
stack.push(head);
array = stack.splice(parser.p);
H._Parser_toTypes(parser.u, parser.e, array);
parser.p = stack.pop();
parameters._requiredPositional = array;
parameters._optionalPositional = optionalPositional;
parameters._named = named;
stack.push(H._Universe__lookupFunctionRti(universe, H._Parser_toType(universe, parser.e, stack.pop()), parameters));
break;
case 91:
stack.push(parser.p);
parser.p = stack.length;
break;
case 93:
array = stack.splice(parser.p);
H._Parser_toTypes(parser.u, parser.e, array);
parser.p = stack.pop();
stack.push(array);
stack.push(-1);
break;
case 123:
stack.push(parser.p);
parser.p = stack.length;
break;
case 125:
array = stack.splice(parser.p);
H._Parser_toTypesNamed(parser.u, parser.e, array);
parser.p = stack.pop();
stack.push(array);
stack.push(-2);
break;
default:
throw "Bad character " + ch;
}
}
}
item = stack.pop();
return H._Parser_toType(parser.u, parser.e, item);
},
_Parser_handleDigit: function(i, digit, source, stack) {
var t1, ch,
value = digit - 48;
for (t1 = source.length; i < t1; ++i) {
ch = source.charCodeAt(i);
if (!(ch >= 48 && ch <= 57))
break;
value = value * 10 + (ch - 48);
}
stack.push(value);
return i;
},
_Parser_handleIdentifier: function(parser, start, source, stack, hasPeriod) {
var t1, ch, t2, string, environment, recipe,
i = start + 1;
for (t1 = source.length; i < t1; ++i) {
ch = source.charCodeAt(i);
if (ch === 46) {
if (hasPeriod)
break;
hasPeriod = true;
} else {
if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36))
t2 = ch >= 48 && ch <= 57;
else
t2 = true;
if (!t2)
break;
}
}
string = source.substring(start, i);
if (hasPeriod) {
t1 = parser.u;
environment = parser.e;
if (environment._kind === 10)
environment = environment._primary;
recipe = H._Universe_findRule(t1, environment._primary)[string];
if (recipe == null)
H.throwExpression('No "' + string + '" in "' + H.Rti__getCanonicalRecipe(environment) + '"');
stack.push(H._Universe_evalInEnvironment(t1, environment, recipe));
} else
stack.push(string);
return i;
},
_Parser_handleExtendedOperations: function(parser, stack) {
var $top = stack.pop();
if (0 === $top) {
stack.push(H._Universe__lookupTerminalRti(parser.u, 1, "0&"));
return;
}
if (1 === $top) {
stack.push(H._Universe__lookupTerminalRti(parser.u, 4, "1&"));
return;
}
throw H.wrapException(P.AssertionError$("Unexpected extended operation " + H.S($top)));
},
_Parser_toType: function(universe, environment, item) {
if (typeof item == "string")
return H._Universe__lookupInterfaceRti(universe, item, universe.sEA);
else if (typeof item == "number")
return H._Parser_indexToType(universe, environment, item);
else
return item;
},
_Parser_toTypes: function(universe, environment, items) {
var i,
$length = items.length;
for (i = 0; i < $length; ++i)
items[i] = H._Parser_toType(universe, environment, items[i]);
},
_Parser_toTypesNamed: function(universe, environment, items) {
var i,
$length = items.length;
for (i = 2; i < $length; i += 3)
items[i] = H._Parser_toType(universe, environment, items[i]);
},
_Parser_indexToType: function(universe, environment, index) {
var typeArguments, len,
kind = environment._kind;
if (kind === 10) {
if (index === 0)
return environment._primary;
typeArguments = environment._rest;
len = typeArguments.length;
if (index <= len)
return typeArguments[index - 1];
index -= len;
environment = environment._primary;
kind = environment._kind;
} else if (index === 0)
return environment;
if (kind !== 9)
throw H.wrapException(P.AssertionError$("Indexed base must be an interface type"));
typeArguments = environment._rest;
if (index <= typeArguments.length)
return typeArguments[index - 1];
throw H.wrapException(P.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
},
_isSubtype: function(universe, s, sEnv, t, tEnv) {
var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound;
if (s === t)
return true;
if (!H.isStrongTopType(t))
if (!(t === type$.legacy_Object))
t1 = t === type$.Object;
else
t1 = true;
else
t1 = true;
if (t1)
return true;
sKind = s._kind;
if (sKind === 4)
return true;
if (H.isStrongTopType(s))
return false;
if (s._kind !== 1)
t1 = s === type$.Null || s === type$.JSNull;
else
t1 = true;
if (t1)
return true;
leftTypeVariable = sKind === 13;
if (leftTypeVariable)
if (H._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
return true;
tKind = t._kind;
if (sKind === 6)
return H._isSubtype(universe, s._primary, sEnv, t, tEnv);
if (tKind === 6) {
t1 = t._primary;
return H._isSubtype(universe, s, sEnv, t1, tEnv);
}
if (sKind === 8) {
if (!H._isSubtype(universe, s._primary, sEnv, t, tEnv))
return false;
return H._isSubtype(universe, H.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
}
if (sKind === 7) {
t1 = H._isSubtype(universe, s._primary, sEnv, t, tEnv);
return t1;
}
if (tKind === 8) {
if (H._isSubtype(universe, s, sEnv, t._primary, tEnv))
return true;
return H._isSubtype(universe, s, sEnv, H.Rti__getFutureFromFutureOr(universe, t), tEnv);
}
if (tKind === 7) {
t1 = H._isSubtype(universe, s, sEnv, t._primary, tEnv);
return t1;
}
if (leftTypeVariable)
return false;
t1 = sKind !== 11;
if ((!t1 || sKind === 12) && t === type$.Function)
return true;
if (tKind === 12) {
if (s === type$.JavaScriptFunction)
return true;
if (sKind !== 12)
return false;
sBounds = s._rest;
tBounds = t._rest;
sLength = sBounds.length;
if (sLength !== tBounds.length)
return false;
sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
for (i = 0; i < sLength; ++i) {
sBound = sBounds[i];
tBound = tBounds[i];
if (!H._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !H._isSubtype(universe, tBound, tEnv, sBound, sEnv))
return false;
}
return H._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
}
if (tKind === 11) {
if (s === type$.JavaScriptFunction)
return true;
if (t1)
return false;
return H._isFunctionSubtype(universe, s, sEnv, t, tEnv);
}
if (sKind === 9) {
if (tKind !== 9)
return false;
return H._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
}
return false;
},
_isFunctionSubtype: function(universe, s, sEnv, t, tEnv) {
var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName;
if (!H._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
return false;
sParameters = s._rest;
tParameters = t._rest;
sRequiredPositional = sParameters._requiredPositional;
tRequiredPositional = tParameters._requiredPositional;
sRequiredPositionalLength = sRequiredPositional.length;
tRequiredPositionalLength = tRequiredPositional.length;
if (sRequiredPositionalLength > tRequiredPositionalLength)
return false;
requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
sOptionalPositional = sParameters._optionalPositional;
tOptionalPositional = tParameters._optionalPositional;
sOptionalPositionalLength = sOptionalPositional.length;
tOptionalPositionalLength = tOptionalPositional.length;
if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
return false;
for (i = 0; i < sRequiredPositionalLength; ++i) {
t1 = sRequiredPositional[i];
if (!H._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
return false;
}
for (i = 0; i < requiredPositionalDelta; ++i) {
t1 = sOptionalPositional[i];
if (!H._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
return false;
}
for (i = 0; i < tOptionalPositionalLength; ++i) {
t1 = sOptionalPositional[requiredPositionalDelta + i];
if (!H._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
return false;
}
sNamed = sParameters._named;
tNamed = tParameters._named;
sNamedLength = sNamed.length;
tNamedLength = tNamed.length;
for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
tName = tNamed[tIndex];
for (; true;) {
if (sIndex >= sNamedLength)
return false;
sName = sNamed[sIndex];
sIndex += 3;
if (tName < sName)
return false;
if (sName < tName)
continue;
t1 = sNamed[sIndex - 1];
if (!H._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
return false;
break;
}
}
return true;
},
_isInterfaceSubtype: function(universe, s, sEnv, t, tEnv) {
var sArgs, tArgs, $length, i, t1, t2, rule, supertypeArgs,
sName = s._primary,
tName = t._primary;
if (sName === tName) {
sArgs = s._rest;
tArgs = t._rest;
$length = sArgs.length;
for (i = 0; i < $length; ++i) {
t1 = sArgs[i];
t2 = tArgs[i];
if (!H._isSubtype(universe, t1, sEnv, t2, tEnv))
return false;
}
return true;
}
if (t === type$.Object)
return true;
rule = H._Universe_findRule(universe, sName);
if (rule == null)
return false;
supertypeArgs = rule[tName];
if (supertypeArgs == null)
return false;
$length = supertypeArgs.length;
tArgs = t._rest;
for (i = 0; i < $length; ++i)
if (!H._isSubtype(universe, H._Universe_evalInEnvironment(universe, s, supertypeArgs[i]), sEnv, tArgs[i], tEnv))
return false;
return true;
},
isNullable: function(t) {
var t1,
kind = t._kind;
if (!(t === type$.Null || t === type$.JSNull))
if (!H.isStrongTopType(t))
if (kind !== 7)
if (!(kind === 6 && H.isNullable(t._primary)))
t1 = kind === 8 && H.isNullable(t._primary);
else
t1 = true;
else
t1 = true;
else
t1 = true;
else
t1 = true;
return t1;
},
isTopType: function(t) {
var t1;
if (!H.isStrongTopType(t))
if (!(t === type$.legacy_Object))
t1 = t === type$.Object;
else
t1 = true;
else
t1 = true;
return t1;
},
isStrongTopType: function(t) {
var kind = t._kind;
return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
},
_Utils_objectAssign: function(o, other) {
var i, key,
keys = Object.keys(other),
$length = keys.length;
for (i = 0; i < $length; ++i) {
key = keys[i];
o[key] = other[key];
}
},
Rti: function Rti(t0, t1) {
var _ = this;
_._as = t0;
_._is = t1;
_._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null;
_._kind = 0;
_._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
},
_FunctionParameters: function _FunctionParameters() {
this._named = this._optionalPositional = this._requiredPositional = null;
},
_Type: function _Type(t0) {
this._rti = t0;
},
_Error: function _Error() {
},
_TypeError: function _TypeError(t0) {
this._message = t0;
},
isBrowserObject: function(o) {
return type$.Blob._is(o) || type$.Event._is(o) || type$.KeyRange._is(o) || type$.ImageData._is(o) || type$.Node._is(o) || type$.Window._is(o) || type$.WorkerGlobalScope._is(o);
},
unmangleGlobalNameIfPreservedAnyways: function($name) {
return init.mangledGlobalNames[$name];
},
printString: function(string) {
if (typeof dartPrint == "function") {
dartPrint(string);
return;
}
if (typeof console == "object" && typeof console.log != "undefined") {
console.log(string);
return;
}
if (typeof window == "object")
return;
if (typeof print == "function") {
print(string);
return;
}
throw "Unable to print message: " + String(string);
}
},
J = {
makeDispatchRecord: function(interceptor, proto, extension, indexability) {
return {i: interceptor, p: proto, e: extension, x: indexability};
},
getNativeInterceptor: function(object) {
var proto, objectProto, $constructor, interceptor, t1,
record = object[init.dispatchPropertyName];
if (record == null)
if ($.initNativeDispatchFlag == null) {
H.initNativeDispatch();
record = object[init.dispatchPropertyName];
}
if (record != null) {
proto = record.p;
if (false === proto)
return record.i;
if (true === proto)
return object;
objectProto = Object.getPrototypeOf(object);
if (proto === objectProto)
return record.i;
if (record.e === objectProto)
throw H.wrapException(P.UnimplementedError$("Return interceptor for " + H.S(proto(object, record))));
}
$constructor = object.constructor;
if ($constructor == null)
interceptor = null;
else {
t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
if (t1 == null)
t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
interceptor = $constructor[t1];
}
if (interceptor != null)
return interceptor;
interceptor = H.lookupAndCacheInterceptor(object);
if (interceptor != null)
return interceptor;
if (typeof object == "function")
return C.JavaScriptFunction_methods;
proto = Object.getPrototypeOf(object);
if (proto == null)
return C.PlainJavaScriptObject_methods;
if (proto === Object.prototype)
return C.PlainJavaScriptObject_methods;
if (typeof $constructor == "function") {
t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
if (t1 == null)
t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
Object.defineProperty($constructor, t1, {value: C.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
return C.UnknownJavaScriptObject_methods;
}
return C.UnknownJavaScriptObject_methods;
},
JSArray_JSArray$fixed: function($length, $E) {
if (!H._isInt($length))
throw H.wrapException(P.ArgumentError$value($length, "length", "is not an integer"));
if ($length < 0 || $length > 4294967295)
throw H.wrapException(P.RangeError$range($length, 0, 4294967295, "length", null));
return J.JSArray_JSArray$markFixed(new Array($length), $E);
},
JSArray_JSArray$growable: function($length, $E) {
if (!H._isInt($length) || $length < 0)
throw H.wrapException(P.ArgumentError$("Length must be a non-negative integer: " + H.S($length)));
return H.setRuntimeTypeInfo(new Array($length), $E._eval$1("JSArray<0>"));
},
JSArray_JSArray$allocateGrowable: function($length, $E) {
if ($length < 0)
throw H.wrapException(P.ArgumentError$("Length must be a non-negative integer: " + $length));
return H.setRuntimeTypeInfo(new Array($length), $E._eval$1("JSArray<0>"));
},
JSArray_JSArray$markFixed: function(allocation, $E) {
return J.JSArray_markFixedList(H.setRuntimeTypeInfo(allocation, $E._eval$1("JSArray<0>")));
},
JSArray_markFixedList: function(list) {
list.fixed$length = Array;
return list;
},
JSArray_markUnmodifiableList: function(list) {
list.fixed$length = Array;
list.immutable$list = Array;
return list;
},
JSArray__compareAny: function(a, b) {
return J.compareTo$1$ns(a, b);
},
JSString__isWhitespace: function(codeUnit) {
if (codeUnit < 256)
switch (codeUnit) {
case 9:
case 10:
case 11:
case 12:
case 13:
case 32:
case 133:
case 160:
return true;
default:
return false;
}
switch (codeUnit) {
case 5760:
case 8192:
case 8193:
case 8194:
case 8195:
case 8196:
case 8197:
case 8198:
case 8199:
case 8200:
case 8201:
case 8202:
case 8232:
case 8233:
case 8239:
case 8287:
case 12288:
case 65279:
return true;
default:
return false;
}
},
JSString__skipLeadingWhitespace: function(string, index) {
var t1, codeUnit;
for (t1 = string.length; index < t1;) {
codeUnit = C.JSString_methods._codeUnitAt$1(string, index);
if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
break;
++index;
}
return index;
},
JSString__skipTrailingWhitespace: function(string, index) {
var index0, codeUnit;
for (; index > 0; index = index0) {
index0 = index - 1;
codeUnit = C.JSString_methods.codeUnitAt$1(string, index0);
if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
break;
}
return index;
},
getInterceptor$: function(receiver) {
if (typeof receiver == "number") {
if (Math.floor(receiver) == receiver)
return J.JSInt.prototype;
return J.JSNumNotInt.prototype;
}
if (typeof receiver == "string")
return J.JSString.prototype;
if (receiver == null)
return J.JSNull.prototype;
if (typeof receiver == "boolean")
return J.JSBool.prototype;
if (receiver.constructor == Array)
return J.JSArray.prototype;
if (typeof receiver != "object") {
if (typeof receiver == "function")
return J.JavaScriptFunction.prototype;
return receiver;
}
if (receiver instanceof P.Object)
return receiver;
return J.getNativeInterceptor(receiver);
},
getInterceptor$ansx: function(receiver) {
if (typeof receiver == "number")
return J.JSNumber.prototype;
if (typeof receiver == "string")
return J.JSString.prototype;
if (receiver == null)
return receiver;
if (receiver.constructor == Array)
return J.JSArray.prototype;
if (typeof receiver != "object") {
if (typeof receiver == "function")
return J.JavaScriptFunction.prototype;
return receiver;
}
if (receiver instanceof P.Object)
return receiver;
return J.getNativeInterceptor(receiver);
},
getInterceptor$asx: function(receiver) {
if (typeof receiver == "string")
return J.JSString.prototype;
if (receiver == null)
return receiver;
if (receiver.constructor == Array)
return J.JSArray.prototype;
if (typeof receiver != "object") {
if (typeof receiver == "function")
return J.JavaScriptFunction.prototype;
return receiver;
}
if (receiver instanceof P.Object)
return receiver;
return J.getNativeInterceptor(receiver);
},
getInterceptor$ax: function(receiver) {
if (receiver == null)
return receiver;
if (receiver.constructor == Array)
return J.JSArray.prototype;
if (typeof receiver != "object") {
if (typeof receiver == "function")
return J.JavaScriptFunction.prototype;
return receiver;
}
if (receiver instanceof P.Object)
return receiver;
return J.getNativeInterceptor(receiver);
},
getInterceptor$in: function(receiver) {
if (typeof receiver == "number") {
if (Math.floor(receiver) == receiver)
return J.JSInt.prototype;
return J.JSNumNotInt.prototype;
}
if (receiver == null)
return receiver;
if (!(receiver instanceof P.Object))
return J.UnknownJavaScriptObject.prototype;
return receiver;
},
getInterceptor$n: function(receiver) {
if (typeof receiver == "number")
return J.JSNumber.prototype;
if (receiver == null)
return receiver;
if (!(receiver instanceof P.Object))
return J.UnknownJavaScriptObject.prototype;
return receiver;
},
getInterceptor$ns: function(receiver) {
if (typeof receiver == "number")
return J.JSNumber.prototype;
if (typeof receiver == "string")
return J.JSString.prototype;
if (receiver == null)
return receiver;
if (!(receiver instanceof P.Object))
return J.UnknownJavaScriptObject.prototype;
return receiver;
},
getInterceptor$s: function(receiver) {
if (typeof receiver == "string")
return J.JSString.prototype;
if (receiver == null)
return receiver;
if (!(receiver instanceof P.Object))
return J.UnknownJavaScriptObject.prototype;
return receiver;
},
getInterceptor$x: function(receiver) {
if (receiver == null)
return receiver;
if (typeof receiver != "object") {
if (typeof receiver == "function")
return J.JavaScriptFunction.prototype;
return receiver;
}
if (receiver instanceof P.Object)
return receiver;
return J.getNativeInterceptor(receiver);
},
getInterceptor$z: function(receiver) {
if (receiver == null)
return receiver;
if (!(receiver instanceof P.Object))
return J.UnknownJavaScriptObject.prototype;
return receiver;
},
set$height$x: function(receiver, value) {
return J.getInterceptor$x(receiver).set$height(receiver, value);
},
set$length$asx: function(receiver, value) {
return J.getInterceptor$asx(receiver).set$length(receiver, value);
},
set$returnValue$x: function(receiver, value) {
return J.getInterceptor$x(receiver).set$returnValue(receiver, value);
},
set$text$x: function(receiver, value) {
return J.getInterceptor$x(receiver).set$text(receiver, value);
},
set$textDirection$x: function(receiver, value) {
return J.getInterceptor$x(receiver).set$textDirection(receiver, value);
},
set$width$x: function(receiver, value) {
return J.getInterceptor$x(receiver).set$width(receiver, value);
},
get$access_token$x: function(receiver) {
return J.getInterceptor$x(receiver).get$access_token(receiver);
},
get$add$ax: function(receiver) {
return J.getInterceptor$ax(receiver).get$add(receiver);
},
get$attributes$x: function(receiver) {
return J.getInterceptor$x(receiver).get$attributes(receiver);
},
get$baseline$z: function(receiver) {
return J.getInterceptor$z(receiver).get$baseline(receiver);
},
get$body$x: function(receiver) {
return J.getInterceptor$x(receiver).get$body(receiver);
},
get$bottom$x: function(receiver) {
return J.getInterceptor$x(receiver).get$bottom(receiver);
},
get$buffer$x: function(receiver) {
return J.getInterceptor$x(receiver).get$buffer(receiver);
},
get$children$x: function(receiver) {
return J.getInterceptor$x(receiver).get$children(receiver);
},
get$close$x: function(receiver) {
return J.getInterceptor$x(receiver).get$close(receiver);
},
get$credentials$z: function(receiver) {
return J.getInterceptor$z(receiver).get$credentials(receiver);
},
get$current$z: function(receiver) {
return J.getInterceptor$z(receiver).get$current(receiver);
},
get$currentUser$x: function(receiver) {
return J.getInterceptor$x(receiver).get$currentUser(receiver);
},
get$document$x: function(receiver) {
return J.getInterceptor$x(receiver).get$document(receiver);
},
get$entries$x: function(receiver) {
return J.getInterceptor$x(receiver).get$entries(receiver);
},
get$error$x: function(receiver) {
return J.getInterceptor$x(receiver).get$error(receiver);
},
get$first$ax: function(receiver) {
return J.getInterceptor$ax(receiver).get$first(receiver);
},
get$hashCode$: function(receiver) {
return J.getInterceptor$(receiver).get$hashCode(receiver);
},
get$height$x: function(receiver) {
return J.getInterceptor$x(receiver).get$height(receiver);
},
get$id$x: function(receiver) {
return J.getInterceptor$x(receiver).get$id(receiver);
},
get$id_token$x: function(receiver) {
return J.getInterceptor$x(receiver).get$id_token(receiver);
},
get$index$z: function(receiver) {
return J.getInterceptor$z(receiver).get$index(receiver);
},
get$isEmpty$asx: function(receiver) {
return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
},
get$isNegative$n: function(receiver) {
return J.getInterceptor$n(receiver).get$isNegative(receiver);
},
get$isNotEmpty$asx: function(receiver) {
return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
},
get$iterator$ax: function(receiver) {
return J.getInterceptor$ax(receiver).get$iterator(receiver);
},
get$key$x: function(receiver) {
return J.getInterceptor$x(receiver).get$key(receiver);
},
get$keys$x: function(receiver) {
return J.getInterceptor$x(receiver).get$keys(receiver);
},
get$last$ax: function(receiver) {
return J.getInterceptor$ax(receiver).get$last(receiver);
},
get$left$x: function(receiver) {
return J.getInterceptor$x(receiver).get$left(receiver);
},
get$length$asx: function(receiver) {
return J.getInterceptor$asx(receiver).get$length(receiver);
},
get$lengthInBytes$x: function(receiver) {
return J.getInterceptor$x(receiver).get$lengthInBytes(receiver);
},
get$message$z: function(receiver) {
return J.getInterceptor$z(receiver).get$message(receiver);
},
get$name$x: function(receiver) {
return J.getInterceptor$x(receiver).get$name(receiver);
},
get$numPages$x: function(receiver) {
return J.getInterceptor$x(receiver).get$numPages(receiver);
},
get$offset$x: function(receiver) {
return J.getInterceptor$x(receiver).get$offset(receiver);
},
get$onBlur$x: function(receiver) {
return J.getInterceptor$x(receiver).get$onBlur(receiver);
},
get$onFocus$x: function(receiver) {
return J.getInterceptor$x(receiver).get$onFocus(receiver);
},
get$pageNumber$x: function(receiver) {
return J.getInterceptor$x(receiver).get$pageNumber(receiver);
},
get$path$x: function(receiver) {
return J.getInterceptor$x(receiver).get$path(receiver);
},
get$product$x: function(receiver) {
return J.getInterceptor$x(receiver).get$product(receiver);
},
get$promise$x: function(receiver) {
return J.getInterceptor$x(receiver).get$promise(receiver);
},
get$reversed$ax: function(receiver) {
return J.getInterceptor$ax(receiver).get$reversed(receiver);
},
get$right$x: function(receiver) {
return J.getInterceptor$x(receiver).get$right(receiver);
},
get$runtimeType$: function(receiver) {
return J.getInterceptor$(receiver).get$runtimeType(receiver);
},
get$setRequestHeader$x: function(receiver) {
return J.getInterceptor$x(receiver).get$setRequestHeader(receiver);
},
get$sign$in: function(receiver) {
if (typeof receiver === "number")
return receiver > 0 ? 1 : receiver < 0 ? -1 : receiver;
return J.getInterceptor$in(receiver).get$sign(receiver);
},
get$source$z: function(receiver) {
return J.getInterceptor$z(receiver).get$source(receiver);
},
get$stop$z: function(receiver) {
return J.getInterceptor$z(receiver).get$stop(receiver);
},
get$stream$z: function(receiver) {
return J.getInterceptor$z(receiver).get$stream(receiver);
},
get$target$x: function(receiver) {
return J.getInterceptor$x(receiver).get$target(receiver);
},
get$top$x: function(receiver) {
return J.getInterceptor$x(receiver).get$top(receiver);
},
get$type$x: function(receiver) {
return J.getInterceptor$x(receiver).get$type(receiver);
},
get$value$x: function(receiver) {
return J.getInterceptor$x(receiver).get$value(receiver);
},
get$values$x: function(receiver) {
return J.getInterceptor$x(receiver).get$values(receiver);
},
get$vendor$x: function(receiver) {
return J.getInterceptor$x(receiver).get$vendor(receiver);
},
get$width$x: function(receiver) {
return J.getInterceptor$x(receiver).get$width(receiver);
},
$add$ansx: function(receiver, a0) {
if (typeof receiver == "number" && typeof a0 == "number")
return receiver + a0;
return J.getInterceptor$ansx(receiver).$add(receiver, a0);
},
$div$n: function(receiver, a0) {
if (typeof receiver == "number" && typeof a0 == "number")
return receiver / a0;
return J.getInterceptor$n(receiver).$div(receiver, a0);
},
$eq$: function(receiver, a0) {
if (receiver == null)
return a0 == null;
if (typeof receiver != "object")
return a0 != null && receiver === a0;
return J.getInterceptor$(receiver).$eq(receiver, a0);
},
$get$0$x: function(receiver) {
return J.getInterceptor$x(receiver).$get$0(receiver);
},
$gt$n: function(receiver, a0) {
if (typeof receiver == "number" && typeof a0 == "number")
return receiver > a0;
return J.getInterceptor$n(receiver).$gt(receiver, a0);
},
$index$asx: function(receiver, a0) {
if (typeof a0 === "number")
if (receiver.constructor == Array || typeof receiver == "string" || H.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
if (a0 >>> 0 === a0 && a0 < receiver.length)
return receiver[a0];
return J.getInterceptor$asx(receiver).$index(receiver, a0);
},
$indexSet$ax: function(receiver, a0, a1) {
if (typeof a0 === "number")
if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
return receiver[a0] = a1;
return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
},
$mul$ns: function(receiver, a0) {
if (typeof receiver == "number" && typeof a0 == "number")
return receiver * a0;
return J.getInterceptor$ns(receiver).$mul(receiver, a0);
},
$sub$n: function(receiver, a0) {
if (typeof receiver == "number" && typeof a0 == "number")
return receiver - a0;
return J.getInterceptor$n(receiver).$sub(receiver, a0);
},
_clearChildren$0$x: function(receiver) {
return J.getInterceptor$x(receiver)._clearChildren$0(receiver);
},
_codeUnitAt$1$s: function(receiver, a0) {
return J.getInterceptor$s(receiver)._codeUnitAt$1(receiver, a0);
},
_initEvent$3$x: function(receiver, a0, a1, a2) {
return J.getInterceptor$x(receiver)._initEvent$3(receiver, a0, a1, a2);
},
_replaceChild$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver)._replaceChild$2(receiver, a0, a1);
},
add$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).add$1(receiver, a0);
},
addAll$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
},
addEventListener$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).addEventListener$2(receiver, a0, a1);
},
addEventListener$3$x: function(receiver, a0, a1, a2) {
return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2);
},
addListener$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).addListener$1(receiver, a0);
},
addPopStateListener$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).addPopStateListener$1(receiver, a0);
},
addText$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).addText$1(receiver, a0);
},
allMatches$1$s: function(receiver, a0) {
return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
},
allMatches$2$s: function(receiver, a0, a1) {
return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
},
any$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).any$1(receiver, a0);
},
asByteData$0$x: function(receiver) {
return J.getInterceptor$x(receiver).asByteData$0(receiver);
},
asByteData$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).asByteData$2(receiver, a0, a1);
},
asFloat64List$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).asFloat64List$2(receiver, a0, a1);
},
asInt32List$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).asInt32List$2(receiver, a0, a1);
},
asInt64List$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).asInt64List$2(receiver, a0, a1);
},
asMap$0$ax: function(receiver) {
return J.getInterceptor$ax(receiver).asMap$0(receiver);
},
asUint8List$0$x: function(receiver) {
return J.getInterceptor$x(receiver).asUint8List$0(receiver);
},
asUint8List$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).asUint8List$2(receiver, a0, a1);
},
boundingBox$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).boundingBox$1(receiver, a0);
},
build$0$x: function(receiver) {
return J.getInterceptor$x(receiver).build$0(receiver);
},
cancel$0$z: function(receiver) {
return J.getInterceptor$z(receiver).cancel$0(receiver);
},
cast$1$0$ax: function(receiver, $T1) {
return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
},
cast$2$0$ax: function(receiver, $T1, $T2) {
return J.getInterceptor$ax(receiver).cast$2$0(receiver, $T1, $T2);
},
clamp$2$n: function(receiver, a0, a1) {
return J.getInterceptor$n(receiver).clamp$2(receiver, a0, a1);
},
clear$0$ax: function(receiver) {
return J.getInterceptor$ax(receiver).clear$0(receiver);
},
close$0$x: function(receiver) {
return J.getInterceptor$x(receiver).close$0(receiver);
},
codeUnitAt$1$s: function(receiver, a0) {
return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
},
compareTo$1$ns: function(receiver, a0) {
return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
},
compareTo$3$expenseCategory$sortAscending$sortField$ns: function(receiver, a0, a1, a2) {
return J.getInterceptor$ns(receiver).compareTo$3$expenseCategory$sortAscending$sortField(receiver, a0, a1, a2);
},
compareTo$3$sortAscending$sortField$taskStatus$ns: function(receiver, a0, a1, a2) {
return J.getInterceptor$ns(receiver).compareTo$3$sortAscending$sortField$taskStatus(receiver, a0, a1, a2);
},
compareTo$5$clientMap$invoice$sortAscending$sortField$userMap$ns: function(receiver, a0, a1, a2, a3, a4) {
return J.getInterceptor$ns(receiver).compareTo$5$clientMap$invoice$sortAscending$sortField$userMap(receiver, a0, a1, a2, a3, a4);
},
compareTo$6$clientMap$invoice$recurringPrefix$sortAscending$sortField$userMap$ns: function(receiver, a0, a1, a2, a3, a4, a5) {
return J.getInterceptor$ns(receiver).compareTo$6$clientMap$invoice$recurringPrefix$sortAscending$sortField$userMap(receiver, a0, a1, a2, a3, a4, a5);
},
complete$1$z: function(receiver, a0) {
return J.getInterceptor$z(receiver).complete$1(receiver, a0);
},
complete$2$isReplaced$z: function(receiver, a0, a1) {
return J.getInterceptor$z(receiver).complete$2$isReplaced(receiver, a0, a1);
},
contains$1$asx: function(receiver, a0) {
return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
},
contains$2$asx: function(receiver, a0, a1) {
return J.getInterceptor$asx(receiver).contains$2(receiver, a0, a1);
},
containsKey$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).containsKey$1(receiver, a0);
},
containsPoint$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).containsPoint$1(receiver, a0);
},
createElement$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).createElement$1(receiver, a0);
},
detach$0$z: function(receiver) {
return J.getInterceptor$z(receiver).detach$0(receiver);
},
disconnect$0$x: function(receiver) {
return J.getInterceptor$x(receiver).disconnect$0(receiver);
},
dispose$0$x: function(receiver) {
return J.getInterceptor$x(receiver).dispose$0(receiver);
},
elementAt$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
},
firstWhere$2$orElse$ax: function(receiver, a0, a1) {
return J.getInterceptor$ax(receiver).firstWhere$2$orElse(receiver, a0, a1);
},
floor$0$n: function(receiver) {
return J.getInterceptor$n(receiver).floor$0(receiver);
},
focus$0$x: function(receiver) {
return J.getInterceptor$x(receiver).focus$0(receiver);
},
fold$1$2$ax: function(receiver, a0, a1, $T1) {
return J.getInterceptor$ax(receiver).fold$1$2(receiver, a0, a1, $T1);
},
forEach$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
},
getAuthResponse$0$x: function(receiver) {
return J.getInterceptor$x(receiver).getAuthResponse$0(receiver);
},
getBasicProfile$0$x: function(receiver) {
return J.getInterceptor$x(receiver).getBasicProfile$0(receiver);
},
getEmail$0$x: function(receiver) {
return J.getInterceptor$x(receiver).getEmail$0(receiver);
},
getFloat64$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).getFloat64$2(receiver, a0, a1);
},
getId$0$x: function(receiver) {
return J.getInterceptor$x(receiver).getId$0(receiver);
},
getImageUrl$0$x: function(receiver) {
return J.getInterceptor$x(receiver).getImageUrl$0(receiver);
},
getInt32$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).getInt32$2(receiver, a0, a1);
},
getInt64$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).getInt64$2(receiver, a0, a1);
},
getName$0$x: function(receiver) {
return J.getInterceptor$x(receiver).getName$0(receiver);
},
getPage$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).getPage$1(receiver, a0);
},
getPath$0$x: function(receiver) {
return J.getInterceptor$x(receiver).getPath$0(receiver);
},
getRange$2$ax: function(receiver, a0, a1) {
return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
},
getState$0$x: function(receiver) {
return J.getInterceptor$x(receiver).getState$0(receiver);
},
getUint16$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).getUint16$2(receiver, a0, a1);
},
getUint32$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).getUint32$2(receiver, a0, a1);
},
getUint8$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).getUint8$1(receiver, a0);
},
getViewport$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).getViewport$1(receiver, a0);
},
go$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).go$1(receiver, a0);
},
indexOf$1$asx: function(receiver, a0) {
return J.getInterceptor$asx(receiver).indexOf$1(receiver, a0);
},
indexOf$2$asx: function(receiver, a0, a1) {
return J.getInterceptor$asx(receiver).indexOf$2(receiver, a0, a1);
},
insert$2$ax: function(receiver, a0, a1) {
return J.getInterceptor$ax(receiver).insert$2(receiver, a0, a1);
},
isIdentity$0$z: function(receiver) {
return J.getInterceptor$z(receiver).isIdentity$0(receiver);
},
isSignedIn$0$x: function(receiver) {
return J.getInterceptor$x(receiver).isSignedIn$0(receiver);
},
join$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).join$1(receiver, a0);
},
listen$3$onDone$onError$z: function(receiver, a0, a1, a2) {
return J.getInterceptor$z(receiver).listen$3$onDone$onError(receiver, a0, a1, a2);
},
listen$4$cancelOnError$onDone$onError$z: function(receiver, a0, a1, a2, a3) {
return J.getInterceptor$z(receiver).listen$4$cancelOnError$onDone$onError(receiver, a0, a1, a2, a3);
},
listener$0$z: function(receiver) {
return J.getInterceptor$z(receiver).listener$0(receiver);
},
map$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).map$1(receiver, a0);
},
map$1$1$ax: function(receiver, a0, $T1) {
return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
},
map$2$1$ax: function(receiver, a0, $T1, $T2) {
return J.getInterceptor$ax(receiver).map$2$1(receiver, a0, $T1, $T2);
},
matchAsPrefix$2$s: function(receiver, a0, a1) {
return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
},
noSuchMethod$1$: function(receiver, a0) {
return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
},
open$3$async$x: function(receiver, a0, a1, a2) {
return J.getInterceptor$x(receiver).open$3$async(receiver, a0, a1, a2);
},
parse$2$z: function(receiver, a0, a1) {
return J.getInterceptor$z(receiver).parse$2(receiver, a0, a1);
},
pause$0$z: function(receiver) {
return J.getInterceptor$z(receiver).pause$0(receiver);
},
preventDefault$0$x: function(receiver) {
return J.getInterceptor$x(receiver).preventDefault$0(receiver);
},
pushState$3$x: function(receiver, a0, a1, a2) {
return J.getInterceptor$x(receiver).pushState$3(receiver, a0, a1, a2);
},
pushStyle$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).pushStyle$1(receiver, a0);
},
putIfAbsent$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).putIfAbsent$2(receiver, a0, a1);
},
remove$0$ax: function(receiver) {
return J.getInterceptor$ax(receiver).remove$0(receiver);
},
remove$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).remove$1(receiver, a0);
},
removeAt$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).removeAt$1(receiver, a0);
},
removeEventListener$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).removeEventListener$2(receiver, a0, a1);
},
removeEventListener$3$x: function(receiver, a0, a1, a2) {
return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2);
},
removeLast$0$ax: function(receiver) {
return J.getInterceptor$ax(receiver).removeLast$0(receiver);
},
removeListener$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).removeListener$1(receiver, a0);
},
removeRange$2$ax: function(receiver, a0, a1) {
return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1);
},
removeWhere$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).removeWhere$1(receiver, a0);
},
replaceFirst$2$s: function(receiver, a0, a1) {
return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1);
},
replaceRange$3$asx: function(receiver, a0, a1, a2) {
return J.getInterceptor$asx(receiver).replaceRange$3(receiver, a0, a1, a2);
},
replaceState$3$x: function(receiver, a0, a1, a2) {
return J.getInterceptor$x(receiver).replaceState$3(receiver, a0, a1, a2);
},
replaceWith$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).replaceWith$1(receiver, a0);
},
resume$0$z: function(receiver) {
return J.getInterceptor$z(receiver).resume$0(receiver);
},
retainWhere$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).retainWhere$1(receiver, a0);
},
round$0$n: function(receiver) {
return J.getInterceptor$n(receiver).round$0(receiver);
},
roundToDouble$0$n: function(receiver) {
return J.getInterceptor$n(receiver).roundToDouble$0(receiver);
},
select$0$x: function(receiver) {
return J.getInterceptor$x(receiver).select$0(receiver);
},
send$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).send$1(receiver, a0);
},
setRange$3$ax: function(receiver, a0, a1, a2) {
return J.getInterceptor$ax(receiver).setRange$3(receiver, a0, a1, a2);
},
setRange$4$ax: function(receiver, a0, a1, a2, a3) {
return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
},
signIn$1$x: function(receiver, a0) {
return J.getInterceptor$x(receiver).signIn$1(receiver, a0);
},
signOut$0$x: function(receiver) {
return J.getInterceptor$x(receiver).signOut$0(receiver);
},
skip$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
},
sort$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
},
split$1$s: function(receiver, a0) {
return J.getInterceptor$s(receiver).split$1(receiver, a0);
},
startsWith$1$s: function(receiver, a0) {
return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
},
startsWith$2$s: function(receiver, a0, a1) {
return J.getInterceptor$s(receiver).startsWith$2(receiver, a0, a1);
},
sublist$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).sublist$1(receiver, a0);
},
sublist$2$ax: function(receiver, a0, a1) {
return J.getInterceptor$ax(receiver).sublist$2(receiver, a0, a1);
},
substring$1$s: function(receiver, a0) {
return J.getInterceptor$s(receiver).substring$1(receiver, a0);
},
substring$2$s: function(receiver, a0, a1) {
return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
},
take$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).take$1(receiver, a0);
},
then$1$1$x: function(receiver, a0, $T1) {
return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
},
then$1$2$onError$x: function(receiver, a0, a1, $T1) {
return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
},
then$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
},
toInt$0$n: function(receiver) {
return J.getInterceptor$n(receiver).toInt$0(receiver);
},
toList$0$ax: function(receiver) {
return J.getInterceptor$ax(receiver).toList$0(receiver);
},
toList$1$growable$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
},
toLowerCase$0$s: function(receiver) {
return J.getInterceptor$s(receiver).toLowerCase$0(receiver);
},
toRadixString$1$n: function(receiver, a0) {
return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
},
toSet$0$ax: function(receiver) {
return J.getInterceptor$ax(receiver).toSet$0(receiver);
},
toString$0$: function(receiver) {
return J.getInterceptor$(receiver).toString$0(receiver);
},
toStringAsFixed$1$n: function(receiver, a0) {
return J.getInterceptor$n(receiver).toStringAsFixed$1(receiver, a0);
},
total$2$x: function(receiver, a0, a1) {
return J.getInterceptor$x(receiver).total$2(receiver, a0, a1);
},
trim$0$s: function(receiver) {
return J.getInterceptor$s(receiver).trim$0(receiver);
},
trimLeft$0$s: function(receiver) {
return J.getInterceptor$s(receiver).trimLeft$0(receiver);
},
trimRight$0$s: function(receiver) {
return J.getInterceptor$s(receiver).trimRight$0(receiver);
},
unlock$0$x: function(receiver) {
return J.getInterceptor$x(receiver).unlock$0(receiver);
},
where$1$ax: function(receiver, a0) {
return J.getInterceptor$ax(receiver).where$1(receiver, a0);
},
Interceptor: function Interceptor() {
},
JSBool: function JSBool() {
},
JSNull: function JSNull() {
},
JavaScriptObject: function JavaScriptObject() {
},
PlainJavaScriptObject: function PlainJavaScriptObject() {
},
UnknownJavaScriptObject: function UnknownJavaScriptObject() {
},
JavaScriptFunction: function JavaScriptFunction() {
},
JSArray: function JSArray(t0) {
this.$ti = t0;
},
JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
this.$ti = t0;
},
ArrayIterator: function ArrayIterator(t0, t1, t2) {
var _ = this;
_.__interceptors$_iterable = t0;
_.__interceptors$_length = t1;
_.__interceptors$_index = 0;
_.__interceptors$_current = null;
_.$ti = t2;
},
JSNumber: function JSNumber() {
},
JSInt: function JSInt() {
},
JSNumNotInt: function JSNumNotInt() {
},
JSString: function JSString() {
}
},
P = {
_AsyncRun__initializeScheduleImmediate: function() {
var div, span, t1 = {};
if (self.scheduleImmediate != null)
return P.async__AsyncRun__scheduleImmediateJsOverride$closure();
if (self.MutationObserver != null && self.document != null) {
div = self.document.createElement("div");
span = self.document.createElement("span");
t1.storedCallback = null;
new self.MutationObserver(H.convertDartClosureToJS(new P._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
return new P._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
} else if (self.setImmediate != null)
return P.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
return P.async__AsyncRun__scheduleImmediateWithTimer$closure();
},
_AsyncRun__scheduleImmediateJsOverride: function(callback) {
self.scheduleImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
},
_AsyncRun__scheduleImmediateWithSetImmediate: function(callback) {
self.setImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
},
_AsyncRun__scheduleImmediateWithTimer: function(callback) {
P.Timer__createTimer(C.Duration_0, callback);
},
Timer__createTimer: function(duration, callback) {
var milliseconds = C.JSInt_methods._tdivFast$1(duration._duration, 1000);
return P._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
},
Timer__createPeriodicTimer: function(duration, callback) {
var milliseconds = C.JSInt_methods._tdivFast$1(duration._duration, 1000);
return P._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
},
_TimerImpl$: function(milliseconds, callback) {
var t1 = new P._TimerImpl(true);
t1._TimerImpl$2(milliseconds, callback);
return t1;
},
_TimerImpl$periodic: function(milliseconds, callback) {
var t1 = new P._TimerImpl(false);
t1._TimerImpl$periodic$2(milliseconds, callback);
return t1;
},
_makeAsyncAwaitCompleter: function($T) {
return new P._AsyncAwaitCompleter(new P._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
},
_asyncStartSync: function(bodyFunction, completer) {
bodyFunction.call$2(0, null);
completer.isSync = true;
return completer._future;
},
_asyncAwait: function(object, bodyFunction) {
P._awaitOnObject(object, bodyFunction);
},
_asyncReturn: function(object, completer) {
completer.complete$1(0, object);
},
_asyncRethrow: function(object, completer) {
completer.completeError$2(H.unwrapException(object), H.getTraceFromException(object));
},
_awaitOnObject: function(object, bodyFunction) {
var t1, future,
thenCallback = new P._awaitOnObject_closure(bodyFunction),
errorCallback = new P._awaitOnObject_closure0(bodyFunction);
if (object instanceof P._Future)
object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
else {
t1 = type$.dynamic;
if (type$.Future_dynamic._is(object))
object.then$1$2$onError(0, thenCallback, errorCallback, t1);
else {
future = new P._Future($.Zone__current, type$._Future_dynamic);
future._state = 4;
future._resultOrListeners = object;
future._thenAwait$1$2(thenCallback, errorCallback, t1);
}
}
},
_wrapJsFunctionForAsync: function($function) {
var $protected = function(fn, ERROR) {
return function(errorCode, result) {
while (true)
try {
fn(errorCode, result);
break;
} catch (error) {
result = error;
errorCode = ERROR;
}
};
}($function, 1);
return $.Zone__current.registerBinaryCallback$3$1(new P._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
},
_asyncStarHelper: function(object, bodyFunctionOrErrorCode, controller) {
var t1, t2, stream;
if (bodyFunctionOrErrorCode === 0) {
t1 = controller.cancelationFuture;
if (t1 != null)
t1._completeWithValue$1(null);
else
controller.get$controller(controller).close$0(0);
return;
} else if (bodyFunctionOrErrorCode === 1) {
t1 = controller.cancelationFuture;
if (t1 != null)
t1._completeError$2(H.unwrapException(object), H.getTraceFromException(object));
else {
t1 = H.unwrapException(object);
t2 = H.getTraceFromException(object);
controller.get$controller(controller).addError$2(t1, t2);
controller.get$controller(controller).close$0(0);
}
return;
}
if (object instanceof P._IterationMarker) {
if (controller.cancelationFuture != null) {
bodyFunctionOrErrorCode.call$2(2, null);
return;
}
t1 = object.state;
if (t1 === 0) {
t1 = object.value;
controller.get$controller(controller).add$1(0, t1);
P.scheduleMicrotask(new P._asyncStarHelper_closure(controller, bodyFunctionOrErrorCode));
return;
} else if (t1 === 1) {
stream = object.value;
controller.get$controller(controller).addStream$2$cancelOnError(0, stream, false).then$1(0, new P._asyncStarHelper_closure0(controller, bodyFunctionOrErrorCode));
return;
}
}
P._awaitOnObject(object, bodyFunctionOrErrorCode);
},
_streamOfController: function(controller) {
var t1 = controller.get$controller(controller);
return t1.get$stream(t1);
},
_AsyncStarStreamController$: function(body, $T) {
var t1 = new P._AsyncStarStreamController($T._eval$1("_AsyncStarStreamController<0>"));
t1._AsyncStarStreamController$1(body, $T);
return t1;
},
_makeAsyncStarStreamController: function(body, $T) {
return P._AsyncStarStreamController$(body, $T);
},
_IterationMarker_yieldStar: function(values) {
return new P._IterationMarker(values, 1);
},
_IterationMarker_endOfIteration: function() {
return C._IterationMarker_null_2;
},
_IterationMarker_yieldSingle: function(value) {
return new P._IterationMarker(value, 0);
},
_IterationMarker_uncaughtError: function(error) {
return new P._IterationMarker(error, 3);
},
_makeSyncStarIterable: function(body, $T) {
return new P._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>"));
},
AsyncError$: function(error, stackTrace) {
var t1 = H.checkNotNullable(error, "error", type$.Object);
return new P.AsyncError(t1, stackTrace == null ? P.AsyncError_defaultStackTrace(error) : stackTrace);
},
AsyncError_defaultStackTrace: function(error) {
var stackTrace;
if (type$.Error._is(error)) {
stackTrace = error.get$stackTrace();
if (stackTrace != null)
return stackTrace;
}
return C._StringStackTrace_3uE;
},
Future_Future: function(computation, $T) {
var result = new P._Future($.Zone__current, $T._eval$1("_Future<0>"));
P.Timer_Timer(C.Duration_0, new P.Future_Future_closure(result, computation));
return result;
},
Future_Future$microtask: function(computation, $T) {
var result = new P._Future($.Zone__current, $T._eval$1("_Future<0>"));
P.scheduleMicrotask(new P.Future_Future$microtask_closure(result, computation));
return result;
},
Future_Future$value: function(value, $T) {
var t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>"));
t1._asyncComplete$1(value);
return t1;
},
Future_Future$error: function(error, stackTrace, $T) {
var t1, replacement;
H.checkNotNullable(error, "error", type$.Object);
t1 = $.Zone__current;
if (t1 !== C.C__RootZone) {
replacement = t1.errorCallback$2(error, stackTrace);
if (replacement != null) {
error = replacement.error;
stackTrace = replacement.stackTrace;
}
}
if (stackTrace == null)
stackTrace = P.AsyncError_defaultStackTrace(error);
t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>"));
t1._asyncCompleteError$2(error, stackTrace);
return t1;
},
Future_Future$delayed: function(duration, computation, $T) {
var result;
computation == null;
result = new P._Future($.Zone__current, $T._eval$1("_Future<0>"));
P.Timer_Timer(duration, new P.Future_Future$delayed_closure(computation, result, $T));
return result;
},
Future_wait: function(futures, $T) {
var _error_get, _error_set, _stackTrace_get, _stackTrace_set, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
eagerError = false,
_future = new P._Future($.Zone__current, $T._eval$1("_Future>"));
_box_0.values = null;
_box_0.remaining = 0;
_box_0._error = $;
_error_get = new P.Future_wait__error_get(_box_0);
_error_set = new P.Future_wait__error_set(_box_0);
_box_0._stackTrace0 = $;
_stackTrace_get = new P.Future_wait__stackTrace_get(_box_0);
_stackTrace_set = new P.Future_wait__stackTrace_set(_box_0);
handleError = new P.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, _error_set, _stackTrace_set, _error_get, _stackTrace_get);
try {
for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
future = t1.get$current(t1);
pos = _box_0.remaining;
J.then$1$2$onError$x(future, new P.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, _error_get, _stackTrace_get, $T), handleError, t2);
++_box_0.remaining;
}
t1 = _box_0.remaining;
if (t1 === 0) {
t1 = _future;
t1._completeWithValue$1(H.setRuntimeTypeInfo([], $T._eval$1("JSArray<0>")));
return t1;
}
_box_0.values = P.List_List$filled(t1, null, false, $T._eval$1("0?"));
} catch (exception) {
e = H.unwrapException(exception);
st = H.getTraceFromException(exception);
if (_box_0.remaining === 0 || eagerError)
return P.Future_Future$error(e, st, $T._eval$1("List<0>"));
else {
_error_set.call$1(e);
_stackTrace_set.call$1(st);
}
}
return _future;
},
Completer_Completer: function($T) {
return new P._AsyncCompleter(new P._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncCompleter<0>"));
},
_completeWithErrorCallback: function(result, error, stackTrace) {
var replacement = $.Zone__current.errorCallback$2(error, stackTrace);
if (replacement != null) {
error = replacement.error;
stackTrace = replacement.stackTrace;
} else if (stackTrace == null)
stackTrace = P.AsyncError_defaultStackTrace(error);
result._completeError$2(error, stackTrace);
},
_Future$zoneValue: function(value, _zone, $T) {
var t1 = new P._Future(_zone, $T._eval$1("_Future<0>"));
t1._state = 4;
t1._resultOrListeners = value;
return t1;
},
_Future__chainCoreFuture: function(source, target) {
var t1, listeners;
for (; t1 = source._state, t1 === 2;)
source = source._resultOrListeners;
if (t1 >= 4) {
listeners = target._removeListeners$0();
target._state = source._state;
target._resultOrListeners = source._resultOrListeners;
P._Future__propagateToListeners(target, listeners);
} else {
listeners = target._resultOrListeners;
target._state = 2;
target._resultOrListeners = source;
source._prependListeners$1(listeners);
}
},
_Future__propagateToListeners: function(source, listeners) {
var t2, _box_0, hasError, nextListener, nextListener0, t3, sourceResult, t4, t5, zone, oldZone, result, current, _box_1 = {},
t1 = _box_1.source = source;
for (t2 = type$.Future_dynamic; true;) {
_box_0 = {};
hasError = t1._state === 8;
if (listeners == null) {
if (hasError) {
t2 = t1._resultOrListeners;
t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
}
return;
}
_box_0.listener = listeners;
nextListener = listeners._nextListener;
for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
t1._nextListener = null;
P._Future__propagateToListeners(_box_1.source, t1);
_box_0.listener = nextListener;
nextListener0 = nextListener._nextListener;
}
t3 = _box_1.source;
sourceResult = t3._resultOrListeners;
_box_0.listenerHasError = hasError;
_box_0.listenerValueOrError = sourceResult;
t4 = !hasError;
if (t4) {
t5 = t1.state;
t5 = (t5 & 1) !== 0 || (t5 & 15) === 8;
} else
t5 = true;
if (t5) {
zone = t1.result._zone;
if (hasError) {
t1 = t3._zone;
t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
} else
t1 = false;
if (t1) {
t1 = _box_1.source;
t2 = t1._resultOrListeners;
t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
return;
}
oldZone = $.Zone__current;
if (oldZone !== zone)
$.Zone__current = zone;
else
oldZone = null;
t1 = _box_0.listener.state;
if ((t1 & 15) === 8)
new P._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
else if (t4) {
if ((t1 & 1) !== 0)
new P._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
} else if ((t1 & 2) !== 0)
new P._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
if (oldZone != null)
$.Zone__current = oldZone;
t1 = _box_0.listenerValueOrError;
if (t2._is(t1)) {
t3 = _box_0.listener.$ti;
t3 = t3._eval$1("Future<2>")._is(t1) || !t3._rest[1]._is(t1);
} else
t3 = false;
if (t3) {
result = _box_0.listener.result;
if (t1 instanceof P._Future)
if (t1._state >= 4) {
current = result._resultOrListeners;
result._resultOrListeners = null;
listeners = result._reverseListeners$1(current);
result._state = t1._state;
result._resultOrListeners = t1._resultOrListeners;
_box_1.source = t1;
continue;
} else
P._Future__chainCoreFuture(t1, result);
else
result._chainForeignFuture$1(t1);
return;
}
}
result = _box_0.listener.result;
current = result._resultOrListeners;
result._resultOrListeners = null;
listeners = result._reverseListeners$1(current);
t1 = _box_0.listenerHasError;
t3 = _box_0.listenerValueOrError;
if (!t1) {
result._state = 4;
result._resultOrListeners = t3;
} else {
result._state = 8;
result._resultOrListeners = t3;
}
_box_1.source = result;
t1 = result;
}
},
_registerErrorHandler: function(errorHandler, zone) {
if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
if (type$.dynamic_Function_Object._is(errorHandler))
return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
throw H.wrapException(P.ArgumentError$value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a valid result"));
},
_microtaskLoop: function() {
var entry, next;
for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
$._lastPriorityCallback = null;
next = entry.next;
$._nextCallback = next;
if (next == null)
$._lastCallback = null;
entry.callback.call$0();
}
},
_startMicrotaskLoop: function() {
$._isInCallbackLoop = true;
try {
P._microtaskLoop();
} finally {
$._lastPriorityCallback = null;
$._isInCallbackLoop = false;
if ($._nextCallback != null)
$.$get$_AsyncRun__scheduleImmediateClosure().call$1(P.async___startMicrotaskLoop$closure());
}
},
_scheduleAsyncCallback: function(callback) {
var newEntry = new P._AsyncCallbackEntry(callback),
lastCallback = $._lastCallback;
if (lastCallback == null) {
$._nextCallback = $._lastCallback = newEntry;
if (!$._isInCallbackLoop)
$.$get$_AsyncRun__scheduleImmediateClosure().call$1(P.async___startMicrotaskLoop$closure());
} else
$._lastCallback = lastCallback.next = newEntry;
},
_schedulePriorityAsyncCallback: function(callback) {
var entry, lastPriorityCallback, next,
t1 = $._nextCallback;
if (t1 == null) {
P._scheduleAsyncCallback(callback);
$._lastPriorityCallback = $._lastCallback;
return;
}
entry = new P._AsyncCallbackEntry(callback);
lastPriorityCallback = $._lastPriorityCallback;
if (lastPriorityCallback == null) {
entry.next = t1;
$._nextCallback = $._lastPriorityCallback = entry;
} else {
next = lastPriorityCallback.next;
entry.next = next;
$._lastPriorityCallback = lastPriorityCallback.next = entry;
if (next == null)
$._lastCallback = entry;
}
},
scheduleMicrotask: function(callback) {
var t1, _null = null,
currentZone = $.Zone__current;
if (C.C__RootZone === currentZone) {
P._rootScheduleMicrotask(_null, _null, C.C__RootZone, callback);
return;
}
if (C.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
t1 = C.C__RootZone.get$errorZone() === currentZone.get$errorZone();
else
t1 = false;
if (t1) {
P._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
return;
}
t1 = $.Zone__current;
t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
},
Stream_Stream$fromFuture: function(future, $T) {
var _null = null,
t1 = $T._eval$1("_SyncStreamController<0>"),
controller = new P._SyncStreamController(_null, _null, _null, _null, t1);
future.then$1$2$onError(0, new P.Stream_Stream$fromFuture_closure(controller, $T), new P.Stream_Stream$fromFuture_closure0(controller), type$.Null);
return new P._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
},
Stream_Stream$fromIterable: function(elements, $T) {
return new P._GeneratedStreamImpl(new P.Stream_Stream$fromIterable_closure(elements, $T), $T._eval$1("_GeneratedStreamImpl<0>"));
},
StreamIterator_StreamIterator: function(stream, $T) {
return new P._StreamIterator(H.checkNotNullable(stream, "stream", type$.Object), $T._eval$1("_StreamIterator<0>"));
},
StreamController_StreamController: function(onCancel, onListen, onPause, onResume, sync, $T) {
return sync ? new P._SyncStreamController(onListen, onPause, onResume, onCancel, $T._eval$1("_SyncStreamController<0>")) : new P._AsyncStreamController(onListen, onPause, onResume, onCancel, $T._eval$1("_AsyncStreamController<0>"));
},
StreamController_StreamController$broadcast: function(onCancel, onListen, sync, $T) {
return sync ? new P._SyncBroadcastStreamController(onListen, onCancel, $T._eval$1("_SyncBroadcastStreamController<0>")) : new P._AsyncBroadcastStreamController(onListen, onCancel, $T._eval$1("_AsyncBroadcastStreamController<0>"));
},
_runGuarded: function(notificationHandler) {
var e, s, exception;
if (notificationHandler == null)
return;
try {
notificationHandler.call$0();
} catch (exception) {
e = H.unwrapException(exception);
s = H.getTraceFromException(exception);
$.Zone__current.handleUncaughtError$2(e, s);
}
},
_ControllerSubscription$: function(_controller, onData, onError, onDone, cancelOnError, $T) {
var t1 = $.Zone__current,
t2 = cancelOnError ? 1 : 0,
t3 = P._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
t4 = P._BufferingStreamSubscription__registerErrorHandler(t1, onError),
t5 = onDone == null ? P.async___nullDoneHandler$closure() : onDone;
return new P._ControllerSubscription(_controller, t3, t4, t1.registerCallback$1$1(t5, type$.void), t1, t2, $T._eval$1("_ControllerSubscription<0>"));
},
_AddStreamState$: function(controller, source, cancelOnError, $T) {
var t1 = $.Zone__current,
t2 = controller.get$_async$_add(controller),
t3 = controller.get$_addError();
return new P._AddStreamState(new P._Future(t1, type$._Future_dynamic), source.listen$4$cancelOnError$onDone$onError(0, t2, false, controller.get$_async$_close(), t3), $T._eval$1("_AddStreamState<0>"));
},
_AddStreamState_makeErrorHandler: function(controller) {
return new P._AddStreamState_makeErrorHandler_closure(controller);
},
_BufferingStreamSubscription$: function(onData, onError, onDone, cancelOnError, $T) {
var t1 = $.Zone__current,
t2 = cancelOnError ? 1 : 0,
t3 = P._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
t4 = P._BufferingStreamSubscription__registerErrorHandler(t1, onError),
t5 = onDone == null ? P.async___nullDoneHandler$closure() : onDone;
return new P._BufferingStreamSubscription(t3, t4, t1.registerCallback$1$1(t5, type$.void), t1, t2, $T._eval$1("_BufferingStreamSubscription<0>"));
},
_BufferingStreamSubscription__registerDataHandler: function(zone, handleData, $T) {
var t1 = handleData == null ? P.async___nullDataHandler$closure() : handleData;
return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
},
_BufferingStreamSubscription__registerErrorHandler: function(zone, handleError) {
if (handleError == null)
handleError = P.async___nullErrorHandler$closure();
if (type$.void_Function_Object_StackTrace._is(handleError))
return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
if (type$.void_Function_Object._is(handleError))
return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
throw H.wrapException(P.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace."));
},
_nullDataHandler: function(value) {
},
_nullErrorHandler: function(error, stackTrace) {
$.Zone__current.handleUncaughtError$2(error, stackTrace);
},
_nullDoneHandler: function() {
},
_DoneStreamSubscription$: function(_onDone, $T) {
var t1 = new P._DoneStreamSubscription($.Zone__current, _onDone, $T._eval$1("_DoneStreamSubscription<0>"));
t1._schedule$0();
return t1;
},
_runUserCode: function(userCode, onSuccess, onError) {
var e, s, replacement, error, stackTrace, exception;
try {
onSuccess.call$1(userCode.call$0());
} catch (exception) {
e = H.unwrapException(exception);
s = H.getTraceFromException(exception);
replacement = $.Zone__current.errorCallback$2(e, s);
if (replacement == null)
onError.call$2(e, s);
else {
error = replacement.error;
stackTrace = replacement.stackTrace;
onError.call$2(error, stackTrace);
}
}
},
_cancelAndError: function(subscription, future, error, stackTrace) {
var cancelFuture = subscription.cancel$0(0);
if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
cancelFuture.whenComplete$1(new P._cancelAndError_closure(future, error, stackTrace));
else
future._completeError$2(error, stackTrace);
},
_cancelAndErrorClosure: function(subscription, future) {
return new P._cancelAndErrorClosure_closure(subscription, future);
},
_cancelAndValue: function(subscription, future, value) {
var cancelFuture = subscription.cancel$0(0);
if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
cancelFuture.whenComplete$1(new P._cancelAndValue_closure(future, value));
else
future._complete$1(value);
},
_addErrorWithReplacement: function(sink, error, stackTrace) {
var replacement = $.Zone__current.errorCallback$2(error, stackTrace);
if (replacement != null) {
error = replacement.error;
stackTrace = replacement.stackTrace;
}
sink._addError$2(error, stackTrace);
},
_StreamHandlerTransformer$: function(handleData, handleDone, handleError, $S, $T) {
return new P._StreamHandlerTransformer(new P._StreamHandlerTransformer_closure(handleData, handleError, handleDone, $T, $S), $S._eval$1("@<0>")._bind$1($T)._eval$1("_StreamHandlerTransformer<1,2>"));
},
Timer_Timer: function(duration, callback) {
var t1 = $.Zone__current;
if (t1 === C.C__RootZone)
return t1.createTimer$2(duration, callback);
return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
},
Timer_Timer$periodic: function(duration, callback) {
var boundCallback,
t1 = $.Zone__current;
if (t1 === C.C__RootZone)
return t1.createPeriodicTimer$2(duration, callback);
boundCallback = t1.bindUnaryCallbackGuarded$1$1(callback, type$.Timer);
return $.Zone__current.createPeriodicTimer$2(duration, boundCallback);
},
_rootHandleUncaughtError: function($self, $parent, zone, error, stackTrace) {
P._schedulePriorityAsyncCallback(new P._rootHandleUncaughtError_closure(error, stackTrace));
},
_rootRun: function($self, $parent, zone, f) {
var old,
t1 = $.Zone__current;
if (t1 === zone)
return f.call$0();
if (!(zone instanceof P._Zone))
throw H.wrapException(P.ArgumentError$value(zone, "zone", "Can only run in platform zones"));
$.Zone__current = zone;
old = t1;
try {
t1 = f.call$0();
return t1;
} finally {
$.Zone__current = old;
}
},
_rootRunUnary: function($self, $parent, zone, f, arg) {
var old,
t1 = $.Zone__current;
if (t1 === zone)
return f.call$1(arg);
if (!(zone instanceof P._Zone))
throw H.wrapException(P.ArgumentError$value(zone, "zone", "Can only run in platform zones"));
$.Zone__current = zone;
old = t1;
try {
t1 = f.call$1(arg);
return t1;
} finally {
$.Zone__current = old;
}
},
_rootRunBinary: function($self, $parent, zone, f, arg1, arg2) {
var old,
t1 = $.Zone__current;
if (t1 === zone)
return f.call$2(arg1, arg2);
if (!(zone instanceof P._Zone))
throw H.wrapException(P.ArgumentError$value(zone, "zone", "Can only run in platform zones"));
$.Zone__current = zone;
old = t1;
try {
t1 = f.call$2(arg1, arg2);
return t1;
} finally {
$.Zone__current = old;
}
},
_rootRegisterCallback: function($self, $parent, zone, f) {
return f;
},
_rootRegisterUnaryCallback: function($self, $parent, zone, f) {
return f;
},
_rootRegisterBinaryCallback: function($self, $parent, zone, f) {
return f;
},
_rootErrorCallback: function($self, $parent, zone, error, stackTrace) {
return null;
},
_rootScheduleMicrotask: function($self, $parent, zone, f) {
var t1, t2;
if (C.C__RootZone !== zone) {
t1 = C.C__RootZone.get$errorZone();
t2 = zone.get$errorZone();
f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
}
P._scheduleAsyncCallback(f);
},
_rootCreateTimer: function($self, $parent, zone, duration, callback) {
callback = zone.bindCallback$1$1(callback, type$.void);
return P.Timer__createTimer(duration, callback);
},
_rootCreatePeriodicTimer: function($self, $parent, zone, duration, callback) {
callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
return P.Timer__createPeriodicTimer(duration, callback);
},
_rootPrint: function($self, $parent, zone, line) {
H.printString(H.S(line));
},
_printToZone: function(line) {
$.Zone__current.print$1(0, line);
},
_rootFork: function($self, $parent, zone, specification, zoneValues) {
var valueMap, t1, $print, handleUncaughtError;
$.printToZone = P.async___printToZone$closure();
if (specification == null)
specification = C._ZoneSpecification_ALf;
if (zoneValues == null)
valueMap = zone.get$_async$_map();
else {
t1 = type$.nullable_Object;
valueMap = P.HashMap_HashMap$from(zoneValues, t1, t1);
}
t1 = new P._CustomZone(zone.get$_run(), zone.get$_runUnary(), zone.get$_runBinary(), zone.get$_registerCallback(), zone.get$_registerUnaryCallback(), zone.get$_registerBinaryCallback(), zone.get$_errorCallback(), zone.get$_scheduleMicrotask(), zone.get$_createTimer(), zone.get$_createPeriodicTimer(), zone.get$_print(), zone.get$_fork(), zone.get$_handleUncaughtError(), zone, valueMap);
$print = specification.print;
if ($print != null)
t1._print = new P._ZoneFunction(t1, $print, type$._ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_String);
handleUncaughtError = specification.handleUncaughtError;
if (handleUncaughtError != null)
t1._handleUncaughtError = new P._ZoneFunction(t1, handleUncaughtError, type$._ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace);
return t1;
},
_AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
this._box_0 = t0;
},
_AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
this._box_0 = t0;
this.div = t1;
this.span = t2;
},
_AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
this.callback = t0;
},
_AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
this.callback = t0;
},
_TimerImpl: function _TimerImpl(t0) {
this._once = t0;
this._handle = null;
this._tick = 0;
},
_TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
this.$this = t0;
this.callback = t1;
},
_TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.milliseconds = t1;
_.start = t2;
_.callback = t3;
},
_AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
this._future = t0;
this.isSync = false;
this.$ti = t1;
},
_awaitOnObject_closure: function _awaitOnObject_closure(t0) {
this.bodyFunction = t0;
},
_awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
this.bodyFunction = t0;
},
_wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
this.$protected = t0;
},
_asyncStarHelper_closure: function _asyncStarHelper_closure(t0, t1) {
this.controller = t0;
this.bodyFunction = t1;
},
_asyncStarHelper_closure0: function _asyncStarHelper_closure0(t0, t1) {
this.controller = t0;
this.bodyFunction = t1;
},
_AsyncStarStreamController: function _AsyncStarStreamController(t0) {
var _ = this;
_.___AsyncStarStreamController_controller = $;
_.isSuspended = false;
_.cancelationFuture = null;
_.$ti = t0;
},
_AsyncStarStreamController__resumeBody: function _AsyncStarStreamController__resumeBody(t0) {
this.body = t0;
},
_AsyncStarStreamController__resumeBody_closure: function _AsyncStarStreamController__resumeBody_closure(t0) {
this.body = t0;
},
_AsyncStarStreamController_closure0: function _AsyncStarStreamController_closure0(t0) {
this._resumeBody = t0;
},
_AsyncStarStreamController_closure1: function _AsyncStarStreamController_closure1(t0, t1) {
this.$this = t0;
this._resumeBody = t1;
},
_AsyncStarStreamController_closure: function _AsyncStarStreamController_closure(t0, t1) {
this.$this = t0;
this.body = t1;
},
_AsyncStarStreamController__closure: function _AsyncStarStreamController__closure(t0) {
this.body = t0;
},
_IterationMarker: function _IterationMarker(t0, t1) {
this.value = t0;
this.state = t1;
},
_SyncStarIterator: function _SyncStarIterator(t0, t1) {
var _ = this;
_._body = t0;
_._suspendedBodies = _._nestedIterator = _._async$_current = null;
_.$ti = t1;
},
_SyncStarIterable: function _SyncStarIterable(t0, t1) {
this._outerHelper = t0;
this.$ti = t1;
},
AsyncError: function AsyncError(t0, t1) {
this.error = t0;
this.stackTrace = t1;
},
_BroadcastStream: function _BroadcastStream(t0, t1) {
this._async$_controller = t0;
this.$ti = t1;
},
_BroadcastSubscription: function _BroadcastSubscription(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_._eventState = 0;
_._async$_previous = _._async$_next = null;
_._async$_controller = t0;
_._async$_onData = t1;
_._onError = t2;
_._onDone = t3;
_._zone = t4;
_._state = t5;
_._pending = _._cancelFuture = null;
_.$ti = t6;
},
_BroadcastStreamController: function _BroadcastStreamController() {
},
_SyncBroadcastStreamController: function _SyncBroadcastStreamController(t0, t1, t2) {
var _ = this;
_.onListen = t0;
_.onCancel = t1;
_._state = 0;
_._doneFuture = _._addStreamState = _._lastSubscription = _._firstSubscription = null;
_.$ti = t2;
},
_SyncBroadcastStreamController__sendData_closure: function _SyncBroadcastStreamController__sendData_closure(t0, t1) {
this.$this = t0;
this.data = t1;
},
_SyncBroadcastStreamController__sendError_closure: function _SyncBroadcastStreamController__sendError_closure(t0, t1, t2) {
this.$this = t0;
this.error = t1;
this.stackTrace = t2;
},
_SyncBroadcastStreamController__sendDone_closure: function _SyncBroadcastStreamController__sendDone_closure(t0) {
this.$this = t0;
},
_AsyncBroadcastStreamController: function _AsyncBroadcastStreamController(t0, t1, t2) {
var _ = this;
_.onListen = t0;
_.onCancel = t1;
_._state = 0;
_._doneFuture = _._addStreamState = _._lastSubscription = _._firstSubscription = null;
_.$ti = t2;
},
_AsBroadcastStreamController: function _AsBroadcastStreamController(t0, t1, t2) {
var _ = this;
_._pending = null;
_.onListen = t0;
_.onCancel = t1;
_._state = 0;
_._doneFuture = _._addStreamState = _._lastSubscription = _._firstSubscription = null;
_.$ti = t2;
},
Future_Future_closure: function Future_Future_closure(t0, t1) {
this.result = t0;
this.computation = t1;
},
Future_Future$microtask_closure: function Future_Future$microtask_closure(t0, t1) {
this.result = t0;
this.computation = t1;
},
Future_Future$delayed_closure: function Future_Future$delayed_closure(t0, t1, t2) {
this.computation = t0;
this.result = t1;
this.T = t2;
},
Future_wait__error_set: function Future_wait__error_set(t0) {
this._box_0 = t0;
},
Future_wait__stackTrace_set: function Future_wait__stackTrace_set(t0) {
this._box_0 = t0;
},
Future_wait__error_get: function Future_wait__error_get(t0) {
this._box_0 = t0;
},
Future_wait__stackTrace_get: function Future_wait__stackTrace_get(t0) {
this._box_0 = t0;
},
Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._box_0 = t0;
_.cleanUp = t1;
_.eagerError = t2;
_._future = t3;
_._error_set = t4;
_._stackTrace_set = t5;
_._error_get = t6;
_._stackTrace_get = t7;
},
Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._box_0 = t0;
_.pos = t1;
_._future = t2;
_.cleanUp = t3;
_.eagerError = t4;
_._error_get = t5;
_._stackTrace_get = t6;
_.T = t7;
},
TimeoutException: function TimeoutException(t0, t1) {
this.message = t0;
this.duration = t1;
},
_Completer: function _Completer() {
},
_AsyncCompleter: function _AsyncCompleter(t0, t1) {
this.future = t0;
this.$ti = t1;
},
_SyncCompleter: function _SyncCompleter(t0, t1) {
this.future = t0;
this.$ti = t1;
},
_FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
var _ = this;
_._nextListener = null;
_.result = t0;
_.state = t1;
_.callback = t2;
_.errorCallback = t3;
_.$ti = t4;
},
_Future: function _Future(t0, t1) {
var _ = this;
_._state = 0;
_._zone = t0;
_._resultOrListeners = null;
_.$ti = t1;
},
_Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
this.$this = t0;
this.listener = t1;
},
_Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
this.$this = t0;
},
_Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
this.$this = t0;
},
_Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
this.$this = t0;
this.e = t1;
this.s = t2;
},
_Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
this.$this = t0;
this.value = t1;
},
_Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) {
this.$this = t0;
this.value = t1;
},
_Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
this.$this = t0;
this.error = t1;
this.stackTrace = t2;
},
_Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
this._box_0 = t0;
this._box_1 = t1;
this.hasError = t2;
},
_Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
this.originalSource = t0;
},
_Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
this._box_0 = t0;
this.sourceResult = t1;
},
_Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
this._box_1 = t0;
this._box_0 = t1;
},
_Future_timeout_closure: function _Future_timeout_closure(t0, t1) {
this._future = t0;
this.timeLimit = t1;
},
_Future_timeout_closure0: function _Future_timeout_closure0(t0, t1, t2) {
this._box_0 = t0;
this.$this = t1;
this._future = t2;
},
_Future_timeout_closure1: function _Future_timeout_closure1(t0, t1) {
this._box_0 = t0;
this._future = t1;
},
_AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
this.callback = t0;
this.next = null;
},
Stream: function Stream() {
},
Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
this.controller = t0;
this.T = t1;
},
Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
this.controller = t0;
},
Stream_Stream$fromIterable_closure: function Stream_Stream$fromIterable_closure(t0, t1) {
this.elements = t0;
this.T = t1;
},
Stream_pipe_closure: function Stream_pipe_closure(t0) {
this.streamConsumer = t0;
},
Stream_fold_closure: function Stream_fold_closure(t0, t1) {
this._box_0 = t0;
this.result = t1;
},
Stream_fold_closure0: function Stream_fold_closure0(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.combine = t2;
_.subscription = t3;
_.result = t4;
_.S = t5;
},
Stream_fold__closure: function Stream_fold__closure(t0, t1, t2, t3) {
var _ = this;
_._box_0 = t0;
_.combine = t1;
_.element = t2;
_.S = t3;
},
Stream_fold__closure0: function Stream_fold__closure0(t0, t1) {
this._box_0 = t0;
this.S = t1;
},
Stream_forEach_closure: function Stream_forEach_closure(t0) {
this.future = t0;
},
Stream_forEach_closure0: function Stream_forEach_closure0(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.action = t1;
_.subscription = t2;
_.future = t3;
},
Stream_forEach__closure: function Stream_forEach__closure(t0, t1) {
this.action = t0;
this.element = t1;
},
Stream_forEach__closure0: function Stream_forEach__closure0() {
},
Stream_length_closure: function Stream_length_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
Stream_length_closure0: function Stream_length_closure0(t0, t1) {
this._box_0 = t0;
this.future = t1;
},
Stream_isEmpty_closure: function Stream_isEmpty_closure(t0) {
this.future = t0;
},
Stream_isEmpty_closure0: function Stream_isEmpty_closure0(t0, t1, t2) {
this.$this = t0;
this.subscription = t1;
this.future = t2;
},
Stream_first_closure: function Stream_first_closure(t0) {
this.future = t0;
},
Stream_first_closure0: function Stream_first_closure0(t0, t1, t2) {
this.$this = t0;
this.subscription = t1;
this.future = t2;
},
StreamSubscription: function StreamSubscription() {
},
StreamView: function StreamView() {
},
StreamTransformerBase: function StreamTransformerBase() {
},
_StreamController: function _StreamController() {
},
_StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
this.$this = t0;
},
_StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
this.$this = t0;
},
_SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
},
_AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
},
_AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
var _ = this;
_._varData = null;
_._state = 0;
_._doneFuture = null;
_.onListen = t0;
_.onPause = t1;
_.onResume = t2;
_.onCancel = t3;
_.$ti = t4;
},
_SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
var _ = this;
_._varData = null;
_._state = 0;
_._doneFuture = null;
_.onListen = t0;
_.onPause = t1;
_.onResume = t2;
_.onCancel = t3;
_.$ti = t4;
},
_ControllerStream: function _ControllerStream(t0, t1) {
this._async$_controller = t0;
this.$ti = t1;
},
_ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_._async$_controller = t0;
_._async$_onData = t1;
_._onError = t2;
_._onDone = t3;
_._zone = t4;
_._state = t5;
_._pending = _._cancelFuture = null;
_.$ti = t6;
},
_StreamSinkWrapper0: function _StreamSinkWrapper0(t0, t1) {
this._async$_target = t0;
this.$ti = t1;
},
_AddStreamState: function _AddStreamState(t0, t1, t2) {
this.addStreamFuture = t0;
this.addSubscription = t1;
this.$ti = t2;
},
_AddStreamState_makeErrorHandler_closure: function _AddStreamState_makeErrorHandler_closure(t0) {
this.controller = t0;
},
_AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
this.$this = t0;
},
_StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2, t3) {
var _ = this;
_.varData = t0;
_.addStreamFuture = t1;
_.addSubscription = t2;
_.$ti = t3;
},
_BufferingStreamSubscription: function _BufferingStreamSubscription(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._async$_onData = t0;
_._onError = t1;
_._onDone = t2;
_._zone = t3;
_._state = t4;
_._pending = _._cancelFuture = null;
_.$ti = t5;
},
_BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
this.$this = t0;
this.error = t1;
this.stackTrace = t2;
},
_BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
this.$this = t0;
},
_StreamImpl: function _StreamImpl() {
},
_GeneratedStreamImpl: function _GeneratedStreamImpl(t0, t1) {
this._pending = t0;
this._isUsed = false;
this.$ti = t1;
},
_IterablePendingEvents: function _IterablePendingEvents(t0, t1) {
this._async$_iterator = t0;
this._state = 0;
this.$ti = t1;
},
_DelayedEvent: function _DelayedEvent() {
},
_DelayedData: function _DelayedData(t0, t1) {
this.value = t0;
this.next = null;
this.$ti = t1;
},
_DelayedError: function _DelayedError(t0, t1) {
this.error = t0;
this.stackTrace = t1;
this.next = null;
},
_DelayedDone: function _DelayedDone() {
},
_PendingEvents: function _PendingEvents() {
},
_PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
this.$this = t0;
this.dispatch = t1;
},
_StreamImplEvents: function _StreamImplEvents(t0) {
var _ = this;
_.lastPendingEvent = _.firstPendingEvent = null;
_._state = 0;
_.$ti = t0;
},
_DoneStreamSubscription: function _DoneStreamSubscription(t0, t1, t2) {
var _ = this;
_._zone = t0;
_._state = 0;
_._onDone = t1;
_.$ti = t2;
},
_AsBroadcastStream: function _AsBroadcastStream(t0, t1, t2, t3, t4) {
var _ = this;
_._async$_source = t0;
_._onListenHandler = t1;
_._onCancelHandler = t2;
_._zone = t3;
_._async$_subscription = _._async$_controller = null;
_.$ti = t4;
},
_BroadcastSubscriptionWrapper: function _BroadcastSubscriptionWrapper(t0, t1) {
this._stream = t0;
this.$ti = t1;
},
_StreamIterator: function _StreamIterator(t0, t1) {
var _ = this;
_._async$_subscription = null;
_._stateData = t0;
_._async$_hasValue = false;
_.$ti = t1;
},
_EmptyStream: function _EmptyStream(t0) {
this.$ti = t0;
},
_cancelAndError_closure: function _cancelAndError_closure(t0, t1, t2) {
this.future = t0;
this.error = t1;
this.stackTrace = t2;
},
_cancelAndErrorClosure_closure: function _cancelAndErrorClosure_closure(t0, t1) {
this.subscription = t0;
this.future = t1;
},
_cancelAndValue_closure: function _cancelAndValue_closure(t0, t1) {
this.future = t0;
this.value = t1;
},
_ForwardingStream: function _ForwardingStream() {
},
_ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_._stream = t0;
_._async$_subscription = null;
_._async$_onData = t1;
_._onError = t2;
_._onDone = t3;
_._zone = t4;
_._state = t5;
_._pending = _._cancelFuture = null;
_.$ti = t6;
},
_WhereStream: function _WhereStream(t0, t1, t2) {
this._test = t0;
this._async$_source = t1;
this.$ti = t2;
},
_MapStream: function _MapStream(t0, t1, t2) {
this._async$_transform = t0;
this._async$_source = t1;
this.$ti = t2;
},
_EventSinkWrapper: function _EventSinkWrapper(t0, t1) {
this._async$_sink = t0;
this.$ti = t1;
},
_SinkTransformerStreamSubscription: function _SinkTransformerStreamSubscription(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.___SinkTransformerStreamSubscription__transformerSink = $;
_._async$_subscription = null;
_._async$_onData = t0;
_._onError = t1;
_._onDone = t2;
_._zone = t3;
_._state = t4;
_._pending = _._cancelFuture = null;
_.$ti = t5;
},
_StreamSinkTransformer: function _StreamSinkTransformer() {
},
_BoundSinkStream: function _BoundSinkStream(t0, t1, t2) {
this._sinkMapper = t0;
this._stream = t1;
this.$ti = t2;
},
_HandlerEventSink: function _HandlerEventSink(t0, t1, t2, t3, t4) {
var _ = this;
_._handleData = t0;
_._async$_handleError = t1;
_._handleDone = t2;
_._async$_sink = t3;
_.$ti = t4;
},
_StreamHandlerTransformer: function _StreamHandlerTransformer(t0, t1) {
this._sinkMapper = t0;
this.$ti = t1;
},
_StreamHandlerTransformer_closure: function _StreamHandlerTransformer_closure(t0, t1, t2, t3, t4) {
var _ = this;
_.handleData = t0;
_.handleError = t1;
_.handleDone = t2;
_.T = t3;
_.S = t4;
},
_ZoneFunction: function _ZoneFunction(t0, t1, t2) {
this.zone = t0;
this.$function = t1;
this.$ti = t2;
},
_RunNullaryZoneFunction: function _RunNullaryZoneFunction(t0, t1) {
this.zone = t0;
this.$function = t1;
},
_RunUnaryZoneFunction: function _RunUnaryZoneFunction(t0, t1) {
this.zone = t0;
this.$function = t1;
},
_RunBinaryZoneFunction: function _RunBinaryZoneFunction(t0, t1) {
this.zone = t0;
this.$function = t1;
},
_RegisterNullaryZoneFunction: function _RegisterNullaryZoneFunction(t0, t1) {
this.zone = t0;
this.$function = t1;
},
_RegisterUnaryZoneFunction: function _RegisterUnaryZoneFunction(t0, t1) {
this.zone = t0;
this.$function = t1;
},
_RegisterBinaryZoneFunction: function _RegisterBinaryZoneFunction(t0, t1) {
this.zone = t0;
this.$function = t1;
},
_ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
var _ = this;
_.handleUncaughtError = t0;
_.run = t1;
_.runUnary = t2;
_.runBinary = t3;
_.registerCallback = t4;
_.registerUnaryCallback = t5;
_.registerBinaryCallback = t6;
_.errorCallback = t7;
_.scheduleMicrotask = t8;
_.createTimer = t9;
_.createPeriodicTimer = t10;
_.print = t11;
_.fork = t12;
},
_ZoneDelegate: function _ZoneDelegate(t0) {
this._delegationTarget = t0;
},
_Zone: function _Zone() {
},
_CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
var _ = this;
_._run = t0;
_._runUnary = t1;
_._runBinary = t2;
_._registerCallback = t3;
_._registerUnaryCallback = t4;
_._registerBinaryCallback = t5;
_._errorCallback = t6;
_._scheduleMicrotask = t7;
_._createTimer = t8;
_._createPeriodicTimer = t9;
_._print = t10;
_._fork = t11;
_._handleUncaughtError = t12;
_._delegateCache = null;
_.parent = t13;
_._async$_map = t14;
},
_CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
this.$this = t0;
this.registered = t1;
this.R = t2;
},
_CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.registered = t1;
_.T = t2;
_.R = t3;
},
_CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
this.$this = t0;
this.registered = t1;
},
_CustomZone_bindUnaryCallbackGuarded_closure: function _CustomZone_bindUnaryCallbackGuarded_closure(t0, t1, t2) {
this.$this = t0;
this.registered = t1;
this.T = t2;
},
_rootHandleUncaughtError_closure: function _rootHandleUncaughtError_closure(t0, t1) {
this.error = t0;
this.stackTrace = t1;
},
_RootZone: function _RootZone() {
},
_RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
this.$this = t0;
this.f = t1;
this.R = t2;
},
_RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
this.$this = t0;
this.f = t1;
},
_RootZone_bindUnaryCallbackGuarded_closure: function _RootZone_bindUnaryCallbackGuarded_closure(t0, t1, t2) {
this.$this = t0;
this.f = t1;
this.T = t2;
},
HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) {
if (isValidKey == null)
if (hashCode == null) {
if (equals == null)
return new P._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
hashCode = P.collection___defaultHashCode$closure();
} else {
if (P.core__identityHashCode$closure() === hashCode && P.core__identical$closure() === equals)
return new P._IdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_IdentityHashMap<1,2>"));
if (equals == null)
equals = P.collection___defaultEquals$closure();
}
else {
if (hashCode == null)
hashCode = P.collection___defaultHashCode$closure();
if (equals == null)
equals = P.collection___defaultEquals$closure();
}
return P._CustomHashMap$(equals, hashCode, isValidKey, $K, $V);
},
_HashMap__getTableEntry: function(table, key) {
var entry = table[key];
return entry === table ? null : entry;
},
_HashMap__setTableEntry: function(table, key, value) {
if (value == null)
table[key] = table;
else
table[key] = value;
},
_HashMap__newHashTable: function() {
var table = Object.create(null);
P._HashMap__setTableEntry(table, "", table);
delete table[""];
return table;
},
_CustomHashMap$: function(_equals, _hashCode, validKey, $K, $V) {
var t1 = validKey != null ? validKey : new P._CustomHashMap_closure($K);
return new P._CustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_CustomHashMap<1,2>"));
},
LinkedHashMap_LinkedHashMap: function(equals, hashCode, $K, $V) {
if (hashCode == null) {
if (equals == null)
return new H.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
hashCode = P.collection___defaultHashCode$closure();
} else {
if (P.core__identityHashCode$closure() === hashCode && P.core__identical$closure() === equals)
return P._LinkedIdentityHashMap__LinkedIdentityHashMap$es6($K, $V);
if (equals == null)
equals = P.collection___defaultEquals$closure();
}
return P._LinkedCustomHashMap$(equals, hashCode, null, $K, $V);
},
LinkedHashMap_LinkedHashMap$_literal: function(keyValuePairs, $K, $V) {
return H.fillLiteralMap(keyValuePairs, new H.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
},
LinkedHashMap_LinkedHashMap$_empty: function($K, $V) {
return new H.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
},
_LinkedIdentityHashMap__LinkedIdentityHashMap$es6: function($K, $V) {
return new P._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>"));
},
_LinkedCustomHashMap$: function(_equals, _hashCode, validKey, $K, $V) {
return new P._LinkedCustomHashMap(_equals, _hashCode, new P._LinkedCustomHashMap_closure($K), $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
},
HashSet_HashSet: function($E) {
return new P._HashSet($E._eval$1("_HashSet<0>"));
},
_HashSet__newHashTable: function() {
var table = Object.create(null);
table[""] = table;
delete table[""];
return table;
},
LinkedHashSet_LinkedHashSet: function($E) {
return new P._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
},
LinkedHashSet_LinkedHashSet$_empty: function($E) {
return new P._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
},
LinkedHashSet_LinkedHashSet$_literal: function(values, $E) {
return H.fillLiteralSet(values, new P._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
},
_LinkedHashSet__newHashTable: function() {
var table = Object.create(null);
table[""] = table;
delete table[""];
return table;
},
_LinkedHashSetIterator$: function(_set, _modifications, $E) {
var t1 = new P._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>"));
t1._collection$_cell = _set._collection$_first;
return t1;
},
_defaultEquals: function(a, b) {
return J.$eq$(a, b);
},
_defaultHashCode: function(a) {
return J.get$hashCode$(a);
},
HashMap_HashMap$from: function(other, $K, $V) {
var result = P.HashMap_HashMap(null, null, null, $K, $V);
other.forEach$1(0, new P.HashMap_HashMap$from_closure(result, $K, $V));
return result;
},
HashSet_HashSet$from: function(elements, $E) {
var t1,
result = P.HashSet_HashSet($E);
for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
result.add$1(0, $E._as(t1.get$current(t1)));
return result;
},
IterableBase_iterableToShortString: function(iterable, leftDelimiter, rightDelimiter) {
var parts, t1;
if (P._isToStringVisiting(iterable)) {
if (leftDelimiter === "(" && rightDelimiter === ")")
return "(...)";
return leftDelimiter + "..." + rightDelimiter;
}
parts = H.setRuntimeTypeInfo([], type$.JSArray_String);
$._toStringVisiting.push(iterable);
try {
P._iterablePartsToStrings(iterable, parts);
} finally {
$._toStringVisiting.pop();
}
t1 = P.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
IterableBase_iterableToFullString: function(iterable, leftDelimiter, rightDelimiter) {
var buffer, t1;
if (P._isToStringVisiting(iterable))
return leftDelimiter + "..." + rightDelimiter;
buffer = new P.StringBuffer(leftDelimiter);
$._toStringVisiting.push(iterable);
try {
t1 = buffer;
t1._contents = P.StringBuffer__writeAll(t1._contents, iterable, ", ");
} finally {
$._toStringVisiting.pop();
}
buffer._contents += rightDelimiter;
t1 = buffer._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_isToStringVisiting: function(o) {
var t1, i;
for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i)
if (o === $._toStringVisiting[i])
return true;
return false;
},
_iterablePartsToStrings: function(iterable, parts) {
var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
it = J.get$iterator$ax(iterable),
$length = 0, count = 0;
while (true) {
if (!($length < 80 || count < 3))
break;
if (!it.moveNext$0())
return;
next = H.S(it.get$current(it));
parts.push(next);
$length += next.length + 2;
++count;
}
if (!it.moveNext$0()) {
if (count <= 5)
return;
ultimateString = parts.pop();
penultimateString = parts.pop();
} else {
penultimate = it.get$current(it);
++count;
if (!it.moveNext$0()) {
if (count <= 4) {
parts.push(H.S(penultimate));
return;
}
ultimateString = H.S(penultimate);
penultimateString = parts.pop();
$length += ultimateString.length + 2;
} else {
ultimate = it.get$current(it);
++count;
for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
ultimate0 = it.get$current(it);
++count;
if (count > 100) {
while (true) {
if (!($length > 75 && count > 3))
break;
$length -= parts.pop().length + 2;
--count;
}
parts.push("...");
return;
}
}
penultimateString = H.S(penultimate);
ultimateString = H.S(ultimate);
$length += ultimateString.length + penultimateString.length + 4;
}
}
if (count > parts.length + 2) {
$length += 5;
elision = "...";
} else
elision = null;
while (true) {
if (!($length > 80 && parts.length > 3))
break;
$length -= parts.pop().length + 2;
if (elision == null) {
$length += 5;
elision = "...";
}
}
if (elision != null)
parts.push(elision);
parts.push(penultimateString);
parts.push(ultimateString);
},
LinkedHashMap_LinkedHashMap$from: function(other, $K, $V) {
var result = P.LinkedHashMap_LinkedHashMap(null, null, $K, $V);
J.forEach$1$ax(other, new P.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
return result;
},
LinkedHashMap_LinkedHashMap$fromIterable: function(iterable, key, value, $K, $V) {
var map = P.LinkedHashMap_LinkedHashMap(null, null, $K, $V);
P.MapBase__fillMapWithMappedIterable(map, iterable, key, value);
return map;
},
LinkedHashSet_LinkedHashSet$from: function(elements, $E) {
var t1,
result = P.LinkedHashSet_LinkedHashSet($E);
for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
result.add$1(0, $E._as(t1.get$current(t1)));
return result;
},
LinkedHashSet_LinkedHashSet$of: function(elements, $E) {
var t1 = P.LinkedHashSet_LinkedHashSet($E);
t1.addAll$1(0, elements);
return t1;
},
_LinkedListIterator$: function(list, $E) {
return new P._LinkedListIterator(list, list._collection$_modificationCount, list._collection$_first, $E._eval$1("_LinkedListIterator<0>"));
},
ListMixin__compareAny: function(a, b) {
var t1 = type$.Comparable_dynamic;
return J.compareTo$1$ns(t1._as(a), t1._as(b));
},
MapBase_mapToString: function(m) {
var result, t1 = {};
if (P._isToStringVisiting(m))
return "{...}";
result = new P.StringBuffer("");
try {
$._toStringVisiting.push(m);
result._contents += "{";
t1.first = true;
J.forEach$1$ax(m, new P.MapBase_mapToString_closure(t1, result));
result._contents += "}";
} finally {
$._toStringVisiting.pop();
}
t1 = result._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
MapBase__fillMapWithMappedIterable: function(map, iterable, key, value) {
var t1, element;
for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();) {
element = t1.get$current(t1);
map.$indexSet(0, key.call$1(element), value.call$1(element));
}
},
ListQueue$: function(initialCapacity, $E) {
return new P.ListQueue(P.List_List$filled(P.ListQueue__calculateCapacity(initialCapacity), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
},
ListQueue__calculateCapacity: function(initialCapacity) {
if (initialCapacity == null || initialCapacity < 8)
return 8;
else if ((initialCapacity & initialCapacity - 1) >>> 0 !== 0)
return P.ListQueue__nextPowerOf2(initialCapacity);
return initialCapacity;
},
ListQueue__nextPowerOf2: function(number) {
var nextNumber;
number = (number << 1 >>> 0) - 1;
for (; true; number = nextNumber) {
nextNumber = (number & number - 1) >>> 0;
if (nextNumber === 0)
return number;
}
},
_UnmodifiableSetMixin__throwUnmodifiable: function() {
throw H.wrapException(P.UnsupportedError$("Cannot change an unmodifiable set"));
},
_dynamicCompare: function(a, b) {
return J.compareTo$1$ns(a, b);
},
_defaultCompare: function($K) {
if ($K._eval$1("int(0,0)")._is(P.core_Comparable_compare$closure()))
return P.core_Comparable_compare$closure();
return P.collection___dynamicCompare$closure();
},
SplayTreeMap$: function($K, $V) {
var t1 = P._defaultCompare($K);
return new P.SplayTreeMap(t1, new P.SplayTreeMap_closure($K), $K._eval$1("@<0>")._bind$1($V)._eval$1("SplayTreeMap<1,2>"));
},
SplayTreeSet$: function(compare, isValidKey, $E) {
var t1 = isValidKey == null ? new P.SplayTreeSet_closure($E) : isValidKey;
return new P.SplayTreeSet(compare, t1, $E._eval$1("SplayTreeSet<0>"));
},
_HashMap: function _HashMap(t0) {
var _ = this;
_._collection$_length = 0;
_._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
_.$ti = t0;
},
_HashMap_values_closure: function _HashMap_values_closure(t0) {
this.$this = t0;
},
_HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
this.$this = t0;
},
_IdentityHashMap: function _IdentityHashMap(t0) {
var _ = this;
_._collection$_length = 0;
_._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
_.$ti = t0;
},
_CustomHashMap: function _CustomHashMap(t0, t1, t2, t3) {
var _ = this;
_._equals = t0;
_._collection$_hashCode = t1;
_._validKey = t2;
_._collection$_length = 0;
_._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
_.$ti = t3;
},
_CustomHashMap_closure: function _CustomHashMap_closure(t0) {
this.K = t0;
},
_HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
this._collection$_map = t0;
this.$ti = t1;
},
_HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) {
var _ = this;
_._collection$_map = t0;
_._collection$_keys = t1;
_._collection$_offset = 0;
_._collection$_current = null;
_.$ti = t2;
},
_LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) {
var _ = this;
_.__js_helper$_length = 0;
_._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
_._modifications = 0;
_.$ti = t0;
},
_LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
var _ = this;
_._equals = t0;
_._collection$_hashCode = t1;
_._validKey = t2;
_.__js_helper$_length = 0;
_._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
_._modifications = 0;
_.$ti = t3;
},
_LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
this.K = t0;
},
_HashSet: function _HashSet(t0) {
var _ = this;
_._collection$_length = 0;
_._elements = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
_.$ti = t0;
},
_HashSetIterator: function _HashSetIterator(t0, t1, t2) {
var _ = this;
_._set = t0;
_._elements = t1;
_._collection$_offset = 0;
_._collection$_current = null;
_.$ti = t2;
},
_LinkedHashSet: function _LinkedHashSet(t0) {
var _ = this;
_._collection$_length = 0;
_._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
_._collection$_modifications = 0;
_.$ti = t0;
},
_LinkedHashSetCell: function _LinkedHashSetCell(t0) {
this._collection$_element = t0;
this._collection$_previous = this._collection$_next = null;
},
_LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1, t2) {
var _ = this;
_._set = t0;
_._collection$_modifications = t1;
_._collection$_current = _._collection$_cell = null;
_.$ti = t2;
},
UnmodifiableListView: function UnmodifiableListView(t0, t1) {
this._collection$_source = t0;
this.$ti = t1;
},
HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
this.result = t0;
this.K = t1;
this.V = t2;
},
IterableMixin: function IterableMixin() {
},
IterableBase: function IterableBase() {
},
LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
this.result = t0;
this.K = t1;
this.V = t2;
},
LinkedList: function LinkedList(t0) {
var _ = this;
_._collection$_length = _._collection$_modificationCount = 0;
_._collection$_first = null;
_.$ti = t0;
},
_LinkedListIterator: function _LinkedListIterator(t0, t1, t2, t3) {
var _ = this;
_._collection$_list = t0;
_._collection$_modificationCount = t1;
_._collection$_current = null;
_._collection$_next = t2;
_._visitedFirst = false;
_.$ti = t3;
},
LinkedListEntry: function LinkedListEntry() {
},
ListBase: function ListBase() {
},
ListMixin: function ListMixin() {
},
MapBase: function MapBase() {
},
MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
this._box_0 = t0;
this.result = t1;
},
MapMixin: function MapMixin() {
},
MapMixin_entries_closure: function MapMixin_entries_closure(t0) {
this.$this = t0;
},
UnmodifiableMapBase: function UnmodifiableMapBase() {
},
_MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
this._collection$_map = t0;
this.$ti = t1;
},
_MapBaseValueIterator: function _MapBaseValueIterator(t0, t1, t2) {
var _ = this;
_._collection$_keys = t0;
_._collection$_map = t1;
_._collection$_current = null;
_.$ti = t2;
},
_UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
},
MapView: function MapView() {
},
UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
this._collection$_map = t0;
this.$ti = t1;
},
ListQueue: function ListQueue(t0, t1) {
var _ = this;
_._table = t0;
_._collection$_modificationCount = _._tail = _._head = 0;
_.$ti = t1;
},
_ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) {
var _ = this;
_._collection$_queue = t0;
_._end = t1;
_._collection$_modificationCount = t2;
_._collection$_position = t3;
_._collection$_current = null;
_.$ti = t4;
},
SetMixin: function SetMixin() {
},
_SetBase: function _SetBase() {
},
_UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
},
_UnmodifiableSet: function _UnmodifiableSet(t0, t1) {
this._collection$_map = t0;
this.$ti = t1;
},
_SplayTreeNode: function _SplayTreeNode() {
},
_SplayTreeSetNode: function _SplayTreeSetNode(t0, t1) {
var _ = this;
_.key = t0;
_._collection$_right = _._collection$_left = null;
_.$ti = t1;
},
_SplayTreeMapNode: function _SplayTreeMapNode(t0, t1, t2) {
var _ = this;
_.value = t0;
_.key = t1;
_._collection$_right = _._collection$_left = null;
_.$ti = t2;
},
_SplayTree: function _SplayTree() {
},
SplayTreeMap: function SplayTreeMap(t0, t1, t2) {
var _ = this;
_._root = null;
_._compare = t0;
_._validKey = t1;
_._splayCount = _._collection$_modificationCount = _._count = 0;
_.$ti = t2;
},
SplayTreeMap_closure: function SplayTreeMap_closure(t0) {
this.K = t0;
},
SplayTreeMap_addAll_closure: function SplayTreeMap_addAll_closure(t0) {
this.$this = t0;
},
_SplayTreeIterator: function _SplayTreeIterator() {
},
_SplayTreeKeyIterable: function _SplayTreeKeyIterable(t0, t1) {
this._tree = t0;
this.$ti = t1;
},
_SplayTreeValueIterable: function _SplayTreeValueIterable(t0, t1) {
this._collection$_map = t0;
this.$ti = t1;
},
_SplayTreeMapEntryIterable: function _SplayTreeMapEntryIterable(t0, t1) {
this._collection$_map = t0;
this.$ti = t1;
},
_SplayTreeKeyIterator: function _SplayTreeKeyIterator(t0, t1, t2, t3) {
var _ = this;
_._tree = t0;
_._collection$_path = t1;
_._collection$_modificationCount = null;
_._splayCount = t2;
_.$ti = t3;
},
_SplayTreeValueIterator: function _SplayTreeValueIterator(t0, t1, t2, t3) {
var _ = this;
_._tree = t0;
_._collection$_path = t1;
_._collection$_modificationCount = null;
_._splayCount = t2;
_.$ti = t3;
},
_SplayTreeMapEntryIterator: function _SplayTreeMapEntryIterator(t0, t1, t2, t3) {
var _ = this;
_._tree = t0;
_._collection$_path = t1;
_._collection$_modificationCount = null;
_._splayCount = t2;
_.$ti = t3;
},
SplayTreeSet: function SplayTreeSet(t0, t1, t2) {
var _ = this;
_._root = null;
_._compare = t0;
_._validKey = t1;
_._splayCount = _._collection$_modificationCount = _._count = 0;
_.$ti = t2;
},
SplayTreeSet_closure: function SplayTreeSet_closure(t0) {
this.E = t0;
},
SplayTreeSet__copyNode_copyChildren: function SplayTreeSet__copyNode_copyChildren(t0, t1) {
this.$this = t0;
this.Node = t1;
},
_ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() {
},
_SplayTreeMap__SplayTree_MapMixin: function _SplayTreeMap__SplayTree_MapMixin() {
},
_SplayTreeSet__SplayTree_IterableMixin: function _SplayTreeSet__SplayTree_IterableMixin() {
},
_SplayTreeSet__SplayTree_IterableMixin_SetMixin: function _SplayTreeSet__SplayTree_IterableMixin_SetMixin() {
},
_UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
},
__SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() {
},
__UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() {
},
_parseJson: function(source, reviver) {
var parsed, e, exception, t1;
if (typeof source != "string")
throw H.wrapException(H.argumentErrorValue(source));
parsed = null;
try {
parsed = JSON.parse(source);
} catch (exception) {
e = H.unwrapException(exception);
t1 = P.FormatException$(String(e), null, null);
throw H.wrapException(t1);
}
t1 = P._convertJsonToDartLazy(parsed);
return t1;
},
_convertJsonToDartLazy: function(object) {
var i;
if (object == null)
return null;
if (typeof object != "object")
return object;
if (Object.getPrototypeOf(object) !== Array.prototype)
return new P._JsonMap(object, Object.create(null));
for (i = 0; i < object.length; ++i)
object[i] = P._convertJsonToDartLazy(object[i]);
return object;
},
Utf8Decoder__convertIntercepted: function(allowMalformed, codeUnits, start, end) {
var casted, result;
if (codeUnits instanceof Uint8Array) {
casted = codeUnits;
end = casted.length;
if (end - start < 15)
return null;
result = P.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end);
if (result != null && allowMalformed)
if (result.indexOf("\ufffd") >= 0)
return null;
return result;
}
return null;
},
Utf8Decoder__convertInterceptedUint8List: function(allowMalformed, codeUnits, start, end) {
var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder();
if (decoder == null)
return null;
if (0 === start && end === codeUnits.length)
return P.Utf8Decoder__useTextDecoder(decoder, codeUnits);
return P.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, P.RangeError_checkValidRange(start, end, codeUnits.length)));
},
Utf8Decoder__useTextDecoder: function(decoder, codeUnits) {
var t1, exception;
try {
t1 = decoder.decode(codeUnits);
return t1;
} catch (exception) {
H.unwrapException(exception);
}
return null;
},
Base64Codec__checkPadding: function(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
if (C.JSInt_methods.$mod($length, 4) !== 0)
throw H.wrapException(P.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
if (firstPadding + paddingCount !== $length)
throw H.wrapException(P.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
if (paddingCount > 2)
throw H.wrapException(P.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
},
_Base64Encoder_encodeChunk: function(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
var t1, t2, i, byteOr, byte, outputIndex0, outputIndex1,
bits = state >>> 2,
expectedChars = 3 - (state & 3);
for (t1 = J.getInterceptor$asx(bytes), t2 = J.getInterceptor$ax(output), i = start, byteOr = 0; i < end; ++i) {
byte = t1.$index(bytes, i);
byteOr = (byteOr | byte) >>> 0;
bits = (bits << 8 | byte) & 16777215;
--expectedChars;
if (expectedChars === 0) {
outputIndex0 = outputIndex + 1;
t2.$indexSet(output, outputIndex, C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63));
outputIndex = outputIndex0 + 1;
t2.$indexSet(output, outputIndex0, C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63));
outputIndex0 = outputIndex + 1;
t2.$indexSet(output, outputIndex, C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63));
outputIndex = outputIndex0 + 1;
t2.$indexSet(output, outputIndex0, C.JSString_methods._codeUnitAt$1(alphabet, bits & 63));
bits = 0;
expectedChars = 3;
}
}
if (byteOr >= 0 && byteOr <= 255) {
if (isLast && expectedChars < 3) {
outputIndex0 = outputIndex + 1;
outputIndex1 = outputIndex0 + 1;
if (3 - expectedChars === 1) {
t2.$indexSet(output, outputIndex, C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63));
t2.$indexSet(output, outputIndex0, C.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63));
t2.$indexSet(output, outputIndex1, 61);
t2.$indexSet(output, outputIndex1 + 1, 61);
} else {
t2.$indexSet(output, outputIndex, C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63));
t2.$indexSet(output, outputIndex0, C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63));
t2.$indexSet(output, outputIndex1, C.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63));
t2.$indexSet(output, outputIndex1 + 1, 61);
}
return 0;
}
return (bits << 2 | 3 - expectedChars) >>> 0;
}
for (i = start; i < end;) {
byte = t1.$index(bytes, i);
if (byte < 0 || byte > 255)
break;
++i;
}
throw H.wrapException(P.ArgumentError$value(bytes, "Not a byte value at index " + i + ": 0x" + J.toRadixString$1$n(t1.$index(bytes, i), 16), null));
},
_Base64Decoder_decodeChunk: function(input, start, end, output, outIndex, state) {
var i, charOr, char, code, outIndex0, expectedPadding,
_s31_ = "Invalid encoding before padding",
_s17_ = "Invalid character",
bits = C.JSInt_methods._shrOtherPositive$1(state, 2),
count = state & 3,
inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
for (i = start, charOr = 0; i < end; ++i) {
char = C.JSString_methods.codeUnitAt$1(input, i);
charOr |= char;
code = inverseAlphabet[char & 127];
if (code >= 0) {
bits = (bits << 6 | code) & 16777215;
count = count + 1 & 3;
if (count === 0) {
outIndex0 = outIndex + 1;
output[outIndex] = bits >>> 16 & 255;
outIndex = outIndex0 + 1;
output[outIndex0] = bits >>> 8 & 255;
outIndex0 = outIndex + 1;
output[outIndex] = bits & 255;
outIndex = outIndex0;
bits = 0;
}
continue;
} else if (code === -1 && count > 1) {
if (charOr > 127)
break;
if (count === 3) {
if ((bits & 3) !== 0)
throw H.wrapException(P.FormatException$(_s31_, input, i));
output[outIndex] = bits >>> 10;
output[outIndex + 1] = bits >>> 2;
} else {
if ((bits & 15) !== 0)
throw H.wrapException(P.FormatException$(_s31_, input, i));
output[outIndex] = bits >>> 4;
}
expectedPadding = (3 - count) * 3;
if (char === 37)
expectedPadding += 2;
return P._Base64Decoder__checkPadding(input, i + 1, end, -expectedPadding - 1);
}
throw H.wrapException(P.FormatException$(_s17_, input, i));
}
if (charOr >= 0 && charOr <= 127)
return (bits << 2 | count) >>> 0;
for (i = start; i < end; ++i) {
char = C.JSString_methods.codeUnitAt$1(input, i);
if (char > 127)
break;
}
throw H.wrapException(P.FormatException$(_s17_, input, i));
},
_Base64Decoder__allocateBuffer: function(input, start, end, state) {
var paddingStart = P._Base64Decoder__trimPaddingChars(input, start, end),
$length = (state & 3) + (paddingStart - start),
bufferLength = C.JSInt_methods._shrOtherPositive$1($length, 2) * 3,
remainderLength = $length & 3;
if (remainderLength !== 0 && paddingStart < end)
bufferLength += remainderLength - 1;
if (bufferLength > 0)
return new Uint8Array(bufferLength);
return $.$get$_Base64Decoder__emptyBuffer();
},
_Base64Decoder__trimPaddingChars: function(input, start, end) {
var char,
newEnd = end,
index = newEnd,
padding = 0;
while (true) {
if (!(index > start && padding < 2))
break;
c$0: {
--index;
char = C.JSString_methods.codeUnitAt$1(input, index);
if (char === 61) {
++padding;
newEnd = index;
break c$0;
}
if ((char | 32) === 100) {
if (index === start)
break;
--index;
char = C.JSString_methods.codeUnitAt$1(input, index);
}
if (char === 51) {
if (index === start)
break;
--index;
char = C.JSString_methods.codeUnitAt$1(input, index);
}
if (char === 37) {
++padding;
newEnd = index;
break c$0;
}
break;
}
}
return newEnd;
},
_Base64Decoder__checkPadding: function(input, start, end, state) {
var expectedPadding, char;
if (start === end)
return state;
expectedPadding = -state - 1;
for (; expectedPadding > 0;) {
char = C.JSString_methods.codeUnitAt$1(input, start);
if (expectedPadding === 3) {
if (char === 61) {
expectedPadding -= 3;
++start;
break;
}
if (char === 37) {
--expectedPadding;
++start;
if (start === end)
break;
char = C.JSString_methods.codeUnitAt$1(input, start);
} else
break;
}
if ((expectedPadding > 3 ? expectedPadding - 3 : expectedPadding) === 2) {
if (char !== 51)
break;
++start;
--expectedPadding;
if (start === end)
break;
char = C.JSString_methods.codeUnitAt$1(input, start);
}
if ((char | 32) !== 100)
break;
++start;
--expectedPadding;
if (start === end)
break;
}
if (start !== end)
throw H.wrapException(P.FormatException$("Invalid padding character", input, start));
return -expectedPadding - 1;
},
Encoding_getByName: function($name) {
if ($name == null)
return null;
return $.Encoding__nameToEncoding.$index(0, $name.toLowerCase());
},
JsonUnsupportedObjectError$: function(unsupportedObject, cause, partialResult) {
return new P.JsonUnsupportedObjectError(unsupportedObject, cause);
},
_defaultToEncodable: function(object) {
return object.toJson$0();
},
_JsonStringStringifier$: function(_sink, _toEncodable) {
var t1 = _toEncodable == null ? P.convert___defaultToEncodable$closure() : _toEncodable;
return new P._JsonStringStringifier(_sink, [], t1);
},
_JsonStringStringifier_stringify: function(object, toEncodable, indent) {
var t1,
output = new P.StringBuffer("");
P._JsonStringStringifier_printOn(object, output, toEncodable, indent);
t1 = output._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_JsonStringStringifier_printOn: function(object, output, toEncodable, indent) {
var stringifier, t1;
if (indent == null)
stringifier = P._JsonStringStringifier$(output, toEncodable);
else {
t1 = toEncodable == null ? P.convert___defaultToEncodable$closure() : toEncodable;
stringifier = new P._JsonStringStringifierPretty(indent, 0, output, [], t1);
}
stringifier.writeObject$1(object);
},
_Utf8Decoder_errorDescription: function(state) {
switch (state) {
case 65:
return "Missing extension byte";
case 67:
return "Unexpected extension byte";
case 69:
return "Invalid UTF-8 byte";
case 71:
return "Overlong encoding";
case 73:
return "Out of unicode range";
case 75:
return "Encoded surrogate";
case 77:
return "Unfinished UTF-8 octet sequence";
default:
return "";
}
},
_Utf8Decoder__makeUint8List: function(codeUnits, start, end) {
var t1, i, b,
$length = end - start,
bytes = new Uint8Array($length);
for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
b = t1.$index(codeUnits, start + i);
bytes[i] = (b & 4294967040) >>> 0 !== 0 ? 255 : b;
}
return bytes;
},
_JsonMap: function _JsonMap(t0, t1) {
this._original = t0;
this._processed = t1;
this._data = null;
},
_JsonMap_values_closure: function _JsonMap_values_closure(t0) {
this.$this = t0;
},
_JsonMap_addAll_closure: function _JsonMap_addAll_closure(t0) {
this.$this = t0;
},
_JsonMapKeyIterable: function _JsonMapKeyIterable(t0) {
this._parent = t0;
},
Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() {
},
Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() {
},
AsciiCodec: function AsciiCodec() {
},
_UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
},
AsciiEncoder: function AsciiEncoder(t0) {
this._subsetMask = t0;
},
_UnicodeSubsetDecoder: function _UnicodeSubsetDecoder() {
},
AsciiDecoder: function AsciiDecoder(t0, t1) {
this._allowInvalid = t0;
this._subsetMask = t1;
},
Base64Codec: function Base64Codec() {
},
Base64Encoder: function Base64Encoder() {
},
_Base64Encoder: function _Base64Encoder(t0) {
this._convert$_state = 0;
this._alphabet = t0;
},
Base64Decoder: function Base64Decoder() {
},
_Base64Decoder: function _Base64Decoder() {
this._convert$_state = 0;
},
ByteConversionSink: function ByteConversionSink() {
},
ByteConversionSinkBase: function ByteConversionSinkBase() {
},
_ByteCallbackSink: function _ByteCallbackSink(t0, t1) {
this._convert$_callback = t0;
this._convert$_buffer = t1;
this._bufferIndex = 0;
},
ChunkedConversionSink: function ChunkedConversionSink() {
},
Codec0: function Codec0() {
},
Converter: function Converter() {
},
Encoding: function Encoding() {
},
JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
this.unsupportedObject = t0;
this.cause = t1;
},
JsonCyclicError: function JsonCyclicError(t0, t1) {
this.unsupportedObject = t0;
this.cause = t1;
},
JsonCodec: function JsonCodec() {
},
JsonEncoder: function JsonEncoder(t0, t1) {
this.indent = t0;
this._toEncodable = t1;
},
JsonDecoder: function JsonDecoder(t0) {
this._reviver = t0;
},
_JsonStringifier: function _JsonStringifier() {
},
_JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
this._box_0 = t0;
this.keyValueList = t1;
},
_JsonPrettyPrintMixin: function _JsonPrettyPrintMixin() {
},
_JsonPrettyPrintMixin_writeMap_closure: function _JsonPrettyPrintMixin_writeMap_closure(t0, t1) {
this._box_0 = t0;
this.keyValueList = t1;
},
_JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
this._sink = t0;
this._seen = t1;
this._toEncodable = t2;
},
_JsonStringStringifierPretty: function _JsonStringStringifierPretty(t0, t1, t2, t3, t4) {
var _ = this;
_._indent = t0;
_._JsonPrettyPrintMixin__indentLevel = t1;
_._sink = t2;
_._seen = t3;
_._toEncodable = t4;
},
Latin1Codec: function Latin1Codec() {
},
Latin1Encoder: function Latin1Encoder(t0) {
this._subsetMask = t0;
},
Latin1Decoder: function Latin1Decoder(t0, t1) {
this._allowInvalid = t0;
this._subsetMask = t1;
},
Utf8Codec: function Utf8Codec() {
},
Utf8Encoder: function Utf8Encoder() {
},
_Utf8Encoder: function _Utf8Encoder(t0) {
this._bufferIndex = this._carry = 0;
this._convert$_buffer = t0;
},
Utf8Decoder: function Utf8Decoder(t0) {
this._allowMalformed = t0;
},
_Utf8Decoder: function _Utf8Decoder(t0) {
this.allowMalformed = t0;
this._convert$_state = 16;
this._charOrIndex = 0;
},
__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin: function __JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin() {
},
_symbolMapToStringMap: function(map) {
var result = new H.JsLinkedHashMap(type$.JsLinkedHashMap_String_dynamic);
map.forEach$1(0, new P._symbolMapToStringMap_closure(result));
return result;
},
identityHashCode: function(object) {
return H.objectHashCode(object);
},
Function_apply: function($function, positionalArguments, namedArguments) {
return H.Primitives_applyFunction($function, positionalArguments, namedArguments == null ? null : P._symbolMapToStringMap(namedArguments));
},
Expando$: function($T) {
var t1;
if (typeof WeakMap == "function")
t1 = new WeakMap();
else {
t1 = $.Expando__keyCount;
$.Expando__keyCount = t1 + 1;
t1 = "expando$key$" + t1;
}
return new P.Expando(t1, $T._eval$1("Expando<0>"));
},
int_parse: function(source, radix) {
var value = H.Primitives_parseInt(source, radix);
if (value != null)
return value;
throw H.wrapException(P.FormatException$(source, null, null));
},
double_parse: function(source) {
var value = H.Primitives_parseDouble(source);
if (value != null)
return value;
throw H.wrapException(P.FormatException$("Invalid double", source, null));
},
Error__objectToString: function(object) {
if (object instanceof H.Closure)
return object.toString$0(0);
return "Instance of '" + H.S(H.Primitives_objectTypeName(object)) + "'";
},
DateTime$fromMillisecondsSinceEpoch: function(millisecondsSinceEpoch, isUtc) {
var t1;
if (Math.abs(millisecondsSinceEpoch) <= 864e13)
t1 = false;
else
t1 = true;
if (t1)
H.throwExpression(P.ArgumentError$("DateTime is outside valid range: " + H.S(millisecondsSinceEpoch)));
H.checkNotNullable(isUtc, "isUtc", type$.bool);
return new P.DateTime(millisecondsSinceEpoch, isUtc);
},
List_List$filled: function($length, fill, growable, $E) {
var i,
result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
if ($length !== 0 && fill != null)
for (i = 0; i < result.length; ++i)
result[i] = fill;
return result;
},
List_List$from: function(elements, growable, $E) {
var t1,
list = H.setRuntimeTypeInfo([], $E._eval$1("JSArray<0>"));
for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
list.push(t1.get$current(t1));
if (growable)
return list;
return J.JSArray_markFixedList(list);
},
List_List$of: function(elements, growable, $E) {
if (growable === true)
return P.List_List$_of(elements, $E);
if (growable === false)
return J.JSArray_markFixedList(P.List_List$_of(elements, $E));
if (growable == null)
H.assertThrow("boolean expression must not be null");
H.assertUnreachable();
H.throwExpression(H.ReachabilityError$(string$.x60null_t));
},
List_List$_of: function(elements, $E) {
var list, t1;
if (Array.isArray(elements))
return H.setRuntimeTypeInfo(elements.slice(0), $E._eval$1("JSArray<0>"));
list = H.setRuntimeTypeInfo([], $E._eval$1("JSArray<0>"));
for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
list.push(t1.get$current(t1));
return list;
},
List_List$generate: function($length, generator, $E) {
var i,
result = J.JSArray_JSArray$growable($length, $E);
for (i = 0; i < $length; ++i)
result[i] = generator.call$1(i);
return result;
},
List_List$unmodifiable: function(elements, $E) {
return J.JSArray_markUnmodifiableList(P.List_List$from(elements, false, $E));
},
String_String$fromCharCodes: function(charCodes, start, end) {
var array, len;
if (Array.isArray(charCodes)) {
array = charCodes;
len = array.length;
end = P.RangeError_checkValidRange(start, end, len);
return H.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
}
if (type$.NativeUint8List._is(charCodes))
return H.Primitives_stringFromNativeUint8List(charCodes, start, P.RangeError_checkValidRange(start, end, charCodes.length));
return P.String__stringFromIterable(charCodes, start, end);
},
String_String$fromCharCode: function(charCode) {
return H.Primitives_stringFromCharCode(charCode);
},
String__stringFromIterable: function(charCodes, start, end) {
var t1, it, i, list, _null = null;
if (start < 0)
throw H.wrapException(P.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null));
t1 = end == null;
if (!t1 && end < start)
throw H.wrapException(P.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null));
it = J.get$iterator$ax(charCodes);
for (i = 0; i < start; ++i)
if (!it.moveNext$0())
throw H.wrapException(P.RangeError$range(start, 0, i, _null, _null));
list = [];
if (t1)
for (; it.moveNext$0();)
list.push(it.get$current(it));
else
for (i = start; i < end; ++i) {
if (!it.moveNext$0())
throw H.wrapException(P.RangeError$range(end, start, i, _null, _null));
list.push(it.get$current(it));
}
return H.Primitives_stringFromCharCodes(list);
},
RegExp_RegExp: function(source, caseSensitive, multiLine) {
return new H.JSSyntaxRegExp(source, H.JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, false, false, false));
},
identical: function(a, b) {
return a == null ? b == null : a === b;
},
StringBuffer__writeAll: function(string, objects, separator) {
var iterator = J.get$iterator$ax(objects);
if (!iterator.moveNext$0())
return string;
if (separator.length === 0) {
do
string += H.S(iterator.get$current(iterator));
while (iterator.moveNext$0());
} else {
string += H.S(iterator.get$current(iterator));
for (; iterator.moveNext$0();)
string = string + separator + H.S(iterator.get$current(iterator));
}
return string;
},
NoSuchMethodError$: function(receiver, memberName, positionalArguments, namedArguments) {
return new P.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments);
},
Uri_base: function() {
var uri = H.Primitives_currentUri();
if (uri != null)
return P.Uri_parse(uri, 0, null);
throw H.wrapException(P.UnsupportedError$("'Uri.base' is not supported"));
},
_Uri__uriEncode: function(canonicalTable, text, encoding, spaceToPlus) {
var t1, bytes, i, t2, byte,
_s16_ = "0123456789ABCDEF";
if (encoding === C.C_Utf8Codec) {
t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp;
if (typeof text != "string")
H.throwExpression(H.argumentErrorValue(text));
t1 = t1.test(text);
} else
t1 = false;
if (t1)
return text;
bytes = encoding.encode$1(text);
for (t1 = J.getInterceptor$asx(bytes), i = 0, t2 = ""; i < t1.get$length(bytes); ++i) {
byte = t1.$index(bytes, i);
if (byte < 128 && (canonicalTable[C.JSInt_methods._shrOtherPositive$1(byte, 4)] & 1 << (byte & 15)) !== 0)
t2 += H.Primitives_stringFromCharCode(byte);
else
t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[C.JSInt_methods._shrOtherPositive$1(byte, 4) & 15] + _s16_[byte & 15];
}
return t2.charCodeAt(0) == 0 ? t2 : t2;
},
StackTrace_current: function() {
var stackTrace, exception;
if ($.$get$_hasErrorStackProperty())
return H.getTraceFromException(new Error());
try {
throw H.wrapException("");
} catch (exception) {
H.unwrapException(exception);
stackTrace = H.getTraceFromException(exception);
return stackTrace;
}
},
_BigIntImpl__parseDecimal: function(source, isNegative) {
var part, i,
result = $.$get$_BigIntImpl_zero(),
t1 = source.length,
digitInPartCount = 4 - t1 % 4;
if (digitInPartCount === 4)
digitInPartCount = 0;
for (part = 0, i = 0; i < t1; ++i) {
part = part * 10 + C.JSString_methods._codeUnitAt$1(source, i) - 48;
++digitInPartCount;
if (digitInPartCount === 4) {
result = result.$mul(0, $.$get$_BigIntImpl__bigInt10000()).$add(0, P._BigIntImpl__BigIntImpl$_fromInt(part));
part = 0;
digitInPartCount = 0;
}
}
if (isNegative)
return result.$negate(0);
return result;
},
_BigIntImpl__codeUnitToRadixValue: function(codeUnit) {
if (48 <= codeUnit && codeUnit <= 57)
return codeUnit - 48;
return (codeUnit | 32) - 97 + 10;
},
_BigIntImpl__parseHex: function(source, startPos, isNegative) {
var t3, i, chunk, j, i0, digitValue, digitIndex, digitIndex0,
t1 = source.length,
sourceLength = t1 - startPos,
chunkCount = C.JSNumber_methods.ceil$0(sourceLength / 4),
digits = new Uint16Array(chunkCount),
t2 = chunkCount - 1,
lastDigitLength = sourceLength - t2 * 4;
for (t3 = J.getInterceptor$s(source), i = startPos, chunk = 0, j = 0; j < lastDigitLength; ++j, i = i0) {
i0 = i + 1;
digitValue = P._BigIntImpl__codeUnitToRadixValue(t3._codeUnitAt$1(source, i));
if (digitValue >= 16)
return null;
chunk = chunk * 16 + digitValue;
}
digitIndex = t2 - 1;
digits[t2] = chunk;
for (; i < t1; digitIndex = digitIndex0) {
for (chunk = 0, j = 0; j < 4; ++j, i = i0) {
i0 = i + 1;
digitValue = P._BigIntImpl__codeUnitToRadixValue(C.JSString_methods._codeUnitAt$1(source, i));
if (digitValue >= 16)
return null;
chunk = chunk * 16 + digitValue;
}
digitIndex0 = digitIndex - 1;
digits[digitIndex] = chunk;
}
if (chunkCount === 1 && digits[0] === 0)
return $.$get$_BigIntImpl_zero();
t1 = P._BigIntImpl__normalize(chunkCount, digits);
return new P._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1);
},
_BigIntImpl__tryParse: function(source, radix) {
var match, t1, isNegative, decimalMatch, hexMatch;
if (source === "")
return null;
match = $.$get$_BigIntImpl__parseRE().firstMatch$1(source);
if (match == null)
return null;
t1 = match._match;
isNegative = t1[1] === "-";
decimalMatch = t1[4];
hexMatch = t1[3];
if (decimalMatch != null)
return P._BigIntImpl__parseDecimal(decimalMatch, isNegative);
if (hexMatch != null)
return P._BigIntImpl__parseHex(hexMatch, 2, isNegative);
return null;
},
_BigIntImpl__normalize: function(used, digits) {
while (true) {
if (!(used > 0 && digits[used - 1] === 0))
break;
--used;
}
return used;
},
_BigIntImpl__cloneDigits: function(digits, from, to, $length) {
var resultDigits, n, i;
if (!H._isInt($length))
H.throwExpression(P.ArgumentError$("Invalid length " + H.S($length)));
resultDigits = new Uint16Array($length);
n = to - from;
for (i = 0; i < n; ++i)
resultDigits[i] = digits[from + i];
return resultDigits;
},
_BigIntImpl__BigIntImpl$_fromInt: function(value) {
var digits, t1, i, i0,
isNegative = value < 0;
if (isNegative) {
if (value === -9223372036854776e3) {
digits = new Uint16Array(4);
digits[3] = 32768;
t1 = P._BigIntImpl__normalize(4, digits);
return new P._BigIntImpl(t1 !== 0 || false, digits, t1);
}
value = -value;
}
if (value < 65536) {
digits = new Uint16Array(1);
digits[0] = value;
t1 = P._BigIntImpl__normalize(1, digits);
return new P._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1);
}
if (value <= 4294967295) {
digits = new Uint16Array(2);
digits[0] = value & 65535;
digits[1] = C.JSInt_methods._shrOtherPositive$1(value, 16);
t1 = P._BigIntImpl__normalize(2, digits);
return new P._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1);
}
t1 = C.JSInt_methods._tdivFast$1(C.JSInt_methods.get$bitLength(value) - 1, 16) + 1;
digits = new Uint16Array(t1);
for (i = 0; value !== 0; i = i0) {
i0 = i + 1;
digits[i] = value & 65535;
value = C.JSInt_methods._tdivFast$1(value, 65536);
}
t1 = P._BigIntImpl__normalize(t1, digits);
return new P._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1);
},
_BigIntImpl__dlShiftDigits: function(xDigits, xUsed, n, resultDigits) {
var i;
if (xUsed === 0)
return 0;
if (n === 0 && resultDigits === xDigits)
return xUsed;
for (i = xUsed - 1; i >= 0; --i)
resultDigits[i + n] = xDigits[i];
for (i = n - 1; i >= 0; --i)
resultDigits[i] = 0;
return xUsed + n;
},
_BigIntImpl__lsh: function(xDigits, xUsed, n, resultDigits) {
var i, carry, digit,
digitShift = C.JSInt_methods._tdivFast$1(n, 16),
bitShift = C.JSInt_methods.$mod(n, 16),
carryBitShift = 16 - bitShift,
bitMask = C.JSInt_methods.$shl(1, carryBitShift) - 1;
for (i = xUsed - 1, carry = 0; i >= 0; --i) {
digit = xDigits[i];
resultDigits[i + digitShift + 1] = (C.JSInt_methods._shrReceiverPositive$1(digit, carryBitShift) | carry) >>> 0;
carry = C.JSInt_methods.$shl(digit & bitMask, bitShift);
}
resultDigits[digitShift] = carry;
},
_BigIntImpl__lShiftDigits: function(xDigits, xUsed, n, resultDigits) {
var resultUsed, i, resultUsed0,
digitsShift = C.JSInt_methods._tdivFast$1(n, 16);
if (C.JSInt_methods.$mod(n, 16) === 0)
return P._BigIntImpl__dlShiftDigits(xDigits, xUsed, digitsShift, resultDigits);
resultUsed = xUsed + digitsShift + 1;
P._BigIntImpl__lsh(xDigits, xUsed, n, resultDigits);
for (i = digitsShift; --i, i >= 0;)
resultDigits[i] = 0;
resultUsed0 = resultUsed - 1;
return resultDigits[resultUsed0] === 0 ? resultUsed0 : resultUsed;
},
_BigIntImpl__rsh: function(xDigits, xUsed, n, resultDigits) {
var i, digit,
digitsShift = C.JSInt_methods._tdivFast$1(n, 16),
bitShift = C.JSInt_methods.$mod(n, 16),
carryBitShift = 16 - bitShift,
bitMask = C.JSInt_methods.$shl(1, bitShift) - 1,
carry = C.JSInt_methods._shrReceiverPositive$1(xDigits[digitsShift], bitShift),
last = xUsed - digitsShift - 1;
for (i = 0; i < last; ++i) {
digit = xDigits[i + digitsShift + 1];
resultDigits[i] = (C.JSInt_methods.$shl(digit & bitMask, carryBitShift) | carry) >>> 0;
carry = C.JSInt_methods._shrReceiverPositive$1(digit, bitShift);
}
resultDigits[last] = carry;
},
_BigIntImpl__compareDigits: function(digits, used, otherDigits, otherUsed) {
var i,
result = used - otherUsed;
if (result === 0)
for (i = used - 1; i >= 0; --i) {
result = digits[i] - otherDigits[i];
if (result !== 0)
return result;
}
return result;
},
_BigIntImpl__absAdd: function(digits, used, otherDigits, otherUsed, resultDigits) {
var carry, i;
for (carry = 0, i = 0; i < otherUsed; ++i) {
carry += digits[i] + otherDigits[i];
resultDigits[i] = carry & 65535;
carry = carry >>> 16;
}
for (i = otherUsed; i < used; ++i) {
carry += digits[i];
resultDigits[i] = carry & 65535;
carry = carry >>> 16;
}
resultDigits[used] = carry;
},
_BigIntImpl__absSub: function(digits, used, otherDigits, otherUsed, resultDigits) {
var carry, i;
for (carry = 0, i = 0; i < otherUsed; ++i) {
carry += digits[i] - otherDigits[i];
resultDigits[i] = carry & 65535;
carry = 0 - (C.JSInt_methods._shrOtherPositive$1(carry, 16) & 1);
}
for (i = otherUsed; i < used; ++i) {
carry += digits[i];
resultDigits[i] = carry & 65535;
carry = 0 - (C.JSInt_methods._shrOtherPositive$1(carry, 16) & 1);
}
},
_BigIntImpl__mulAdd: function(x, multiplicandDigits, i, accumulatorDigits, j, n) {
var c, i0, combined, j0, l;
if (x === 0)
return;
for (c = 0; --n, n >= 0; j = j0, i = i0) {
i0 = i + 1;
combined = x * multiplicandDigits[i] + accumulatorDigits[j] + c;
j0 = j + 1;
accumulatorDigits[j] = combined & 65535;
c = C.JSInt_methods._tdivFast$1(combined, 65536);
}
for (; c !== 0; j = j0) {
l = accumulatorDigits[j] + c;
j0 = j + 1;
accumulatorDigits[j] = l & 65535;
c = C.JSInt_methods._tdivFast$1(l, 65536);
}
},
_BigIntImpl__estimateQuotientDigit: function(topDigitDivisor, digits, i) {
var quotientDigit,
t1 = digits[i];
if (t1 === topDigitDivisor)
return 65535;
quotientDigit = C.JSInt_methods.$tdiv((t1 << 16 | digits[i - 1]) >>> 0, topDigitDivisor);
if (quotientDigit > 65535)
return 65535;
return quotientDigit;
},
Comparable_compare: function(a, b) {
return J.compareTo$1$ns(a, b);
},
DateTime_parse: function(formattedString) {
var t1, t2, t3, years, month, day, hour, minute, second, milliAndMicroseconds, millisecond, tzSign, sign, hourDifference, isUtc, value, _null = null,
match = $.$get$DateTime__parseFormat().firstMatch$1(formattedString);
if (match != null) {
t1 = new P.DateTime_parse_parseIntOrZero();
t2 = match._match;
t3 = t2[1];
t3.toString;
years = P.int_parse(t3, _null);
t3 = t2[2];
t3.toString;
month = P.int_parse(t3, _null);
t3 = t2[3];
t3.toString;
day = P.int_parse(t3, _null);
hour = t1.call$1(t2[4]);
minute = t1.call$1(t2[5]);
second = t1.call$1(t2[6]);
milliAndMicroseconds = new P.DateTime_parse_parseMilliAndMicroseconds().call$1(t2[7]);
millisecond = C.JSInt_methods._tdivFast$1(milliAndMicroseconds, 1000);
if (t2[8] != null) {
tzSign = t2[9];
if (tzSign != null) {
sign = tzSign === "-" ? -1 : 1;
t3 = t2[10];
t3.toString;
hourDifference = P.int_parse(t3, _null);
minute -= sign * (t1.call$1(t2[11]) + 60 * hourDifference);
}
isUtc = true;
} else
isUtc = false;
value = H.Primitives_valueFromDecomposedDate(years, month, day, hour, minute, second, millisecond + C.JSNumber_methods.round$0(milliAndMicroseconds % 1000 / 1000), isUtc);
if (value == null)
throw H.wrapException(P.FormatException$("Time out of range", formattedString, _null));
return P.DateTime$_withValue(value, isUtc);
} else
throw H.wrapException(P.FormatException$("Invalid date format", formattedString, _null));
},
DateTime_tryParse: function(formattedString) {
var t1, exception;
try {
t1 = P.DateTime_parse(formattedString);
return t1;
} catch (exception) {
if (type$.FormatException._is(H.unwrapException(exception)))
return null;
else
throw exception;
}
},
DateTime$_withValue: function(_value, isUtc) {
var t1;
if (Math.abs(_value) <= 864e13)
t1 = false;
else
t1 = true;
if (t1)
H.throwExpression(P.ArgumentError$("DateTime is outside valid range: " + _value));
H.checkNotNullable(isUtc, "isUtc", type$.bool);
return new P.DateTime(_value, isUtc);
},
DateTime__fourDigits: function(n) {
var absN = Math.abs(n),
sign = n < 0 ? "-" : "";
if (absN >= 1000)
return "" + n;
if (absN >= 100)
return sign + "0" + absN;
if (absN >= 10)
return sign + "00" + absN;
return sign + "000" + absN;
},
DateTime__sixDigits: function(n) {
var absN = Math.abs(n),
sign = n < 0 ? "-" : "+";
if (absN >= 100000)
return sign + absN;
return sign + "0" + absN;
},
DateTime__threeDigits: function(n) {
if (n >= 100)
return "" + n;
if (n >= 10)
return "0" + n;
return "00" + n;
},
DateTime__twoDigits: function(n) {
if (n >= 10)
return "" + n;
return "0" + n;
},
Duration$: function(days, hours, microseconds, milliseconds, minutes, seconds) {
return new P.Duration(864e8 * days + 3600000000 * hours + 60000000 * minutes + 1000000 * seconds + 1000 * milliseconds + microseconds);
},
Error_safeToString: function(object) {
if (typeof object == "number" || H._isBool(object) || null == object)
return J.toString$0$(object);
if (typeof object == "string")
return JSON.stringify(object);
return P.Error__objectToString(object);
},
AssertionError$: function(message) {
return new P.AssertionError(message);
},
ArgumentError$: function(message) {
return new P.ArgumentError(false, null, null, message);
},
ArgumentError$value: function(value, $name, message) {
return new P.ArgumentError(true, value, $name, message);
},
ArgumentError$notNull: function($name) {
return new P.ArgumentError(false, null, $name, "Must not be null");
},
RangeError$: function(message) {
var _null = null;
return new P.RangeError(_null, _null, false, _null, _null, message);
},
RangeError$value: function(value, $name, message) {
return new P.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
},
RangeError$range: function(invalidValue, minValue, maxValue, $name, message) {
return new P.RangeError(minValue, maxValue, true, invalidValue, $name, "Invalid value");
},
RangeError_checkValueInInterval: function(value, minValue, maxValue, $name) {
if (value < minValue || value > maxValue)
throw H.wrapException(P.RangeError$range(value, minValue, maxValue, $name, null));
return value;
},
RangeError_checkValidIndex: function(index, indexable, $name, $length) {
if ($length == null)
$length = J.get$length$asx(indexable);
if (0 > index || index >= $length)
throw H.wrapException(P.IndexError$(index, indexable, $name == null ? "index" : $name, null, $length));
return index;
},
RangeError_checkValidRange: function(start, end, $length) {
if (0 > start || start > $length)
throw H.wrapException(P.RangeError$range(start, 0, $length, "start", null));
if (end != null) {
if (start > end || end > $length)
throw H.wrapException(P.RangeError$range(end, start, $length, "end", null));
return end;
}
return $length;
},
RangeError_checkNotNegative: function(value, $name) {
if (value < 0)
throw H.wrapException(P.RangeError$range(value, 0, null, $name, null));
return value;
},
IndexError$: function(invalidValue, indexable, $name, message, $length) {
var t1 = $length == null ? J.get$length$asx(indexable) : $length;
return new P.IndexError(t1, true, invalidValue, $name, "Index out of range");
},
UnsupportedError$: function(message) {
return new P.UnsupportedError(message);
},
UnimplementedError$: function(message) {
return new P.UnimplementedError(message);
},
StateError$: function(message) {
return new P.StateError(message);
},
ConcurrentModificationError$: function(modifiedObject) {
return new P.ConcurrentModificationError(modifiedObject);
},
Exception_Exception: function(message) {
return new P._Exception(message);
},
FormatException$: function(message, source, offset) {
return new P.FormatException(message, source, offset);
},
Iterable_Iterable$generate: function(count, generator, $E) {
var t1;
if (count <= 0)
return new H.EmptyIterable($E._eval$1("EmptyIterable<0>"));
t1 = generator == null ? $E._eval$1("0(int)")._as(P.core__GeneratorIterable__id$closure()) : generator;
return new P._GeneratorIterable(count, t1, $E._eval$1("_GeneratorIterable<0>"));
},
_GeneratorIterable__id: function(n) {
return n;
},
Map_castFrom: function(source, $K, $V, K2, V2) {
return new H.CastMap(source, $K._eval$1("@<0>")._bind$1($V)._bind$1(K2)._bind$1(V2)._eval$1("CastMap<1,2,3,4>"));
},
print: function(object) {
var line = J.toString$0$(object),
toZone = $.printToZone;
if (toZone == null)
H.printString(H.S(line));
else
toZone.call$1(line);
},
Stopwatch$: function() {
$.$get$Stopwatch__frequency();
return new P.Stopwatch();
},
Uri_parse: function(uri, start, end) {
var t1, delta, indices, t2, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t3, schemeAuth, userInfoStart, userInfo, host, portNumber, port, path, query, _null = null;
end = uri.length;
t1 = start + 5;
if (end >= t1) {
delta = ((J._codeUnitAt$1$s(uri, start + 4) ^ 58) * 3 | C.JSString_methods._codeUnitAt$1(uri, start) ^ 100 | C.JSString_methods._codeUnitAt$1(uri, start + 1) ^ 97 | C.JSString_methods._codeUnitAt$1(uri, start + 2) ^ 116 | C.JSString_methods._codeUnitAt$1(uri, start + 3) ^ 97) >>> 0;
if (delta === 0)
return P.UriData__parse(start > 0 || end < end ? C.JSString_methods.substring$2(uri, start, end) : uri, 5, _null).get$uri();
else if (delta === 32)
return P.UriData__parse(C.JSString_methods.substring$2(uri, t1, end), 0, _null).get$uri();
}
indices = P.List_List$filled(8, 0, false, type$.int);
indices[0] = 0;
t2 = start - 1;
indices[1] = t2;
indices[2] = t2;
indices[7] = t2;
indices[3] = start;
indices[4] = start;
indices[5] = end;
indices[6] = end;
if (P._scan(uri, start, end, 0, indices) >= 14)
indices[7] = end;
schemeEnd = indices[1];
if (schemeEnd >= start)
if (P._scan(uri, start, schemeEnd, 20, indices) === 20)
indices[7] = schemeEnd;
hostStart = indices[2] + 1;
portStart = indices[3];
pathStart = indices[4];
queryStart = indices[5];
fragmentStart = indices[6];
if (fragmentStart < queryStart)
queryStart = fragmentStart;
if (pathStart < hostStart)
pathStart = queryStart;
else if (pathStart <= schemeEnd)
pathStart = schemeEnd + 1;
if (portStart < hostStart)
portStart = pathStart;
isSimple = indices[7] < start;
if (isSimple)
if (hostStart > schemeEnd + 3) {
scheme = _null;
isSimple = false;
} else {
t2 = portStart > start;
if (t2 && portStart + 1 === pathStart) {
scheme = _null;
isSimple = false;
} else {
if (!(queryStart < end && queryStart === pathStart + 2 && J.startsWith$2$s(uri, "..", pathStart)))
t3 = queryStart > pathStart + 2 && J.startsWith$2$s(uri, "/..", queryStart - 3);
else
t3 = true;
if (t3) {
scheme = _null;
isSimple = false;
} else {
if (schemeEnd === start + 4)
if (J.startsWith$2$s(uri, "file", start)) {
if (hostStart <= start) {
if (!C.JSString_methods.startsWith$2(uri, "/", pathStart)) {
schemeAuth = "file:///";
delta = 3;
} else {
schemeAuth = "file://";
delta = 2;
}
uri = schemeAuth + C.JSString_methods.substring$2(uri, pathStart, end);
schemeEnd -= start;
t1 = delta - start;
queryStart += t1;
fragmentStart += t1;
end = uri.length;
start = 0;
hostStart = 7;
portStart = 7;
pathStart = 7;
} else if (pathStart === queryStart)
if (start === 0 && true) {
uri = C.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
++queryStart;
++fragmentStart;
++end;
} else {
uri = C.JSString_methods.substring$2(uri, start, pathStart) + "/" + C.JSString_methods.substring$2(uri, queryStart, end);
schemeEnd -= start;
hostStart -= start;
portStart -= start;
pathStart -= start;
t1 = 1 - start;
queryStart += t1;
fragmentStart += t1;
end = uri.length;
start = 0;
}
scheme = "file";
} else if (C.JSString_methods.startsWith$2(uri, "http", start)) {
if (t2 && portStart + 3 === pathStart && C.JSString_methods.startsWith$2(uri, "80", portStart + 1))
if (start === 0 && true) {
uri = C.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
pathStart -= 3;
queryStart -= 3;
fragmentStart -= 3;
end -= 3;
} else {
uri = C.JSString_methods.substring$2(uri, start, portStart) + C.JSString_methods.substring$2(uri, pathStart, end);
schemeEnd -= start;
hostStart -= start;
portStart -= start;
t1 = 3 + start;
pathStart -= t1;
queryStart -= t1;
fragmentStart -= t1;
end = uri.length;
start = 0;
}
scheme = "http";
} else
scheme = _null;
else if (schemeEnd === t1 && J.startsWith$2$s(uri, "https", start)) {
if (t2 && portStart + 4 === pathStart && J.startsWith$2$s(uri, "443", portStart + 1)) {
t1 = start === 0 && true;
t2 = J.getInterceptor$asx(uri);
if (t1) {
uri = t2.replaceRange$3(uri, portStart, pathStart, "");
pathStart -= 4;
queryStart -= 4;
fragmentStart -= 4;
end -= 3;
} else {
uri = t2.substring$2(uri, start, portStart) + C.JSString_methods.substring$2(uri, pathStart, end);
schemeEnd -= start;
hostStart -= start;
portStart -= start;
t1 = 4 + start;
pathStart -= t1;
queryStart -= t1;
fragmentStart -= t1;
end = uri.length;
start = 0;
}
}
scheme = "https";
} else
scheme = _null;
isSimple = true;
}
}
}
else
scheme = _null;
if (isSimple) {
if (start > 0 || end < uri.length) {
uri = J.substring$2$s(uri, start, end);
schemeEnd -= start;
hostStart -= start;
portStart -= start;
pathStart -= start;
queryStart -= start;
fragmentStart -= start;
}
return new P._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
}
if (scheme == null)
if (schemeEnd > start)
scheme = P._Uri__makeScheme(uri, start, schemeEnd);
else {
if (schemeEnd === start) {
P._Uri__fail(uri, start, "Invalid empty scheme");
H.ReachabilityError$(string$.x60null_t);
}
scheme = "";
}
if (hostStart > start) {
userInfoStart = schemeEnd + 3;
userInfo = userInfoStart < hostStart ? P._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
host = P._Uri__makeHost(uri, hostStart, portStart, false);
t1 = portStart + 1;
if (t1 < pathStart) {
portNumber = H.Primitives_parseInt(J.substring$2$s(uri, t1, pathStart), _null);
port = P._Uri__makePort(portNumber == null ? H.throwExpression(P.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
} else
port = _null;
} else {
port = _null;
host = port;
userInfo = "";
}
path = P._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
query = queryStart < fragmentStart ? P._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
return P._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? P._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
},
Uri_tryParse: function(uri) {
var t1, exception, start = 0, end = null;
try {
t1 = P.Uri_parse(uri, start, end);
return t1;
} catch (exception) {
if (type$.FormatException._is(H.unwrapException(exception)))
return null;
else
throw exception;
}
},
Uri_decodeComponent: function(encodedComponent) {
return P._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, C.C_Utf8Codec, false);
},
Uri__parseIPv4Address: function(host, start, end) {
var i, partStart, partIndex, char, part, partIndex0,
_s43_ = "IPv4 address should contain exactly 4 parts",
_s37_ = "each part must be in the range 0..255",
error = new P.Uri__parseIPv4Address_error(host),
result = new Uint8Array(4);
for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
char = C.JSString_methods.codeUnitAt$1(host, i);
if (char !== 46) {
if ((char ^ 48) > 9)
error.call$2("invalid character", i);
} else {
if (partIndex === 3)
error.call$2(_s43_, i);
part = P.int_parse(C.JSString_methods.substring$2(host, partStart, i), null);
if (part > 255)
error.call$2(_s37_, partStart);
partIndex0 = partIndex + 1;
result[partIndex] = part;
partStart = i + 1;
partIndex = partIndex0;
}
}
if (partIndex !== 3)
error.call$2(_s43_, end);
part = P.int_parse(C.JSString_methods.substring$2(host, partStart, end), null);
if (part > 255)
error.call$2(_s37_, partStart);
result[partIndex] = part;
return result;
},
Uri_parseIPv6Address: function(host, start, end) {
var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j,
error = new P.Uri_parseIPv6Address_error(host),
parseHex = new P.Uri_parseIPv6Address_parseHex(error, host);
if (host.length < 2)
error.call$1("address is too short");
parts = H.setRuntimeTypeInfo([], type$.JSArray_int);
for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
char = C.JSString_methods.codeUnitAt$1(host, i);
if (char === 58) {
if (i === start) {
++i;
if (C.JSString_methods.codeUnitAt$1(host, i) !== 58)
error.call$2("invalid start colon.", i);
partStart = i;
}
if (i === partStart) {
if (wildcardSeen)
error.call$2("only one wildcard `::` is allowed", i);
parts.push(-1);
wildcardSeen = true;
} else
parts.push(parseHex.call$2(partStart, i));
partStart = i + 1;
} else if (char === 46)
seenDot = true;
}
if (parts.length === 0)
error.call$1("too few parts");
atEnd = partStart === end;
t1 = C.JSArray_methods.get$last(parts);
if (atEnd && t1 !== -1)
error.call$2("expected a part after last `:`", end);
if (!atEnd)
if (!seenDot)
parts.push(parseHex.call$2(partStart, end));
else {
last = P.Uri__parseIPv4Address(host, partStart, end);
parts.push((last[0] << 8 | last[1]) >>> 0);
parts.push((last[2] << 8 | last[3]) >>> 0);
}
if (wildcardSeen) {
if (parts.length > 7)
error.call$1("an address with a wildcard must have less than 7 parts");
} else if (parts.length !== 8)
error.call$1("an address without a wildcard must contain exactly 8 parts");
bytes = new Uint8Array(16);
for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
value = parts[i];
if (value === -1)
for (j = 0; j < wildCardLength; ++j) {
bytes[index] = 0;
bytes[index + 1] = 0;
index += 2;
}
else {
bytes[index] = C.JSInt_methods._shrOtherPositive$1(value, 8);
bytes[index + 1] = value & 255;
index += 2;
}
}
return bytes;
},
_Uri$_internal: function(scheme, _userInfo, _host, _port, path, _query, _fragment) {
return new P._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
},
_Uri__Uri: function(host, path, pathSegments, scheme) {
var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
scheme = scheme == null ? "" : P._Uri__makeScheme(scheme, 0, scheme.length);
userInfo = P._Uri__makeUserInfo(_null, 0, 0);
host = P._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
query = P._Uri__makeQuery(_null, 0, 0, _null);
fragment = P._Uri__makeFragment(_null, 0, 0);
port = P._Uri__makePort(_null, scheme);
isFile = scheme === "file";
if (host == null)
t1 = userInfo.length !== 0 || port != null || isFile;
else
t1 = false;
if (t1)
host = "";
t1 = host == null;
hasAuthority = !t1;
path = P._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
t2 = scheme.length === 0;
if (t2 && t1 && !C.JSString_methods.startsWith$1(path, "/"))
path = P._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
else
path = P._Uri__removeDotSegments(path);
return P._Uri$_internal(scheme, userInfo, t1 && C.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
},
_Uri__defaultPort: function(scheme) {
if (scheme === "http")
return 80;
if (scheme === "https")
return 443;
return 0;
},
_Uri__compareScheme: function(scheme, uri) {
var t1, i, schemeChar, uriChar, delta, lowerChar;
for (t1 = scheme.length, i = 0; i < t1; ++i) {
schemeChar = C.JSString_methods._codeUnitAt$1(scheme, i);
uriChar = C.JSString_methods._codeUnitAt$1(uri, i);
delta = schemeChar ^ uriChar;
if (delta !== 0) {
if (delta === 32) {
lowerChar = uriChar | delta;
if (97 <= lowerChar && lowerChar <= 122)
continue;
}
return false;
}
}
return true;
},
_Uri__fail: function(uri, index, message) {
throw H.wrapException(P.FormatException$(message, uri, index));
},
_Uri__checkNonWindowsPathReservedCharacters: function(segments, argumentError) {
var t1, t2;
for (t1 = J.get$iterator$ax(segments); t1.moveNext$0();) {
t2 = t1.get$current(t1);
t2.toString;
if (H.stringContainsUnchecked(t2, "/", 0)) {
t1 = P.UnsupportedError$("Illegal path character " + t2);
throw H.wrapException(t1);
}
}
},
_Uri__checkWindowsPathReservedCharacters: function(segments, argumentError, firstSegment) {
var t1, t2, t3;
for (t1 = J.skip$1$ax(segments, firstSegment), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
t2 = t1.get$current(t1);
t3 = P.RegExp_RegExp('["*/:<>?\\\\|]', true, false);
t2.toString;
if (H.stringContainsUnchecked(t2, t3, 0))
if (argumentError)
throw H.wrapException(P.ArgumentError$("Illegal character in path"));
else
throw H.wrapException(P.UnsupportedError$("Illegal character in path: " + t2));
}
},
_Uri__checkWindowsDriveLetter: function(charCode, argumentError) {
var t1,
_s21_ = "Illegal drive letter ";
if (!(65 <= charCode && charCode <= 90))
t1 = 97 <= charCode && charCode <= 122;
else
t1 = true;
if (t1)
return;
if (argumentError)
throw H.wrapException(P.ArgumentError$(_s21_ + P.String_String$fromCharCode(charCode)));
else
throw H.wrapException(P.UnsupportedError$(_s21_ + P.String_String$fromCharCode(charCode)));
},
_Uri__makePort: function(port, scheme) {
if (port != null && port === P._Uri__defaultPort(scheme))
return null;
return port;
},
_Uri__makeHost: function(host, start, end, strictIPv6) {
var t1, t2, index, zoneIDstart, zoneID, i;
if (host == null)
return null;
if (start === end)
return "";
if (C.JSString_methods.codeUnitAt$1(host, start) === 91) {
t1 = end - 1;
if (C.JSString_methods.codeUnitAt$1(host, t1) !== 93) {
P._Uri__fail(host, start, "Missing end `]` to match `[` in host");
H.ReachabilityError$(string$.x60null_t);
}
t2 = start + 1;
index = P._Uri__checkZoneID(host, t2, t1);
if (index < t1) {
zoneIDstart = index + 1;
zoneID = P._Uri__normalizeZoneID(host, C.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
} else
zoneID = "";
P.Uri_parseIPv6Address(host, t2, index);
return C.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
}
for (i = start; i < end; ++i)
if (C.JSString_methods.codeUnitAt$1(host, i) === 58) {
index = C.JSString_methods.indexOf$2(host, "%", start);
index = index >= start && index < end ? index : end;
if (index < end) {
zoneIDstart = index + 1;
zoneID = P._Uri__normalizeZoneID(host, C.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
} else
zoneID = "";
P.Uri_parseIPv6Address(host, start, index);
return "[" + C.JSString_methods.substring$2(host, start, index) + zoneID + "]";
}
return P._Uri__normalizeRegName(host, start, end);
},
_Uri__checkZoneID: function(host, start, end) {
var index = C.JSString_methods.indexOf$2(host, "%", start);
return index >= start && index < end ? index : end;
},
_Uri__normalizeZoneID: function(host, start, end, prefix) {
var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
buffer = prefix !== "" ? new P.StringBuffer(prefix) : null;
for (index = start, sectionStart = index, isNormalized = true; index < end;) {
char = C.JSString_methods.codeUnitAt$1(host, index);
if (char === 37) {
replacement = P._Uri__normalizeEscape(host, index, true);
t1 = replacement == null;
if (t1 && isNormalized) {
index += 3;
continue;
}
if (buffer == null)
buffer = new P.StringBuffer("");
t2 = buffer._contents += C.JSString_methods.substring$2(host, sectionStart, index);
if (t1)
replacement = C.JSString_methods.substring$2(host, index, index + 3);
else if (replacement === "%") {
P._Uri__fail(host, index, "ZoneID should not contain % anymore");
H.ReachabilityError$(string$.x60null_t);
}
buffer._contents = t2 + replacement;
index += 3;
sectionStart = index;
isNormalized = true;
} else if (char < 127 && (C.List_nxB[char >>> 4] & 1 << (char & 15)) !== 0) {
if (isNormalized && 65 <= char && 90 >= char) {
if (buffer == null)
buffer = new P.StringBuffer("");
if (sectionStart < index) {
buffer._contents += C.JSString_methods.substring$2(host, sectionStart, index);
sectionStart = index;
}
isNormalized = false;
}
++index;
} else {
if ((char & 64512) === 55296 && index + 1 < end) {
tail = C.JSString_methods.codeUnitAt$1(host, index + 1);
if ((tail & 64512) === 56320) {
char = (char & 1023) << 10 | tail & 1023 | 65536;
sourceLength = 2;
} else
sourceLength = 1;
} else
sourceLength = 1;
slice = C.JSString_methods.substring$2(host, sectionStart, index);
if (buffer == null) {
buffer = new P.StringBuffer("");
t1 = buffer;
} else
t1 = buffer;
t1._contents += slice;
t1._contents += P._Uri__escapeChar(char);
index += sourceLength;
sectionStart = index;
}
}
if (buffer == null)
return C.JSString_methods.substring$2(host, start, end);
if (sectionStart < end)
buffer._contents += C.JSString_methods.substring$2(host, sectionStart, end);
t1 = buffer._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_Uri__normalizeRegName: function(host, start, end) {
var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
char = C.JSString_methods.codeUnitAt$1(host, index);
if (char === 37) {
replacement = P._Uri__normalizeEscape(host, index, true);
t1 = replacement == null;
if (t1 && isNormalized) {
index += 3;
continue;
}
if (buffer == null)
buffer = new P.StringBuffer("");
slice = C.JSString_methods.substring$2(host, sectionStart, index);
t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
if (t1) {
replacement = C.JSString_methods.substring$2(host, index, index + 3);
sourceLength = 3;
} else if (replacement === "%") {
replacement = "%25";
sourceLength = 1;
} else
sourceLength = 3;
buffer._contents = t2 + replacement;
index += sourceLength;
sectionStart = index;
isNormalized = true;
} else if (char < 127 && (C.List_qNA[char >>> 4] & 1 << (char & 15)) !== 0) {
if (isNormalized && 65 <= char && 90 >= char) {
if (buffer == null)
buffer = new P.StringBuffer("");
if (sectionStart < index) {
buffer._contents += C.JSString_methods.substring$2(host, sectionStart, index);
sectionStart = index;
}
isNormalized = false;
}
++index;
} else if (char <= 93 && (C.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0) {
P._Uri__fail(host, index, "Invalid character");
H.ReachabilityError$(string$.x60null_t);
} else {
if ((char & 64512) === 55296 && index + 1 < end) {
tail = C.JSString_methods.codeUnitAt$1(host, index + 1);
if ((tail & 64512) === 56320) {
char = (char & 1023) << 10 | tail & 1023 | 65536;
sourceLength = 2;
} else
sourceLength = 1;
} else
sourceLength = 1;
slice = C.JSString_methods.substring$2(host, sectionStart, index);
if (!isNormalized)
slice = slice.toLowerCase();
if (buffer == null) {
buffer = new P.StringBuffer("");
t1 = buffer;
} else
t1 = buffer;
t1._contents += slice;
t1._contents += P._Uri__escapeChar(char);
index += sourceLength;
sectionStart = index;
}
}
if (buffer == null)
return C.JSString_methods.substring$2(host, start, end);
if (sectionStart < end) {
slice = C.JSString_methods.substring$2(host, sectionStart, end);
buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
}
t1 = buffer._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_Uri__makeScheme: function(scheme, start, end) {
var i, containsUpperCase, codeUnit,
_s67_ = string$.x60null_t;
if (start === end)
return "";
if (!P._Uri__isAlphabeticCharacter(J._codeUnitAt$1$s(scheme, start))) {
P._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
H.ReachabilityError$(_s67_);
}
for (i = start, containsUpperCase = false; i < end; ++i) {
codeUnit = C.JSString_methods._codeUnitAt$1(scheme, i);
if (!(codeUnit < 128 && (C.List_JYB[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0)) {
P._Uri__fail(scheme, i, "Illegal scheme character");
H.ReachabilityError$(_s67_);
}
if (65 <= codeUnit && codeUnit <= 90)
containsUpperCase = true;
}
scheme = C.JSString_methods.substring$2(scheme, start, end);
return P._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
},
_Uri__canonicalizeScheme: function(scheme) {
if (scheme === "http")
return "http";
if (scheme === "file")
return "file";
if (scheme === "https")
return "https";
if (scheme === "package")
return "package";
return scheme;
},
_Uri__makeUserInfo: function(userInfo, start, end) {
if (userInfo == null)
return "";
return P._Uri__normalizeOrSubstring(userInfo, start, end, C.List_gRj, false);
},
_Uri__makePath: function(path, start, end, pathSegments, scheme, hasAuthority) {
var result,
isFile = scheme === "file",
ensureLeadingSlash = isFile || hasAuthority;
if (path == null) {
if (pathSegments == null)
return isFile ? "/" : "";
result = new H.MappedListIterable(pathSegments, new P._Uri__makePath_closure(), H._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
} else if (pathSegments != null)
throw H.wrapException(P.ArgumentError$("Both path and pathSegments specified"));
else
result = P._Uri__normalizeOrSubstring(path, start, end, C.List_qg4, true);
if (result.length === 0) {
if (isFile)
return "/";
} else if (ensureLeadingSlash && !C.JSString_methods.startsWith$1(result, "/"))
result = "/" + result;
return P._Uri__normalizePath(result, scheme, hasAuthority);
},
_Uri__normalizePath: function(path, scheme, hasAuthority) {
var t1 = scheme.length === 0;
if (t1 && !hasAuthority && !C.JSString_methods.startsWith$1(path, "/"))
return P._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
return P._Uri__removeDotSegments(path);
},
_Uri__makeQuery: function(query, start, end, queryParameters) {
var result, t1 = {};
if (query != null) {
if (queryParameters != null)
throw H.wrapException(P.ArgumentError$("Both query and queryParameters specified"));
return P._Uri__normalizeOrSubstring(query, start, end, C.List_CVk, true);
}
if (queryParameters == null)
return null;
result = new P.StringBuffer("");
t1.separator = "";
queryParameters.forEach$1(0, new P._Uri__makeQuery_closure(new P._Uri__makeQuery_writeParameter(t1, result)));
t1 = result._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_Uri__makeFragment: function(fragment, start, end) {
if (fragment == null)
return null;
return P._Uri__normalizeOrSubstring(fragment, start, end, C.List_CVk, true);
},
_Uri__normalizeEscape: function(source, index, lowerCase) {
var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
t1 = index + 2;
if (t1 >= source.length)
return "%";
firstDigit = C.JSString_methods.codeUnitAt$1(source, index + 1);
secondDigit = C.JSString_methods.codeUnitAt$1(source, t1);
firstDigitValue = H.hexDigitValue(firstDigit);
secondDigitValue = H.hexDigitValue(secondDigit);
if (firstDigitValue < 0 || secondDigitValue < 0)
return "%";
value = firstDigitValue * 16 + secondDigitValue;
if (value < 127 && (C.List_nxB[C.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
if (firstDigit >= 97 || secondDigit >= 97)
return C.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
return null;
},
_Uri__escapeChar: function(char) {
var codeUnits, flag, encodedBytes, index, byte,
_s16_ = "0123456789ABCDEF";
if (char < 128) {
codeUnits = new Uint8Array(3);
codeUnits[0] = 37;
codeUnits[1] = C.JSString_methods._codeUnitAt$1(_s16_, char >>> 4);
codeUnits[2] = C.JSString_methods._codeUnitAt$1(_s16_, char & 15);
} else {
if (char > 2047)
if (char > 65535) {
flag = 240;
encodedBytes = 4;
} else {
flag = 224;
encodedBytes = 3;
}
else {
flag = 192;
encodedBytes = 2;
}
codeUnits = new Uint8Array(3 * encodedBytes);
for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
byte = C.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
codeUnits[index] = 37;
codeUnits[index + 1] = C.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4);
codeUnits[index + 2] = C.JSString_methods._codeUnitAt$1(_s16_, byte & 15);
index += 3;
}
}
return P.String_String$fromCharCodes(codeUnits, 0, null);
},
_Uri__normalizeOrSubstring: function(component, start, end, charTable, escapeDelimiters) {
var t1 = P._Uri__normalize(component, start, end, charTable, escapeDelimiters);
return t1 == null ? C.JSString_methods.substring$2(component, start, end) : t1;
},
_Uri__normalize: function(component, start, end, charTable, escapeDelimiters) {
var t1, t2, index, sectionStart, buffer, char, replacement, sourceLength, t3, tail, _null = null;
for (t1 = !escapeDelimiters, t2 = J.getInterceptor$s(component), index = start, sectionStart = index, buffer = _null; index < end;) {
char = t2.codeUnitAt$1(component, index);
if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
++index;
else {
if (char === 37) {
replacement = P._Uri__normalizeEscape(component, index, false);
if (replacement == null) {
index += 3;
continue;
}
if ("%" === replacement) {
replacement = "%25";
sourceLength = 1;
} else
sourceLength = 3;
} else if (t1 && char <= 93 && (C.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0) {
P._Uri__fail(component, index, "Invalid character");
H.ReachabilityError$(string$.x60null_t);
sourceLength = _null;
replacement = sourceLength;
} else {
if ((char & 64512) === 55296) {
t3 = index + 1;
if (t3 < end) {
tail = C.JSString_methods.codeUnitAt$1(component, t3);
if ((tail & 64512) === 56320) {
char = (char & 1023) << 10 | tail & 1023 | 65536;
sourceLength = 2;
} else
sourceLength = 1;
} else
sourceLength = 1;
} else
sourceLength = 1;
replacement = P._Uri__escapeChar(char);
}
if (buffer == null) {
buffer = new P.StringBuffer("");
t3 = buffer;
} else
t3 = buffer;
t3._contents += C.JSString_methods.substring$2(component, sectionStart, index);
t3._contents += H.S(replacement);
index += sourceLength;
sectionStart = index;
}
}
if (buffer == null)
return _null;
if (sectionStart < end)
buffer._contents += t2.substring$2(component, sectionStart, end);
t1 = buffer._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_Uri__mayContainDotSegments: function(path) {
if (C.JSString_methods.startsWith$1(path, "."))
return true;
return C.JSString_methods.indexOf$1(path, "/.") !== -1;
},
_Uri__removeDotSegments: function(path) {
var output, t1, t2, appendSlash, _i, segment;
if (!P._Uri__mayContainDotSegments(path))
return path;
output = H.setRuntimeTypeInfo([], type$.JSArray_String);
for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
segment = t1[_i];
if (J.$eq$(segment, "..")) {
if (output.length !== 0) {
output.pop();
if (output.length === 0)
output.push("");
}
appendSlash = true;
} else if ("." === segment)
appendSlash = true;
else {
output.push(segment);
appendSlash = false;
}
}
if (appendSlash)
output.push("");
return C.JSArray_methods.join$1(output, "/");
},
_Uri__normalizeRelativePath: function(path, allowScheme) {
var output, t1, t2, appendSlash, _i, segment;
if (!P._Uri__mayContainDotSegments(path))
return !allowScheme ? P._Uri__escapeScheme(path) : path;
output = H.setRuntimeTypeInfo([], type$.JSArray_String);
for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
segment = t1[_i];
if (".." === segment)
if (output.length !== 0 && C.JSArray_methods.get$last(output) !== "..") {
output.pop();
appendSlash = true;
} else {
output.push("..");
appendSlash = false;
}
else if ("." === segment)
appendSlash = true;
else {
output.push(segment);
appendSlash = false;
}
}
t1 = output.length;
if (t1 !== 0)
t1 = t1 === 1 && output[0].length === 0;
else
t1 = true;
if (t1)
return "./";
if (appendSlash || C.JSArray_methods.get$last(output) === "..")
output.push("");
if (!allowScheme)
output[0] = P._Uri__escapeScheme(output[0]);
return C.JSArray_methods.join$1(output, "/");
},
_Uri__escapeScheme: function(path) {
var i, char,
t1 = path.length;
if (t1 >= 2 && P._Uri__isAlphabeticCharacter(J._codeUnitAt$1$s(path, 0)))
for (i = 1; i < t1; ++i) {
char = C.JSString_methods._codeUnitAt$1(path, i);
if (char === 58)
return C.JSString_methods.substring$2(path, 0, i) + "%3A" + C.JSString_methods.substring$1(path, i + 1);
if (char > 127 || (C.List_JYB[char >>> 4] & 1 << (char & 15)) === 0)
break;
}
return path;
},
_Uri__packageNameEnd: function(uri, path) {
if (uri.isScheme$1("package") && uri._host == null)
return P._skipPackageNameChars(path, 0, path.length);
return -1;
},
_Uri__toWindowsFilePath: function(uri) {
var hasDriveLetter, t2, host,
segments = uri.get$pathSegments(),
t1 = J.getInterceptor$asx(segments);
if (t1.get$length(segments) > 0 && J.get$length$asx(t1.$index(segments, 0)) === 2 && J.codeUnitAt$1$s(t1.$index(segments, 0), 1) === 58) {
P._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(t1.$index(segments, 0), 0), false);
P._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
hasDriveLetter = true;
} else {
P._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
hasDriveLetter = false;
}
t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "\\" : "";
if (uri.get$hasAuthority()) {
host = uri.get$host(uri);
if (host.length !== 0)
t2 = t2 + "\\" + host + "\\";
}
t2 = P.StringBuffer__writeAll(t2, segments, "\\");
t1 = hasDriveLetter && t1.get$length(segments) === 1 ? t2 + "\\" : t2;
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_Uri__hexCharPairToByte: function(s, pos) {
var byte, i, charCode;
for (byte = 0, i = 0; i < 2; ++i) {
charCode = C.JSString_methods._codeUnitAt$1(s, pos + i);
if (48 <= charCode && charCode <= 57)
byte = byte * 16 + charCode - 48;
else {
charCode |= 32;
if (97 <= charCode && charCode <= 102)
byte = byte * 16 + charCode - 87;
else
throw H.wrapException(P.ArgumentError$("Invalid URL encoding"));
}
}
return byte;
},
_Uri__uriDecode: function(text, start, end, encoding, plusToSpace) {
var simple, codeUnit, t2, bytes,
t1 = J.getInterceptor$s(text),
i = start;
while (true) {
if (!(i < end)) {
simple = true;
break;
}
codeUnit = t1._codeUnitAt$1(text, i);
if (codeUnit <= 127)
if (codeUnit !== 37)
t2 = false;
else
t2 = true;
else
t2 = true;
if (t2) {
simple = false;
break;
}
++i;
}
if (simple) {
if (C.C_Utf8Codec !== encoding)
t2 = false;
else
t2 = true;
if (t2)
return t1.substring$2(text, start, end);
else
bytes = new H.CodeUnits(t1.substring$2(text, start, end));
} else {
bytes = H.setRuntimeTypeInfo([], type$.JSArray_int);
for (i = start; i < end; ++i) {
codeUnit = t1._codeUnitAt$1(text, i);
if (codeUnit > 127)
throw H.wrapException(P.ArgumentError$("Illegal percent encoding in URI"));
if (codeUnit === 37) {
if (i + 3 > text.length)
throw H.wrapException(P.ArgumentError$("Truncated URI"));
bytes.push(P._Uri__hexCharPairToByte(text, i + 1));
i += 2;
} else
bytes.push(codeUnit);
}
}
return encoding.decode$1(0, bytes);
},
_Uri__isAlphabeticCharacter: function(codeUnit) {
var lowerCase = codeUnit | 32;
return 97 <= lowerCase && lowerCase <= 122;
},
UriData__parse: function(text, start, sourceUri) {
var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
_s17_ = "Invalid MIME type",
indices = H.setRuntimeTypeInfo([start - 1], type$.JSArray_int);
for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
char = C.JSString_methods._codeUnitAt$1(text, i);
if (char === 44 || char === 59)
break;
if (char === 47) {
if (slashIndex < 0) {
slashIndex = i;
continue;
}
throw H.wrapException(P.FormatException$(_s17_, text, i));
}
}
if (slashIndex < 0 && i > start)
throw H.wrapException(P.FormatException$(_s17_, text, i));
for (; char !== 44;) {
indices.push(i);
++i;
for (equalsIndex = -1; i < t1; ++i) {
char = C.JSString_methods._codeUnitAt$1(text, i);
if (char === 61) {
if (equalsIndex < 0)
equalsIndex = i;
} else if (char === 59 || char === 44)
break;
}
if (equalsIndex >= 0)
indices.push(equalsIndex);
else {
lastSeparator = C.JSArray_methods.get$last(indices);
if (char !== 44 || i !== lastSeparator + 7 || !C.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
throw H.wrapException(P.FormatException$("Expecting '='", text, i));
break;
}
}
indices.push(i);
t2 = i + 1;
if ((indices.length & 1) === 1)
text = C.C_Base64Codec.normalize$3(0, text, t2, t1);
else {
data = P._Uri__normalize(text, t2, t1, C.List_CVk, true);
if (data != null)
text = C.JSString_methods.replaceRange$3(text, t2, t1, data);
}
return new P.UriData(text, indices, sourceUri);
},
_createTables: function() {
var _i, t1, t2, t3, b,
_s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
_s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "?", _s1_3 = "#",
tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
for (_i = 0; _i < 22; ++_i)
tables[_i] = new Uint8Array(96);
t1 = new P._createTables_build(tables);
t2 = new P._createTables_setChars();
t3 = new P._createTables_setRange();
b = t1.call$2(0, 225);
t2.call$3(b, _s77_, 1);
t2.call$3(b, _s1_, 14);
t2.call$3(b, _s1_0, 34);
t2.call$3(b, _s1_1, 3);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(14, 225);
t2.call$3(b, _s77_, 1);
t2.call$3(b, _s1_, 15);
t2.call$3(b, _s1_0, 34);
t2.call$3(b, _s1_1, 234);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(15, 225);
t2.call$3(b, _s77_, 1);
t2.call$3(b, "%", 225);
t2.call$3(b, _s1_0, 34);
t2.call$3(b, _s1_1, 9);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(1, 225);
t2.call$3(b, _s77_, 1);
t2.call$3(b, _s1_0, 34);
t2.call$3(b, _s1_1, 10);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(2, 235);
t2.call$3(b, _s77_, 139);
t2.call$3(b, _s1_1, 131);
t2.call$3(b, _s1_, 146);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(3, 235);
t2.call$3(b, _s77_, 11);
t2.call$3(b, _s1_1, 68);
t2.call$3(b, _s1_, 18);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(4, 229);
t2.call$3(b, _s77_, 5);
t3.call$3(b, "AZ", 229);
t2.call$3(b, _s1_0, 102);
t2.call$3(b, "@", 68);
t2.call$3(b, "[", 232);
t2.call$3(b, _s1_1, 138);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(5, 229);
t2.call$3(b, _s77_, 5);
t3.call$3(b, "AZ", 229);
t2.call$3(b, _s1_0, 102);
t2.call$3(b, "@", 68);
t2.call$3(b, _s1_1, 138);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(6, 231);
t3.call$3(b, "19", 7);
t2.call$3(b, "@", 68);
t2.call$3(b, _s1_1, 138);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(7, 231);
t3.call$3(b, "09", 7);
t2.call$3(b, "@", 68);
t2.call$3(b, _s1_1, 138);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
t2.call$3(t1.call$2(8, 8), "]", 5);
b = t1.call$2(9, 235);
t2.call$3(b, _s77_, 11);
t2.call$3(b, _s1_, 16);
t2.call$3(b, _s1_1, 234);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(16, 235);
t2.call$3(b, _s77_, 11);
t2.call$3(b, _s1_, 17);
t2.call$3(b, _s1_1, 234);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(17, 235);
t2.call$3(b, _s77_, 11);
t2.call$3(b, _s1_1, 9);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(10, 235);
t2.call$3(b, _s77_, 11);
t2.call$3(b, _s1_, 18);
t2.call$3(b, _s1_1, 234);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(18, 235);
t2.call$3(b, _s77_, 11);
t2.call$3(b, _s1_, 19);
t2.call$3(b, _s1_1, 234);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(19, 235);
t2.call$3(b, _s77_, 11);
t2.call$3(b, _s1_1, 234);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(11, 235);
t2.call$3(b, _s77_, 11);
t2.call$3(b, _s1_1, 10);
t2.call$3(b, _s1_2, 172);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(12, 236);
t2.call$3(b, _s77_, 12);
t2.call$3(b, _s1_2, 12);
t2.call$3(b, _s1_3, 205);
b = t1.call$2(13, 237);
t2.call$3(b, _s77_, 13);
t2.call$3(b, _s1_2, 13);
t3.call$3(t1.call$2(20, 245), "az", 21);
b = t1.call$2(21, 245);
t3.call$3(b, "az", 21);
t3.call$3(b, "09", 21);
t2.call$3(b, "+-.", 21);
return tables;
},
_scan: function(uri, start, end, state, indices) {
var t1, i, table, char, transition,
tables = $.$get$_scannerTables();
for (t1 = J.getInterceptor$s(uri), i = start; i < end; ++i) {
table = tables[state];
char = t1._codeUnitAt$1(uri, i) ^ 96;
transition = table[char > 95 ? 31 : char];
state = transition & 31;
indices[transition >>> 5] = i;
}
return state;
},
_SimpleUri__packageNameEnd: function(uri) {
if (uri._schemeEnd === 7 && C.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
return P._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
return -1;
},
_skipPackageNameChars: function(source, start, end) {
var i, dots, char;
for (i = start, dots = 0; i < end; ++i) {
char = C.JSString_methods.codeUnitAt$1(source, i);
if (char === 47)
return dots !== 0 ? i : -1;
if (char === 37 || char === 58)
return -1;
dots |= char ^ 46;
}
return -1;
},
_symbolMapToStringMap_closure: function _symbolMapToStringMap_closure(t0) {
this.result = t0;
},
NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
this._box_0 = t0;
this.sb = t1;
},
_BigIntImpl: function _BigIntImpl(t0, t1, t2) {
this._isNegative = t0;
this._digits = t1;
this._used = t2;
},
_BigIntImpl_hashCode_combine: function _BigIntImpl_hashCode_combine() {
},
_BigIntImpl_hashCode_finish: function _BigIntImpl_hashCode_finish() {
},
_BigIntImpl_toDouble_readBits: function _BigIntImpl_toDouble_readBits(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_BigIntImpl_toDouble_roundUp: function _BigIntImpl_toDouble_roundUp(t0) {
this.resultBits = t0;
},
Comparable: function Comparable() {
},
DateTime: function DateTime(t0, t1) {
this._value = t0;
this.isUtc = t1;
},
DateTime_parse_parseIntOrZero: function DateTime_parse_parseIntOrZero() {
},
DateTime_parse_parseMilliAndMicroseconds: function DateTime_parse_parseMilliAndMicroseconds() {
},
Duration: function Duration(t0) {
this._duration = t0;
},
Duration_toString_sixDigits: function Duration_toString_sixDigits() {
},
Duration_toString_twoDigits: function Duration_toString_twoDigits() {
},
Error: function Error() {
},
AssertionError: function AssertionError(t0) {
this.message = t0;
},
TypeError: function TypeError() {
},
NullThrownError: function NullThrownError() {
},
ArgumentError: function ArgumentError(t0, t1, t2, t3) {
var _ = this;
_._hasValue = t0;
_.invalidValue = t1;
_.name = t2;
_.message = t3;
},
RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.start = t0;
_.end = t1;
_._hasValue = t2;
_.invalidValue = t3;
_.name = t4;
_.message = t5;
},
IndexError: function IndexError(t0, t1, t2, t3, t4) {
var _ = this;
_.length = t0;
_._hasValue = t1;
_.invalidValue = t2;
_.name = t3;
_.message = t4;
},
NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
var _ = this;
_._core$_receiver = t0;
_._memberName = t1;
_._core$_arguments = t2;
_._namedArguments = t3;
},
UnsupportedError: function UnsupportedError(t0) {
this.message = t0;
},
UnimplementedError: function UnimplementedError(t0) {
this.message = t0;
},
StateError: function StateError(t0) {
this.message = t0;
},
ConcurrentModificationError: function ConcurrentModificationError(t0) {
this.modifiedObject = t0;
},
OutOfMemoryError: function OutOfMemoryError() {
},
StackOverflowError: function StackOverflowError() {
},
CyclicInitializationError: function CyclicInitializationError(t0) {
this.variableName = t0;
},
_Exception: function _Exception(t0) {
this.message = t0;
},
FormatException: function FormatException(t0, t1, t2) {
this.message = t0;
this.source = t1;
this.offset = t2;
},
IntegerDivisionByZeroException: function IntegerDivisionByZeroException() {
},
Expando: function Expando(t0, t1) {
this._jsWeakMapOrKey = t0;
this.$ti = t1;
},
Iterable: function Iterable() {
},
_GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
this.length = t0;
this._generator = t1;
this.$ti = t2;
},
Iterator: function Iterator() {
},
MapEntry: function MapEntry(t0, t1, t2) {
this.key = t0;
this.value = t1;
this.$ti = t2;
},
Null: function Null() {
},
Object: function Object() {
},
_StringStackTrace: function _StringStackTrace(t0) {
this._stackTrace = t0;
},
Stopwatch: function Stopwatch() {
this._stop = this._core$_start = 0;
},
StringBuffer: function StringBuffer(t0) {
this._contents = t0;
},
Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
this.host = t0;
},
Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
this.host = t0;
},
Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
this.error = t0;
this.host = t1;
},
_Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.scheme = t0;
_._userInfo = t1;
_._host = t2;
_._port = t3;
_.path = t4;
_._query = t5;
_._fragment = t6;
_.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $;
},
_Uri__makePath_closure: function _Uri__makePath_closure() {
},
_Uri__makeQuery_writeParameter: function _Uri__makeQuery_writeParameter(t0, t1) {
this._box_0 = t0;
this.result = t1;
},
_Uri__makeQuery_closure: function _Uri__makeQuery_closure(t0) {
this.writeParameter = t0;
},
UriData: function UriData(t0, t1, t2) {
this._text = t0;
this._separatorIndices = t1;
this._uriCache = t2;
},
_createTables_build: function _createTables_build(t0) {
this.tables = t0;
},
_createTables_setChars: function _createTables_setChars() {
},
_createTables_setRange: function _createTables_setRange() {
},
_SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._uri = t0;
_._schemeEnd = t1;
_._hostStart = t2;
_._portStart = t3;
_._pathStart = t4;
_._queryStart = t5;
_._fragmentStart = t6;
_._schemeCache = t7;
_._hashCodeCache = null;
},
_DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.scheme = t0;
_._userInfo = t1;
_._host = t2;
_._port = t3;
_.path = t4;
_._query = t5;
_._fragment = t6;
_.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $;
},
ServiceExtensionResponse$result: function(result) {
return new P.ServiceExtensionResponse();
},
ServiceExtensionResponse__validateErrorCode: function(errorCode) {
if (errorCode === -32602)
return;
if (errorCode >= -32016 && errorCode <= -32000)
return;
throw H.wrapException(P.ArgumentError$value(errorCode, "errorCode", "Out of range"));
},
registerExtension: function(method, handler) {
if (!C.JSString_methods.startsWith$1(method, "ext."))
throw H.wrapException(P.ArgumentError$value(method, "method", "Must begin with ext."));
if ($._extensions.$index(0, method) != null)
throw H.wrapException(P.ArgumentError$("Extension already registered: " + method));
$._extensions.$indexSet(0, method, handler);
},
postEvent: function(eventKind, eventData) {
C.C_JsonCodec.encode$1(eventData);
},
Timeline_startSync: function($name, $arguments, flow) {
$.Timeline__stack.push(null);
return;
},
Timeline_finishSync: function() {
var block, t1;
if ($.Timeline__stack.length === 0)
throw H.wrapException(P.StateError$("Uneven calls to startSync and finishSync"));
block = $.Timeline__stack.pop();
if (block == null)
return;
P._argumentsAsJson(block._developer$_arguments);
t1 = block._flow;
if (t1 != null) {
"" + t1.id;
block._flow.toString;
P._argumentsAsJson(null);
}
},
Timeline_instantSync: function($name, $arguments) {
return;
},
Timeline_timeSync: function($name, $function, flow) {
var t1;
P.Timeline_startSync($name, null, flow);
try {
t1 = $function.call$0();
return t1;
} finally {
P.Timeline_finishSync();
}
},
_argumentsAsJson: function($arguments) {
if ($arguments == null || $arguments.get$length($arguments) === 0)
return "{}";
return C.C_JsonCodec.encode$1($arguments);
},
ServiceExtensionResponse: function ServiceExtensionResponse() {
},
TimelineTask: function TimelineTask(t0, t1, t2) {
this._developer$_parent = t0;
this._taskId = t1;
this._stack = t2;
},
_AsyncBlock: function _AsyncBlock(t0, t1) {
this.name = t0;
this._taskId = t1;
},
convertNativeToDart_Dictionary: function(object) {
var dict, keys, t1, _i, key;
if (object == null)
return null;
dict = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic);
keys = Object.getOwnPropertyNames(object);
for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, H.throwConcurrentModificationError)(keys), ++_i) {
key = keys[_i];
dict.$indexSet(0, key, object[key]);
}
return dict;
},
_convertDartToNative_Value: function(value) {
var array;
if (value == null)
return value;
if (typeof value == "string" || typeof value == "number" || H._isBool(value))
return value;
if (type$.Map_dynamic_dynamic._is(value))
return P.convertDartToNative_Dictionary(value);
if (type$.List_dynamic._is(value)) {
array = [];
J.forEach$1$ax(value, new P._convertDartToNative_Value_closure(array));
value = array;
}
return value;
},
convertDartToNative_Dictionary: function(dict) {
var object = {};
J.forEach$1$ax(dict, new P.convertDartToNative_Dictionary_closure(object));
return object;
},
Device_userAgent: function() {
return window.navigator.userAgent;
},
_StructuredClone: function _StructuredClone() {
},
_StructuredClone_walk_closure: function _StructuredClone_walk_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_StructuredClone_walk_closure0: function _StructuredClone_walk_closure0(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_AcceptStructuredClone: function _AcceptStructuredClone() {
},
_AcceptStructuredClone_walk_closure: function _AcceptStructuredClone_walk_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_convertDartToNative_Value_closure: function _convertDartToNative_Value_closure(t0) {
this.array = t0;
},
convertDartToNative_Dictionary_closure: function convertDartToNative_Dictionary_closure(t0) {
this.object = t0;
},
_StructuredCloneDart2Js: function _StructuredCloneDart2Js(t0, t1) {
this.values = t0;
this.copies = t1;
},
_AcceptStructuredCloneDart2Js: function _AcceptStructuredCloneDart2Js(t0, t1) {
this.values = t0;
this.copies = t1;
this.mustCopy = false;
},
FilteredElementList: function FilteredElementList(t0, t1) {
this._node = t0;
this._childNodes = t1;
},
FilteredElementList__iterable_closure: function FilteredElementList__iterable_closure() {
},
FilteredElementList__iterable_closure0: function FilteredElementList__iterable_closure0() {
},
FilteredElementList_removeRange_closure: function FilteredElementList_removeRange_closure() {
},
_completeRequest: function(request, $T) {
var t2,
t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>")),
completer = new P._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
request.toString;
t2 = type$.legacy_Event;
W._EventStreamSubscription$(request, "success", new P._completeRequest_closure(request, completer), false, t2);
W._EventStreamSubscription$(request, "error", completer.get$completeError(), false, t2);
return t1;
},
Cursor: function Cursor() {
},
CursorWithValue: function CursorWithValue() {
},
Database: function Database() {
},
_completeRequest_closure: function _completeRequest_closure(t0, t1) {
this.request = t0;
this.completer = t1;
},
Index: function Index() {
},
KeyRange: function KeyRange() {
},
ObjectStore: function ObjectStore() {
},
Observation: function Observation() {
},
VersionChangeEvent: function VersionChangeEvent() {
},
_File__openStdio: function(fd) {
throw H.wrapException(P.UnsupportedError$("File._openStdio"));
},
_Namespace__namespacePointer: function() {
throw H.wrapException(P.UnsupportedError$("_Namespace"));
},
_Platform__numberOfProcessors: function() {
throw H.wrapException(P.UnsupportedError$("Platform._numberOfProcessors"));
},
_Platform__pathSeparator: function() {
throw H.wrapException(P.UnsupportedError$("Platform._pathSeparator"));
},
_Platform__operatingSystem: function() {
throw H.wrapException(P.UnsupportedError$("Platform._operatingSystem"));
},
_Platform__operatingSystemVersion: function() {
throw H.wrapException(P.UnsupportedError$("Platform._operatingSystemVersion"));
},
_Platform__localHostname: function() {
throw H.wrapException(P.UnsupportedError$("Platform._localHostname"));
},
_Platform__executable: function() {
throw H.wrapException(P.UnsupportedError$("Platform._executable"));
},
_Platform__resolvedExecutable: function() {
throw H.wrapException(P.UnsupportedError$("Platform._resolvedExecutable"));
},
_Platform__executableArguments: function() {
throw H.wrapException(P.UnsupportedError$("Platform._executableArguments"));
},
_Platform__environment: function() {
throw H.wrapException(P.UnsupportedError$("Platform._environment"));
},
_Platform__localeName: function() {
throw H.wrapException(P.UnsupportedError$("Platform._localeName"));
},
_Platform__script: function() {
throw H.wrapException(P.UnsupportedError$("Platform._script"));
},
_StdIOUtils__getStdioInputStream: function(fd) {
throw H.wrapException(P.UnsupportedError$("StdIOUtils._getStdioInputStream"));
},
_StdIOUtils__getStdioOutputStream: function(fd) {
throw H.wrapException(P.UnsupportedError$("StdIOUtils._getStdioOutputStream"));
},
_exceptionFromResponse: function(response, message, path) {
var t1 = J.getInterceptor$asx(response);
switch (t1.$index(response, 0)) {
case 1:
return new P.ArgumentError(false, null, null, message + ": " + H.S(path));
case 2:
return new P.FileSystemException(message, path, new P.OSError(t1.$index(response, 2), t1.$index(response, 1)));
case 3:
return new P.FileSystemException("File closed", path, null);
default:
return new P._Exception("Unknown error");
}
},
Directory_Directory: function(path) {
P.IOOverrides_current();
if (path == null)
H.throwExpression(P.ArgumentError$notNull("path"));
return new P._Directory(path, P.FileSystemEntity__toNullTerminatedUtf8Array(C.C_Utf8Encoder.convert$1(path)));
},
File_File: function(path) {
P.IOOverrides_current();
if (path == null)
H.throwExpression(P.ArgumentError$notNull("path"));
return new P._File(path, P.FileSystemEntity__toNullTerminatedUtf8Array(C.C_Utf8Encoder.convert$1(path)));
},
_File__namespacePointer: function() {
return P._Namespace__namespacePointer();
},
_File__dispatchWithNamespace: function(request, data) {
data[0] = P._File__namespacePointer();
},
FileSystemEntity__toNullTerminatedUtf8Array: function(l) {
var t1, tmp;
l.toString;
if (!C.NativeUint8List_methods.get$isEmpty(l) && !J.$eq$(C.NativeUint8List_methods.get$last(l), 0)) {
t1 = l.length;
tmp = new Uint8Array(t1 + 1);
C.NativeUint8List_methods.setRange$3(tmp, 0, t1, l);
return tmp;
} else
return l;
},
IOOverrides_current: function() {
var t1 = $.Zone__current.$index(0, $.$get$_ioOverridesToken());
return t1 == null ? null : t1;
},
Platform_localeName: function() {
return P._Platform_localeName();
},
Platform_executable: function() {
return $.$get$_Platform_executable();
},
Platform_resolvedExecutable: function() {
return $.$get$_Platform_resolvedExecutable();
},
Platform_script: function() {
return P._Platform_script();
},
Platform_executableArguments: function() {
return P._Platform_executableArguments();
},
_Platform_localeName: function() {
var result = P._Platform__localeName();
return result;
},
_Platform_numberOfProcessors: function() {
return P._Platform__numberOfProcessors();
},
_Platform_pathSeparator: function() {
return P._Platform__pathSeparator();
},
_Platform_operatingSystem: function() {
return P._Platform__operatingSystem();
},
_Platform_script: function() {
return P._Platform__script();
},
_Platform_localHostname: function() {
P._Platform__localHostname();
},
_Platform_executableArguments: function() {
return P._Platform__executableArguments();
},
_Platform_environment: function() {
var t1 = $._Platform__environmentCache;
if (t1 == null)
P._Platform__environment();
t1.toString;
return t1;
},
stdin: function() {
var t1 = P._StdIOUtils__getStdioInputStream(0);
$._stdin = t1;
return t1;
},
stdout: function() {
var t1 = P._StdIOUtils__getStdioOutputStream(1);
$._stdout = t1;
return t1;
},
OSError: function OSError(t0, t1) {
this.message = t0;
this.errorCode = t1;
},
_Directory: function _Directory(t0, t1) {
this._path = t0;
this._rawPath = t1;
},
FileMode: function FileMode(t0) {
this._io$_mode = t0;
},
FileSystemException: function FileSystemException(t0, t1, t2) {
this.message = t0;
this.path = t1;
this.osError = t2;
},
_FileStream: function _FileStream(t0, t1, t2, t3) {
var _ = this;
_.___FileStream__controller = $;
_._path = t0;
_.___FileStream__openedFile = $;
_._io$_position = t1;
_._io$_end = t2;
_._closeCompleter = t3;
_._unsubscribed = false;
_._readInProgress = true;
_._atEnd = _._closed = false;
},
_FileStream_listen_closure: function _FileStream_listen_closure(t0) {
this.$this = t0;
},
_FileStream__closeFile_done: function _FileStream__closeFile_done(t0) {
this.$this = t0;
},
_FileStream__readBlock_closure: function _FileStream__readBlock_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_FileStream__readBlock_closure0: function _FileStream__readBlock_closure0(t0) {
this.$this = t0;
},
_FileStream__start_onReady: function _FileStream__start_onReady(t0) {
this.$this = t0;
},
_FileStream__start_onOpenFile: function _FileStream__start_onOpenFile(t0, t1) {
this.$this = t0;
this.onReady = t1;
},
_FileStream__start_onOpenFile_closure: function _FileStream__start_onOpenFile_closure(t0) {
this.$this = t0;
},
_FileStream__start_openFailed: function _FileStream__start_openFailed(t0) {
this.$this = t0;
},
_File: function _File(t0, t1) {
this._path = t0;
this._rawPath = t1;
},
_File_open_closure: function _File_open_closure(t0) {
this.$this = t0;
},
_File_length_closure: function _File_length_closure(t0) {
this.$this = t0;
},
FileSystemEntityType: function FileSystemEntityType(t0) {
this._io$_type = t0;
},
FileSystemEntity: function FileSystemEntity() {
},
_callDartFunction: function(callback, captureThis, $self, $arguments) {
var arguments0, t1;
if (captureThis) {
arguments0 = [$self];
C.JSArray_methods.addAll$1(arguments0, $arguments);
$arguments = arguments0;
}
t1 = type$.dynamic;
return P._convertToJS(P.Function_apply(callback, P.List_List$from(J.map$1$1$ax($arguments, P.js___convertToDart$closure(), t1), true, t1), null));
},
JsArray__checkRange: function(start, end, $length) {
var _null = null;
if (start < 0 || start > $length)
throw H.wrapException(P.RangeError$range(start, 0, $length, _null, _null));
if (end < start || end > $length)
throw H.wrapException(P.RangeError$range(end, start, $length, _null, _null));
},
_castToJsObject: function(o) {
return o;
},
_defineProperty: function(o, $name, value) {
var exception;
try {
if (Object.isExtensible(o) && !Object.prototype.hasOwnProperty.call(o, $name)) {
Object.defineProperty(o, $name, {value: value});
return true;
}
} catch (exception) {
H.unwrapException(exception);
}
return false;
},
_getOwnProperty: function(o, $name) {
if (Object.prototype.hasOwnProperty.call(o, $name))
return o[$name];
return null;
},
_convertToJS: function(o) {
if (o == null || typeof o == "string" || typeof o == "number" || H._isBool(o))
return o;
if (o instanceof P.JsObject)
return o._jsObject;
if (H.isBrowserObject(o))
return o;
if (type$.TypedData._is(o))
return o;
if (o instanceof P.DateTime)
return H.Primitives_lazyAsJsDate(o);
if (type$.Function._is(o))
return P._getJsProxy(o, "$dart_jsFunction", new P._convertToJS_closure());
return P._getJsProxy(o, "_$dart_jsObject", new P._convertToJS_closure0($.$get$_dartProxyCtor()));
},
_getJsProxy: function(o, propertyName, createProxy) {
var jsProxy = P._getOwnProperty(o, propertyName);
if (jsProxy == null) {
jsProxy = createProxy.call$1(o);
P._defineProperty(o, propertyName, jsProxy);
}
return jsProxy;
},
_convertToDart: function(o) {
if (o == null || typeof o == "string" || typeof o == "number" || typeof o == "boolean")
return o;
else if (o instanceof Object && H.isBrowserObject(o))
return o;
else if (o instanceof Object && type$.TypedData._is(o))
return o;
else if (o instanceof Date)
return P.DateTime$fromMillisecondsSinceEpoch(o.getTime(), false);
else if (o.constructor === $.$get$_dartProxyCtor())
return o.o;
else
return P._wrapToDart(o);
},
_wrapToDart: function(o) {
if (typeof o == "function")
return P._getDartProxy(o, $.$get$DART_CLOSURE_PROPERTY_NAME(), new P._wrapToDart_closure());
if (o instanceof Array)
return P._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapToDart_closure0());
return P._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapToDart_closure1());
},
_getDartProxy: function(o, propertyName, createProxy) {
var dartProxy = P._getOwnProperty(o, propertyName);
if (dartProxy == null || !(o instanceof Object)) {
dartProxy = createProxy.call$1(o);
P._defineProperty(o, propertyName, dartProxy);
}
return dartProxy;
},
_convertDartFunctionFast: function(f) {
var ret,
existing = f.$dart_jsFunction;
if (existing != null)
return existing;
ret = function(_call, f) {
return function() {
return _call(f, Array.prototype.slice.apply(arguments));
};
}(P._callDartFunctionFast, f);
ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
f.$dart_jsFunction = ret;
return ret;
},
_callDartFunctionFast: function(callback, $arguments) {
return P.Function_apply(callback, $arguments, null);
},
allowInterop: function(f) {
if (typeof f == "function")
return f;
else
return P._convertDartFunctionFast(f);
},
_convertToJS_closure: function _convertToJS_closure() {
},
_convertToJS_closure0: function _convertToJS_closure0(t0) {
this.ctor = t0;
},
_wrapToDart_closure: function _wrapToDart_closure() {
},
_wrapToDart_closure0: function _wrapToDart_closure0() {
},
_wrapToDart_closure1: function _wrapToDart_closure1() {
},
JsObject: function JsObject(t0) {
this._jsObject = t0;
},
JsFunction: function JsFunction(t0) {
this._jsObject = t0;
},
JsArray: function JsArray(t0, t1) {
this._jsObject = t0;
this.$ti = t1;
},
_JsArray_JsObject_ListMixin: function _JsArray_JsObject_ListMixin() {
},
hasProperty: function(o, $name) {
return $name in o;
},
callMethod: function(o, method, args) {
return o[method].apply(o, args);
},
promiseToFuture: function(jsPromise, $T) {
var t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>")),
completer = new P._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>"));
jsPromise.then(H.convertDartClosureToJS(new P.promiseToFuture_closure(completer), 1), H.convertDartClosureToJS(new P.promiseToFuture_closure0(completer), 1));
return t1;
},
NullRejectionException: function NullRejectionException(t0) {
this.isUndefined = t0;
},
promiseToFuture_closure: function promiseToFuture_closure(t0) {
this.completer = t0;
},
promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
this.completer = t0;
},
max: function(a, b) {
return Math.max(H.checkNum(a), H.checkNum(b));
},
log: function(x) {
return Math.log(x);
},
pow: function(x, exponent) {
H.checkNum(exponent);
return Math.pow(x, exponent);
},
Random_Random: function(seed) {
var t1;
if (seed == null)
t1 = C.C__JSRandom;
else {
t1 = new P._Random();
t1._Random$1(seed);
}
return t1;
},
Rectangle$: function(left, $top, width, height, $T) {
var t1 = width < 0 ? -width * 0 : width,
t2 = height < 0 ? -height * 0 : height;
return new P.Rectangle(left, $top, t1, t2, $T._eval$1("Rectangle<0>"));
},
_JSRandom: function _JSRandom() {
},
_Random: function _Random() {
this._hi = this._lo = 0;
},
Point: function Point(t0, t1, t2) {
this.x = t0;
this.y = t1;
this.$ti = t2;
},
_RectangleBase: function _RectangleBase() {
},
Rectangle: function Rectangle(t0, t1, t2, t3, t4) {
var _ = this;
_.left = t0;
_.top = t1;
_.width = t2;
_.height = t3;
_.$ti = t4;
},
Angle: function Angle() {
},
Length: function Length() {
},
LengthList: function LengthList() {
},
Number: function Number() {
},
NumberList: function NumberList() {
},
PointList: function PointList() {
},
Rect0: function Rect0() {
},
ScriptElement0: function ScriptElement0() {
},
StringList: function StringList() {
},
SvgElement: function SvgElement() {
},
Transform0: function Transform0() {
},
TransformList: function TransformList() {
},
_LengthList_Interceptor_ListMixin: function _LengthList_Interceptor_ListMixin() {
},
_LengthList_Interceptor_ListMixin_ImmutableListMixin: function _LengthList_Interceptor_ListMixin_ImmutableListMixin() {
},
_NumberList_Interceptor_ListMixin: function _NumberList_Interceptor_ListMixin() {
},
_NumberList_Interceptor_ListMixin_ImmutableListMixin: function _NumberList_Interceptor_ListMixin_ImmutableListMixin() {
},
_StringList_Interceptor_ListMixin: function _StringList_Interceptor_ListMixin() {
},
_StringList_Interceptor_ListMixin_ImmutableListMixin: function _StringList_Interceptor_ListMixin_ImmutableListMixin() {
},
_TransformList_Interceptor_ListMixin: function _TransformList_Interceptor_ListMixin() {
},
_TransformList_Interceptor_ListMixin_ImmutableListMixin: function _TransformList_Interceptor_ListMixin_ImmutableListMixin() {
},
Endian: function Endian() {
},
PictureRecorder_PictureRecorder: function() {
return new H.EnginePictureRecorder();
},
Canvas_Canvas: function(recorder, cullRect) {
type$.EnginePictureRecorder._as(recorder);
if (recorder._isRecording)
H.throwExpression(P.ArgumentError$('"recorder" must not already be associated with another Canvas.'));
return new H.SurfaceCanvas(recorder.beginRecording$1(0, cullRect == null ? C.Rect_aha : cullRect));
},
SceneBuilder_SceneBuilder: function() {
var t1 = H.setRuntimeTypeInfo([], type$.JSArray_PersistedContainerSurface),
t2 = $.SurfaceSceneBuilder__lastFrameScene,
t3 = H.setRuntimeTypeInfo([], type$.JSArray_PersistedSurface);
t2 = t2 != null && t2.__engine$_state === C.PersistedSurfaceState_1 ? t2 : null;
t2 = new H.FrameReference(t2, type$.FrameReference_PersistedSurface);
$._frameReferences.push(t2);
t2 = new H.PersistedScene(t3, t2, C.PersistedSurfaceState_0);
t2.__engine$_transform = H.Matrix4$identity();
t1.push(t2);
return new H.SurfaceSceneBuilder(t1);
},
Offset_lerp: function(a, b, t) {
if (b == null)
if (a == null)
return null;
else
return a.$mul(0, 1 - t);
else if (a == null)
return b.$mul(0, t);
else
return new P.Offset(P._lerpDouble(a._dx, b._dx, t), P._lerpDouble(a._dy, b._dy, t));
},
Size_lerp: function(a, b, t) {
if (b == null)
if (a == null)
return null;
else
return a.$mul(0, 1 - t);
else if (a == null)
return b.$mul(0, t);
else
return new P.Size(P._lerpDouble(a._dx, b._dx, t), P._lerpDouble(a._dy, b._dy, t));
},
Rect$fromCircle: function(center, radius) {
var t1 = center._dx,
t2 = radius * 2 / 2,
t3 = center._dy;
return new P.Rect(t1 - t2, t3 - t2, t1 + t2, t3 + t2);
},
Rect$fromCenter: function(center, height, width) {
var t1 = center._dx,
t2 = width / 2,
t3 = center._dy,
t4 = height / 2;
return new P.Rect(t1 - t2, t3 - t4, t1 + t2, t3 + t4);
},
Rect$fromPoints: function(a, b) {
var t1 = a._dx,
t2 = b._dx,
t3 = Math.min(H.checkNum(t1), H.checkNum(t2)),
t4 = a._dy,
t5 = b._dy;
return new P.Rect(t3, Math.min(H.checkNum(t4), H.checkNum(t5)), Math.max(H.checkNum(t1), H.checkNum(t2)), Math.max(H.checkNum(t4), H.checkNum(t5)));
},
Rect_lerp: function(a, b, t) {
var k, t1, t2, t3, t4;
if (b == null)
if (a == null)
return null;
else {
k = 1 - t;
return new P.Rect(a.left * k, a.top * k, a.right * k, a.bottom * k);
}
else {
t1 = b.left;
t2 = b.top;
t3 = b.right;
t4 = b.bottom;
if (a == null)
return new P.Rect(t1 * t, t2 * t, t3 * t, t4 * t);
else
return new P.Rect(P._lerpDouble(a.left, t1, t), P._lerpDouble(a.top, t2, t), P._lerpDouble(a.right, t3, t), P._lerpDouble(a.bottom, t4, t));
}
},
Radius_lerp: function(a, b, t) {
var k, t1, t2;
if (b == null)
if (a == null)
return null;
else {
k = 1 - t;
return new P.Radius(a.x * k, a.y * k);
}
else {
t1 = b.x;
t2 = b.y;
if (a == null)
return new P.Radius(t1 * t, t2 * t);
else
return new P.Radius(P._lerpDouble(a.x, t1, t), P._lerpDouble(a.y, t2, t));
}
},
RRect$fromRectAndRadius: function(rect, radius) {
var t1 = radius.x,
t2 = radius.y,
t3 = rect.bottom,
t4 = rect.left,
t5 = rect.right;
return new P.RRect(t4, rect.top, t5, t3, t1, t2, t1, t2, t1, t2, t1, t2, t1 == t2);
},
RRect$fromRectAndCorners: function(rect, bottomLeft, bottomRight, topLeft, topRight) {
var t1 = bottomLeft.x,
t2 = bottomLeft.y,
t3 = rect.bottom,
t4 = bottomRight.x,
t5 = bottomRight.y,
t6 = rect.left,
t7 = rect.right,
t8 = topLeft.x,
t9 = topLeft.y,
t10 = rect.top,
t11 = topRight.x,
t12 = topRight.y;
return new P.RRect(t6, t10, t7, t3, t8, t9, t11, t12, t4, t5, t1, t2, t8 == t9 && t8 == t11 && t8 == t12 && t8 == t1 && t8 == t2 && t8 == t4 && t8 == t5);
},
_Jenkins_combine: function(hash, o) {
hash = hash + J.get$hashCode$(o) & 536870911;
hash = hash + ((hash & 524287) << 10) & 536870911;
return hash ^ hash >>> 6;
},
_Jenkins_finish: function(hash) {
hash = hash + ((hash & 67108863) << 3) & 536870911;
hash ^= hash >>> 11;
return hash + ((hash & 16383) << 15) & 536870911;
},
hashValues: function(arg01, arg02, arg03, arg04, arg05, arg06, arg07, arg08, arg09, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
var result = P._Jenkins_combine(P._Jenkins_combine(0, arg01), arg02);
if (!J.$eq$(arg03, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg03);
if (!J.$eq$(arg04, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg04);
if (!J.$eq$(arg05, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg05);
if (!J.$eq$(arg06, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg06);
if (!J.$eq$(arg07, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg07);
if (!J.$eq$(arg08, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg08);
if (!J.$eq$(arg09, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg09);
if (!J.$eq$(arg10, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg10);
if (!J.$eq$(arg11, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg11);
if (!J.$eq$(arg12, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg12);
if (!J.$eq$(arg13, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg13);
if (!J.$eq$(arg14, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg14);
if (!J.$eq$(arg15, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg15);
if (!J.$eq$(arg16, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg16);
if (!J.$eq$(arg17, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg17);
if (!J.$eq$(arg18, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg18);
if (!J.$eq$(arg19, C.C__HashEnd)) {
result = P._Jenkins_combine(result, arg19);
if (!J.$eq$(arg20, C.C__HashEnd))
result = P._Jenkins_combine(result, arg20);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return P._Jenkins_finish(result);
},
hashList: function($arguments) {
var t1, result, _i;
if ($arguments != null)
for (t1 = $arguments.length, result = 0, _i = 0; _i < $arguments.length; $arguments.length === t1 || (0, H.throwConcurrentModificationError)($arguments), ++_i)
result = P._Jenkins_combine(result, $arguments[_i]);
else
result = 0;
return P._Jenkins_finish(result);
},
webOnlyInitializePlatform: function() {
var initializationFuture = P._initializePlatform(null);
P.scheduleMicrotask(new P.webOnlyInitializePlatform_closure());
return initializationFuture;
},
_initializePlatform: function(assetManager) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.void),
t1;
var $async$_initializePlatform = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
H.initializeEngine();
$async$goto = 2;
return P._asyncAwait(P.webOnlySetAssetManager(C.C_AssetManager), $async$_initializePlatform);
case 2:
// returning from await.
t1 = $._fontCollection;
$async$goto = 3;
return P._asyncAwait(t1.ensureFontsLoaded$0(), $async$_initializePlatform);
case 3:
// returning from await.
// implicit return
return P._asyncReturn(null, $async$completer);
}
});
return P._asyncStartSync($async$_initializePlatform, $async$completer);
},
webOnlySetAssetManager: function(assetManager) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.void),
$async$returnValue, t1, t2;
var $async$webOnlySetAssetManager = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
if (assetManager === $._assetManager) {
// goto return
$async$goto = 1;
break;
}
$._assetManager = assetManager;
t1 = $._fontCollection;
(t1 == null ? $._fontCollection = new H.FontCollection() : t1).clear$0(0);
t1 = $._assetManager;
$async$goto = t1 != null ? 3 : 4;
break;
case 3:
// then
t2 = $._fontCollection;
$async$goto = 5;
return P._asyncAwait(t2.registerFonts$1(t1), $async$webOnlySetAssetManager);
case 5:
// returning from await.
case 4:
// join
case 1:
// return
return P._asyncReturn($async$returnValue, $async$completer);
}
});
return P._asyncStartSync($async$webOnlySetAssetManager, $async$completer);
},
KeyData__typeToString: function(type) {
switch (type) {
case C.KeyEventType_1:
return "up";
case C.KeyEventType_0:
return "down";
case C.KeyEventType_2:
return "repeat";
default:
throw H.wrapException(H.ReachabilityError$(string$.x60null_c));
}
},
lerpDouble: function(a, b, t) {
var t1;
if (a != b)
if ((a == null ? null : isNaN(a)) === true)
t1 = (b == null ? null : isNaN(b)) === true;
else
t1 = false;
else
t1 = true;
if (t1)
return a == null ? null : a;
if (a == null)
a = 0;
if (b == null)
b = 0;
return a * (1 - t) + b * t;
},
_lerpDouble: function(a, b, t) {
return a * (1 - t) + b * t;
},
_lerpInt: function(a, b, t) {
return a * (1 - t) + b * t;
},
_scaleAlpha: function(a, factor) {
return P.Color$fromARGB(H.clampInt(C.JSNumber_methods.round$0((a.get$value(a) >>> 24 & 255) * factor), 0, 255), a.get$value(a) >>> 16 & 255, a.get$value(a) >>> 8 & 255, a.get$value(a) & 255);
},
Color$fromARGB: function(a, r, g, b) {
return new P.Color(((a & 255) << 24 | (r & 255) << 16 | (g & 255) << 8 | b & 255) >>> 0);
},
Color__linearizeColorComponent: function(component) {
if (component <= 0.03928)
return component / 12.92;
return Math.pow((component + 0.055) / 1.055, 2.4);
},
Color_lerp: function(a, b, t) {
if (b == null)
if (a == null)
return null;
else
return P._scaleAlpha(a, 1 - t);
else if (a == null)
return P._scaleAlpha(b, t);
else
return P.Color$fromARGB(H.clampInt(C.JSNumber_methods.toInt$0(P._lerpInt(a.get$value(a) >>> 24 & 255, b.get$value(b) >>> 24 & 255, t)), 0, 255), H.clampInt(C.JSNumber_methods.toInt$0(P._lerpInt(a.get$value(a) >>> 16 & 255, b.get$value(b) >>> 16 & 255, t)), 0, 255), H.clampInt(C.JSNumber_methods.toInt$0(P._lerpInt(a.get$value(a) >>> 8 & 255, b.get$value(b) >>> 8 & 255, t)), 0, 255), H.clampInt(C.JSNumber_methods.toInt$0(P._lerpInt(a.get$value(a) & 255, b.get$value(b) & 255, t)), 0, 255));
},
Color_alphaBlend: function(foreground, background) {
var invAlpha, backAlpha, outAlpha,
alpha = foreground.get$value(foreground) >>> 24 & 255;
if (alpha === 0)
return background;
invAlpha = 255 - alpha;
backAlpha = background.get$value(background) >>> 24 & 255;
if (backAlpha === 255)
return P.Color$fromARGB(255, C.JSInt_methods._tdivFast$1(alpha * (foreground.get$value(foreground) >>> 16 & 255) + invAlpha * (background.get$value(background) >>> 16 & 255), 255), C.JSInt_methods._tdivFast$1(alpha * (foreground.get$value(foreground) >>> 8 & 255) + invAlpha * (background.get$value(background) >>> 8 & 255), 255), C.JSInt_methods._tdivFast$1(alpha * (foreground.get$value(foreground) & 255) + invAlpha * (background.get$value(background) & 255), 255));
else {
backAlpha = C.JSInt_methods._tdivFast$1(backAlpha * invAlpha, 255);
outAlpha = alpha + backAlpha;
return P.Color$fromARGB(outAlpha, C.JSInt_methods.$tdiv((foreground.get$value(foreground) >>> 16 & 255) * alpha + (background.get$value(background) >>> 16 & 255) * backAlpha, outAlpha), C.JSInt_methods.$tdiv((foreground.get$value(foreground) >>> 8 & 255) * alpha + (background.get$value(background) >>> 8 & 255) * backAlpha, outAlpha), C.JSInt_methods.$tdiv((foreground.get$value(foreground) & 255) * alpha + (background.get$value(background) & 255) * backAlpha, outAlpha));
}
},
Gradient_Gradient$linear: function(from, to, colors, colorStops, tileMode) {
var t1 = new H.GradientLinear(from, to, colors, colorStops, tileMode, null);
return t1;
},
instantiateImageCodec: function(list, allowUpscaling, targetHeight, targetWidth) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.Codec),
$async$returnValue, t1;
var $async$instantiateImageCodec = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
t1 = (self.URL || self.webkitURL).createObjectURL(W.Blob_Blob([J.get$buffer$x(list)]));
$async$returnValue = new H.HtmlBlobCodec(t1, null);
// goto return
$async$goto = 1;
break;
case 1:
// return
return P._asyncReturn($async$returnValue, $async$completer);
}
});
return P._asyncStartSync($async$instantiateImageCodec, $async$completer);
},
webOnlyInstantiateImageCodecFromUrl: function(uri, chunkCallback) {
var t1 = P._futurize(new P.webOnlyInstantiateImageCodecFromUrl_closure(uri, chunkCallback), type$.Codec);
return t1;
},
Path_Path: function() {
var t1 = H.SurfacePath$();
return t1;
},
PlatformConfiguration$: function(accessibilityFeatures, alwaysUse24HourFormat, defaultRouteName, locales, platformBrightness, semanticsEnabled, textScaleFactor) {
return new P.PlatformConfiguration(accessibilityFeatures, false, semanticsEnabled, platformBrightness, textScaleFactor, locales, defaultRouteName);
},
ViewConfiguration$: function() {
return new P.ViewConfiguration();
},
PointerData$: function(buttons, change, device, distance, distanceMax, kind, obscured, orientation, physicalDeltaX, physicalDeltaY, physicalX, physicalY, platformData, pointerIdentifier, pressure, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, scrollDeltaX, scrollDeltaY, signalKind, size, synthesized, tilt, timeStamp) {
return new P.PointerData(timeStamp, change, kind, signalKind, device, pointerIdentifier, physicalX, physicalY, physicalDeltaX, physicalDeltaY, buttons, false, synthesized, pressure, pressureMin, pressureMax, distance, distanceMax, size, radiusMajor, radiusMinor, radiusMin, radiusMax, orientation, tilt, platformData, scrollDeltaX, scrollDeltaY);
},
FontWeight_lerp: function(a, b, t) {
var t2,
t1 = a == null;
if (t1 && b == null)
return null;
t1 = t1 ? null : a.index;
if (t1 == null)
t1 = 3;
t2 = b == null ? null : b.index;
t1 = P.lerpDouble(t1, t2 == null ? 3 : t2, t);
t1.toString;
return C.List_27p[H.clampInt(C.JSNumber_methods.round$0(t1), 0, 8)];
},
TextStyle_TextStyle: function(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontWeight, foreground, height, leadingDistribution, letterSpacing, locale, shadows, textBaseline, wordSpacing) {
var t1 = H.EngineTextStyle$only(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontWeight, foreground, height, letterSpacing, locale, shadows, textBaseline, wordSpacing);
return t1;
},
ParagraphStyle_ParagraphStyle: function(ellipsis, fontFamily, fontSize, fontStyle, fontWeight, height, locale, maxLines, strutStyle, textAlign, textDirection, textHeightBehavior) {
return new H.EngineParagraphStyle(textAlign, textDirection, fontWeight, fontStyle, maxLines, fontFamily, fontSize, height, textHeightBehavior, strutStyle, ellipsis, locale);
},
ParagraphBuilder_ParagraphBuilder: function(style) {
var t3, strutFontFamilies, t4, cssStyle,
t1 = type$.EngineParagraphStyle,
t2 = type$.JSArray_double;
if ($.WebExperiments_instance._useCanvasRichText) {
t1._as(style);
return new H.CanvasParagraphBuilder(new P.StringBuffer(""), style, H.setRuntimeTypeInfo([], type$.JSArray_ParagraphSpan), H.setRuntimeTypeInfo([], type$.JSArray_StyleNode), new H.RootStyleNode(style), H.setRuntimeTypeInfo([], t2));
} else {
t1._as(style);
t1 = type$.HtmlElement._as($.$get$domRenderer().createElement$1(0, "p"));
t2 = H.setRuntimeTypeInfo([], t2);
t3 = style._strutStyle;
if (t3 != null) {
strutFontFamilies = H.setRuntimeTypeInfo([], type$.JSArray_nullable_String);
t4 = t3._fontFamily;
if (t4 != null)
strutFontFamilies.push(t4);
t3 = t3._fontFamilyFallback;
if (t3 != null)
C.JSArray_methods.addAll$1(strutFontFamilies, t3);
}
cssStyle = t1.style;
t3 = style._textAlign;
if (t3 != null) {
t4 = style._textDirection;
t3 = H.textAlignToCssValue(t3, t4 == null ? C.TextDirection_1 : t4);
cssStyle.textAlign = t3;
}
if (style.get$_lineHeight(style) != null) {
t3 = H.S(style.get$_lineHeight(style));
cssStyle.lineHeight = t3;
}
t3 = style._textDirection;
if (t3 != null) {
t3 = H._textDirectionToCss(t3);
cssStyle.toString;
cssStyle.direction = t3 == null ? "" : t3;
}
t3 = style.__engine$_fontSize;
if (t3 != null) {
t3 = "" + C.JSNumber_methods.floor$0(t3) + "px";
cssStyle.fontSize = t3;
}
t3 = style._fontWeight;
if (t3 != null) {
t3 = H.fontWeightToCss(t3);
cssStyle.toString;
cssStyle.fontWeight = t3 == null ? "" : t3;
}
t3 = style._fontStyle;
if (t3 != null) {
t3 = t3 === C.FontStyle_0 ? "normal" : "italic";
cssStyle.fontStyle = t3;
}
t3 = H.canonicalizeFontFamily(style.get$_effectiveFontFamily());
cssStyle.toString;
cssStyle.fontFamily = t3 == null ? "" : t3;
return new H.DomParagraphBuilder(t1, style, [], t2);
}
},
PluginUtilities_getCallbackHandle: function(callback) {
throw H.wrapException(P.UnimplementedError$(null));
},
PluginUtilities_getCallbackFromHandle: function(handle) {
throw H.wrapException(P.UnimplementedError$(null));
},
handlePlatformViewCall: function(data, callback) {
var id, t1, t2,
decoded = C.C_StandardMethodCodec0.decodeMethodCall$1(data);
switch (decoded.method) {
case "create":
P._createPlatformView(decoded, callback);
return;
case "dispose":
id = decoded.$arguments;
t1 = $.$get$platformViewRegistry()._createdViews;
t2 = t1.$index(0, id);
if (t2 != null)
J.remove$0$ax(t2);
t1.remove$1(0, id);
callback.call$1(C.C_StandardMethodCodec0.encodeSuccessEnvelope$1(null));
return;
}
callback.call$1(null);
},
_createPlatformView: function(methodCall, callback) {
var platformViewFactory, element,
args = methodCall.$arguments,
t1 = J.getInterceptor$asx(args),
id = t1.$index(args, "id"),
viewType = t1.$index(args, "viewType");
t1 = $.$get$platformViewRegistry();
platformViewFactory = t1.registeredFactories.$index(0, viewType);
if (platformViewFactory == null) {
callback.call$1(C.C_StandardMethodCodec0.encodeErrorEnvelope$2$code$message("Unregistered factory", "No factory registered for viewtype '" + H.S(viewType) + "'"));
return;
}
element = platformViewFactory.call$1(id);
t1._createdViews.$indexSet(0, id, element);
callback.call$1(C.C_StandardMethodCodec0.encodeSuccessEnvelope$1(null));
},
_futurize: function(callbacker, $T) {
var t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>")),
error = callbacker.call$1(new P._futurize_closure(new P._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>")), $T));
if (error != null)
throw H.wrapException(P.Exception_Exception(error));
return t1;
},
ClipOp: function ClipOp(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
PathFillType: function PathFillType(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
_StoredMessage: function _StoredMessage(t0, t1, t2) {
this.data = t0;
this._callback = t1;
this._ui$_zone = t2;
},
_Channel: function _Channel(t0, t1) {
this._ui$_queue = t0;
this.debugEnableDiscardWarnings = true;
this._capacity = t1;
},
ChannelBuffers: function ChannelBuffers(t0) {
this._channels = t0;
},
ChannelBuffers_push_closure: function ChannelBuffers_push_closure() {
},
OffsetBase: function OffsetBase() {
},
Offset: function Offset(t0, t1) {
this._dx = t0;
this._dy = t1;
},
Size: function Size(t0, t1) {
this._dx = t0;
this._dy = t1;
},
Rect: function Rect(t0, t1, t2, t3) {
var _ = this;
_.left = t0;
_.top = t1;
_.right = t2;
_.bottom = t3;
},
Radius: function Radius(t0, t1) {
this.x = t0;
this.y = t1;
},
RRect: function RRect(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
var _ = this;
_.left = t0;
_.top = t1;
_.right = t2;
_.bottom = t3;
_.tlRadiusX = t4;
_.tlRadiusY = t5;
_.trRadiusX = t6;
_.trRadiusY = t7;
_.brRadiusX = t8;
_.brRadiusY = t9;
_.blRadiusX = t10;
_.blRadiusY = t11;
_.webOnlyUniformRadii = t12;
},
_HashEnd: function _HashEnd() {
},
webOnlyInitializePlatform_closure: function webOnlyInitializePlatform_closure() {
},
KeyEventType: function KeyEventType(t0) {
this._ui$_name = t0;
},
KeyData: function KeyData(t0, t1, t2, t3) {
var _ = this;
_.type = t0;
_.physical = t1;
_.logical = t2;
_.character = t3;
},
Color: function Color(t0) {
this.value = t0;
},
StrokeCap: function StrokeCap(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
StrokeJoin: function StrokeJoin(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
PaintingStyle: function PaintingStyle(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
BlendMode: function BlendMode(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
Clip: function Clip(t0) {
this._ui$_name = t0;
},
BlurStyle: function BlurStyle(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
MaskFilter: function MaskFilter(t0, t1) {
this._ui$_style = t0;
this._sigma = t1;
},
FilterQuality: function FilterQuality(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
webOnlyInstantiateImageCodecFromUrl_closure: function webOnlyInstantiateImageCodecFromUrl_closure(t0, t1) {
this.uri = t0;
this.chunkCallback = t1;
},
Shadow: function Shadow() {
},
PlatformDispatcher: function PlatformDispatcher() {
},
PlatformConfiguration: function PlatformConfiguration(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.accessibilityFeatures = t0;
_.alwaysUse24HourFormat = t1;
_.semanticsEnabled = t2;
_.platformBrightness = t3;
_.textScaleFactor = t4;
_.locales = t5;
_.defaultRouteName = t6;
},
ViewConfiguration: function ViewConfiguration() {
},
FrameTiming: function FrameTiming(t0) {
this._timestamps = t0;
},
AppLifecycleState: function AppLifecycleState(t0) {
this._ui$_name = t0;
},
Locale: function Locale(t0, t1) {
this._languageCode = t0;
this._countryCode = t1;
},
PointerChange: function PointerChange(t0) {
this._ui$_name = t0;
},
PointerDeviceKind: function PointerDeviceKind(t0) {
this._ui$_name = t0;
},
PointerSignalKind: function PointerSignalKind(t0) {
this._ui$_name = t0;
},
PointerData: function PointerData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27) {
var _ = this;
_.timeStamp = t0;
_.change = t1;
_.kind = t2;
_.signalKind = t3;
_.device = t4;
_.pointerIdentifier = t5;
_.physicalX = t6;
_.physicalY = t7;
_.physicalDeltaX = t8;
_.physicalDeltaY = t9;
_.buttons = t10;
_.obscured = t11;
_.synthesized = t12;
_.pressure = t13;
_.pressureMin = t14;
_.pressureMax = t15;
_.distance = t16;
_.distanceMax = t17;
_.size = t18;
_.radiusMajor = t19;
_.radiusMinor = t20;
_.radiusMin = t21;
_.radiusMax = t22;
_.orientation = t23;
_.tilt = t24;
_.platformData = t25;
_.scrollDeltaX = t26;
_.scrollDeltaY = t27;
},
PointerDataPacket: function PointerDataPacket(t0) {
this.data = t0;
},
SemanticsAction: function SemanticsAction(t0) {
this.index = t0;
},
SemanticsFlag: function SemanticsFlag(t0) {
this.index = t0;
},
SemanticsUpdateBuilder: function SemanticsUpdateBuilder(t0) {
this._nodeUpdates = t0;
},
FontStyle: function FontStyle(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
PlaceholderAlignment: function PlaceholderAlignment(t0) {
this._ui$_name = t0;
},
FontWeight: function FontWeight(t0) {
this.index = t0;
},
FontFeature: function FontFeature() {
},
TextAlign: function TextAlign(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
TextBaseline: function TextBaseline(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
TextDecoration: function TextDecoration(t0) {
this._mask = t0;
},
TextDecorationStyle: function TextDecorationStyle(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
TextDirection: function TextDirection(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
TextBox: function TextBox(t0, t1, t2, t3, t4) {
var _ = this;
_.left = t0;
_.top = t1;
_.right = t2;
_.bottom = t3;
_.direction = t4;
},
TextAffinity: function TextAffinity(t0) {
this._ui$_name = t0;
},
TextPosition: function TextPosition(t0, t1) {
this.offset = t0;
this.affinity = t1;
},
TextRange: function TextRange(t0, t1) {
this.start = t0;
this.end = t1;
},
ParagraphConstraints: function ParagraphConstraints(t0) {
this.width = t0;
},
BoxHeightStyle: function BoxHeightStyle(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
BoxWidthStyle: function BoxWidthStyle() {
},
TileMode: function TileMode(t0, t1) {
this.index = t0;
this._ui$_name = t1;
},
FlutterView: function FlutterView() {
},
FlutterWindow: function FlutterWindow() {
},
SingletonFlutterWindow: function SingletonFlutterWindow() {
},
AccessibilityFeatures: function AccessibilityFeatures() {
},
Brightness: function Brightness(t0) {
this._ui$_name = t0;
},
CallbackHandle: function CallbackHandle(t0) {
this._ui$_handle = t0;
},
PlatformViewRegistry: function PlatformViewRegistry(t0, t1) {
this.registeredFactories = t0;
this._createdViews = t1;
},
_futurize_closure: function _futurize_closure(t0, t1) {
this.completer = t0;
this.T = t1;
},
AudioBuffer: function AudioBuffer() {
},
AudioParam: function AudioParam() {
},
AudioParamMap: function AudioParamMap() {
},
AudioParamMap_keys_closure: function AudioParamMap_keys_closure(t0) {
this.keys = t0;
},
AudioParamMap_values_closure: function AudioParamMap_values_closure(t0) {
this.values = t0;
},
AudioTrack: function AudioTrack() {
},
AudioTrackList: function AudioTrackList() {
},
BaseAudioContext: function BaseAudioContext() {
},
OfflineAudioContext: function OfflineAudioContext() {
},
_AudioParamMap_Interceptor_MapMixin: function _AudioParamMap_Interceptor_MapMixin() {
},
ActiveInfo: function ActiveInfo() {
},
SqlResultSetRowList: function SqlResultSetRowList() {
},
_SqlResultSetRowList_Interceptor_ListMixin: function _SqlResultSetRowList_Interceptor_ListMixin() {
},
_SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin: function _SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin() {
}
},
W = {
window: function() {
return window;
},
document: function() {
return document;
},
AnchorElement_AnchorElement: function(href) {
var e = document.createElement("a");
if (href != null)
e.href = href;
return e;
},
Blob_Blob: function(blobParts) {
var t1 = new self.Blob(blobParts);
return t1;
},
CanvasElement_CanvasElement: function(height, width) {
var e = document.createElement("canvas");
if (width != null)
e.width = width;
if (height != null)
e.height = height;
return e;
},
_ChildrenElementList__addAll: function(_element, iterable) {
var t1;
for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
_element.appendChild(t1.get$current(t1));
},
_ChildrenElementList__remove: function(_element, object) {
if (type$.Element._is(object))
if (object.parentNode === _element) {
_element.removeChild(object);
return true;
}
return false;
},
_ChildrenElementList__first: function(_element) {
var result = _element.firstElementChild;
if (result == null)
throw H.wrapException(P.StateError$("No elements"));
return result;
},
Element_Element$html: function(html, treeSanitizer, validator) {
var fragment,
t1 = document.body;
t1.toString;
fragment = C.BodyElement_methods.createFragment$3$treeSanitizer$validator(t1, html, treeSanitizer, validator);
fragment.toString;
t1 = new H.WhereIterable(new W._ChildNodeListLazy(fragment), new W.Element_Element$html_closure(), type$._ChildNodeListLazy._eval$1("WhereIterable"));
return type$.Element._as(t1.get$single(t1));
},
Element_Element$tag: function(tag) {
return W._ElementFactoryProvider_createElement_tag(tag, null);
},
Element__safeTagName: function(element) {
var t1, exception,
result = "element tag unavailable";
try {
t1 = J.getInterceptor$x(element);
if (typeof t1.get$tagName(element) == "string")
result = t1.get$tagName(element);
} catch (exception) {
H.unwrapException(exception);
}
return result;
},
_ElementFactoryProvider_createElement_tag: function(tag, typeExtension) {
return document.createElement(tag);
},
FontFace_FontFace: function(family, source, descriptors) {
var t1 = new FontFace(family, source, P.convertDartToNative_Dictionary(descriptors));
return t1;
},
HttpRequest_request: function(url, responseType) {
var t2,
t1 = new P._Future($.Zone__current, type$._Future_HttpRequest),
completer = new P._AsyncCompleter(t1, type$._AsyncCompleter_HttpRequest),
xhr = new XMLHttpRequest();
C.HttpRequest_methods.open$3$async(xhr, "GET", url, true);
xhr.responseType = responseType;
t2 = type$.legacy_ProgressEvent;
W._EventStreamSubscription$(xhr, "load", new W.HttpRequest_request_closure(xhr, completer), false, t2);
W._EventStreamSubscription$(xhr, "error", completer.get$completeError(), false, t2);
xhr.send();
return t1;
},
ImageElement_ImageElement: function() {
var e = document.createElement("img");
return e;
},
InputElement_InputElement: function(type) {
var exception,
t1 = document.createElement("input"),
e = type$.InputElement._as(t1);
if (type != null)
try {
e.type = type;
} catch (exception) {
H.unwrapException(exception);
}
return e;
},
_JenkinsSmiHash_combine: function(hash, value) {
hash = hash + value & 536870911;
hash = hash + ((hash & 524287) << 10) & 536870911;
return hash ^ hash >>> 6;
},
_JenkinsSmiHash_hash4: function(a, b, c, d) {
var t1 = W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(0, a), b), c), d),
hash = t1 + ((t1 & 67108863) << 3) & 536870911;
hash ^= hash >>> 11;
return hash + ((hash & 16383) << 15) & 536870911;
},
_EventStreamSubscription$: function(_target, _eventType, onData, _useCapture, $T) {
var t1 = onData == null ? null : W._wrapZone(new W._EventStreamSubscription_closure(onData), type$.Event);
t1 = new W._EventStreamSubscription(_target, _eventType, t1, false, $T._eval$1("_EventStreamSubscription<0>"));
t1._tryResume$0();
return t1;
},
_Html5NodeValidator$: function(uriPolicy) {
var t1 = W.AnchorElement_AnchorElement(null),
t2 = window.location;
t1 = new W._Html5NodeValidator(new W._SameOriginUriPolicy(t1, t2));
t1._Html5NodeValidator$1$uriPolicy(uriPolicy);
return t1;
},
_Html5NodeValidator__standardAttributeValidator: function(element, attributeName, value, context) {
return true;
},
_Html5NodeValidator__uriAttributeValidator: function(element, attributeName, value, context) {
var t3,
t1 = context.uriPolicy,
t2 = t1._hiddenAnchor;
t2.href = value;
t3 = t2.hostname;
t1 = t1._loc;
if (!(t3 == t1.hostname && t2.port == t1.port && t2.protocol == t1.protocol))
if (t3 === "")
if (t2.port === "") {
t1 = t2.protocol;
t1 = t1 === ":" || t1 === "";
} else
t1 = false;
else
t1 = false;
else
t1 = true;
return t1;
},
_TemplatingNodeValidator$: function() {
var t1 = type$.String,
t2 = P.LinkedHashSet_LinkedHashSet$from(C.List_wSV, t1),
t3 = H.setRuntimeTypeInfo(["TEMPLATE"], type$.JSArray_String);
t1 = new W._TemplatingNodeValidator(t2, P.LinkedHashSet_LinkedHashSet(t1), P.LinkedHashSet_LinkedHashSet(t1), P.LinkedHashSet_LinkedHashSet(t1), null);
t1._SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes(null, new H.MappedListIterable(C.List_wSV, new W._TemplatingNodeValidator_closure(), type$.MappedListIterable_of_legacy_String_and_String), t3, null);
return t1;
},
_convertNativeToDart_EventTarget: function(e) {
var $window;
if ("postMessage" in e) {
$window = W._DOMWindowCrossFrame__createSafe(e);
if (type$.EventTarget._is($window))
return $window;
return null;
} else
return e;
},
_convertNativeToDart_XHR_Response: function(o) {
if (type$.Document._is(o))
return o;
return new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(o, true);
},
_DOMWindowCrossFrame__createSafe: function(w) {
if (w === window)
return w;
else
return new W._DOMWindowCrossFrame(w);
},
_wrapZone: function(callback, $T) {
var t1 = $.Zone__current;
if (t1 === C.C__RootZone)
return callback;
return t1.bindUnaryCallbackGuarded$1$1(callback, $T);
},
querySelector: function(selectors) {
return document.querySelector(selectors);
},
HtmlElement: function HtmlElement() {
},
AccessibleNodeList: function AccessibleNodeList() {
},
AnchorElement: function AnchorElement() {
},
Animation: function Animation() {
},
AreaElement: function AreaElement() {
},
BackgroundFetchEvent: function BackgroundFetchEvent() {
},
BackgroundFetchRegistration: function BackgroundFetchRegistration() {
},
BaseElement: function BaseElement() {
},
BeforeUnloadEvent: function BeforeUnloadEvent() {
},
Blob: function Blob() {
},
BluetoothRemoteGattDescriptor: function BluetoothRemoteGattDescriptor() {
},
BodyElement: function BodyElement() {
},
BroadcastChannel: function BroadcastChannel() {
},
ButtonElement: function ButtonElement() {
},
CanvasElement: function CanvasElement() {
},
CanvasElement_toBlob_closure: function CanvasElement_toBlob_closure(t0) {
this.completer = t0;
},
CanvasRenderingContext2D: function CanvasRenderingContext2D() {
},
CharacterData: function CharacterData() {
},
Client: function Client() {
},
Credential: function Credential() {
},
CredentialUserData: function CredentialUserData() {
},
CssKeyframesRule: function CssKeyframesRule() {
},
CssKeywordValue: function CssKeywordValue() {
},
CssNumericValue: function CssNumericValue() {
},
CssPerspective: function CssPerspective() {
},
CssRule: function CssRule() {
},
CssStyleDeclaration: function CssStyleDeclaration() {
},
CssStyleDeclarationBase: function CssStyleDeclarationBase() {
},
CssStyleSheet: function CssStyleSheet() {
},
CssStyleValue: function CssStyleValue() {
},
CssTransformComponent: function CssTransformComponent() {
},
CssTransformValue: function CssTransformValue() {
},
CssUnitValue: function CssUnitValue() {
},
CssUnparsedValue: function CssUnparsedValue() {
},
DataElement: function DataElement() {
},
DataTransferItemList: function DataTransferItemList() {
},
DivElement: function DivElement() {
},
Document0: function Document0() {
},
DomError: function DomError() {
},
DomException: function DomException() {
},
DomRectList: function DomRectList() {
},
DomRectReadOnly: function DomRectReadOnly() {
},
DomStringList: function DomStringList() {
},
DomTokenList: function DomTokenList() {
},
_ChildrenElementList: function _ChildrenElementList(t0, t1) {
this._html$_element = t0;
this._childElements = t1;
},
_ChildrenElementList__filter_closure: function _ChildrenElementList__filter_closure(t0) {
this.test = t0;
},
_FrozenElementList: function _FrozenElementList(t0, t1) {
this._nodeList = t0;
this.$ti = t1;
},
Element: function Element() {
},
Element_Element$html_closure: function Element_Element$html_closure() {
},
EmbedElement: function EmbedElement() {
},
Entry: function Entry() {
},
Entry_remove_closure: function Entry_remove_closure(t0) {
this.completer = t0;
},
Entry_remove_closure0: function Entry_remove_closure0(t0) {
this.completer = t0;
},
Event: function Event() {
},
EventTarget: function EventTarget() {
},
ExtendableEvent: function ExtendableEvent() {
},
FederatedCredential: function FederatedCredential() {
},
FieldSetElement: function FieldSetElement() {
},
File: function File() {
},
FileList: function FileList() {
},
FileReader: function FileReader() {
},
FileSystem: function FileSystem() {
},
FileWriter: function FileWriter() {
},
FontFace: function FontFace() {
},
FontFaceSet: function FontFaceSet() {
},
FormElement: function FormElement() {
},
Gamepad: function Gamepad() {
},
GamepadButton: function GamepadButton() {
},
History: function History() {
},
HtmlCollection: function HtmlCollection() {
},
HtmlDocument: function HtmlDocument() {
},
HttpRequest: function HttpRequest() {
},
HttpRequest_request_closure: function HttpRequest_request_closure(t0, t1) {
this.xhr = t0;
this.completer = t1;
},
HttpRequestEventTarget: function HttpRequestEventTarget() {
},
IFrameElement: function IFrameElement() {
},
ImageData: function ImageData() {
},
ImageElement: function ImageElement() {
},
InputElement: function InputElement() {
},
KeyboardEvent: function KeyboardEvent() {
},
LIElement: function LIElement() {
},
LabelElement: function LabelElement() {
},
Location: function Location() {
},
MapElement: function MapElement() {
},
MediaElement: function MediaElement() {
},
MediaKeySession: function MediaKeySession() {
},
MediaList: function MediaList() {
},
MediaQueryList: function MediaQueryList() {
},
MediaQueryListEvent: function MediaQueryListEvent() {
},
MediaStream: function MediaStream() {
},
MediaStreamTrack: function MediaStreamTrack() {
},
MessagePort: function MessagePort() {
},
MetaElement: function MetaElement() {
},
MeterElement: function MeterElement() {
},
MidiInputMap: function MidiInputMap() {
},
MidiInputMap_keys_closure: function MidiInputMap_keys_closure(t0) {
this.keys = t0;
},
MidiInputMap_values_closure: function MidiInputMap_values_closure(t0) {
this.values = t0;
},
MidiOutputMap: function MidiOutputMap() {
},
MidiOutputMap_keys_closure: function MidiOutputMap_keys_closure(t0) {
this.keys = t0;
},
MidiOutputMap_values_closure: function MidiOutputMap_values_closure(t0) {
this.values = t0;
},
MidiPort: function MidiPort() {
},
MimeType: function MimeType() {
},
MimeTypeArray: function MimeTypeArray() {
},
MouseEvent: function MouseEvent() {
},
Navigator0: function Navigator0() {
},
NavigatorConcurrentHardware: function NavigatorConcurrentHardware() {
},
NavigatorUserMediaError: function NavigatorUserMediaError() {
},
_ChildNodeListLazy: function _ChildNodeListLazy(t0) {
this._this = t0;
},
Node: function Node() {
},
NodeList: function NodeList() {
},
Notification: function Notification() {
},
ObjectElement: function ObjectElement() {
},
OffscreenCanvas: function OffscreenCanvas() {
},
OptionElement: function OptionElement() {
},
OutputElement: function OutputElement() {
},
OverconstrainedError: function OverconstrainedError() {
},
ParagraphElement: function ParagraphElement() {
},
ParamElement: function ParamElement() {
},
PasswordCredential: function PasswordCredential() {
},
PaymentRequest: function PaymentRequest() {
},
PerformanceEntry: function PerformanceEntry() {
},
PerformanceServerTiming: function PerformanceServerTiming() {
},
Plugin: function Plugin() {
},
PluginArray: function PluginArray() {
},
PointerEvent: function PointerEvent() {
},
PresentationAvailability: function PresentationAvailability() {
},
PresentationConnection: function PresentationConnection() {
},
ProgressElement: function ProgressElement() {
},
ProgressEvent: function ProgressEvent() {
},
RelatedApplication: function RelatedApplication() {
},
RtcDataChannel: function RtcDataChannel() {
},
RtcLegacyStatsReport: function RtcLegacyStatsReport() {
},
RtcStatsReport: function RtcStatsReport() {
},
RtcStatsReport_keys_closure: function RtcStatsReport_keys_closure(t0) {
this.keys = t0;
},
RtcStatsReport_values_closure: function RtcStatsReport_values_closure(t0) {
this.values = t0;
},
ScreenOrientation: function ScreenOrientation() {
},
SelectElement: function SelectElement() {
},
SharedWorkerGlobalScope: function SharedWorkerGlobalScope() {
},
SlotElement: function SlotElement() {
},
SourceBuffer: function SourceBuffer() {
},
SourceBufferList: function SourceBufferList() {
},
SpanElement: function SpanElement() {
},
SpeechGrammar: function SpeechGrammar() {
},
SpeechGrammarList: function SpeechGrammarList() {
},
SpeechRecognitionResult: function SpeechRecognitionResult() {
},
SpeechSynthesisEvent: function SpeechSynthesisEvent() {
},
SpeechSynthesisVoice: function SpeechSynthesisVoice() {
},
Storage: function Storage() {
},
Storage_addAll_closure: function Storage_addAll_closure(t0) {
this.$this = t0;
},
Storage_keys_closure: function Storage_keys_closure(t0) {
this.keys = t0;
},
Storage_values_closure: function Storage_values_closure(t0) {
this.values = t0;
},
StyleElement: function StyleElement() {
},
StyleSheet: function StyleSheet() {
},
TableElement: function TableElement() {
},
TableRowElement: function TableRowElement() {
},
TableSectionElement: function TableSectionElement() {
},
TemplateElement: function TemplateElement() {
},
TextAreaElement: function TextAreaElement() {
},
TextTrack: function TextTrack() {
},
TextTrackCue: function TextTrackCue() {
},
TextTrackCueList: function TextTrackCueList() {
},
TextTrackList: function TextTrackList() {
},
TimeRanges: function TimeRanges() {
},
Touch: function Touch() {
},
TouchEvent: function TouchEvent() {
},
TouchList: function TouchList() {
},
TrackDefaultList: function TrackDefaultList() {
},
UIEvent: function UIEvent() {
},
Url: function Url() {
},
VideoElement: function VideoElement() {
},
VideoTrack: function VideoTrack() {
},
VideoTrackList: function VideoTrackList() {
},
VttRegion: function VttRegion() {
},
WheelEvent: function WheelEvent() {
},
Window: function Window() {
},
_BeforeUnloadEvent: function _BeforeUnloadEvent(t0) {
this.wrapped = t0;
},
_BeforeUnloadEventStreamProvider: function _BeforeUnloadEventStreamProvider() {
},
_BeforeUnloadEventStreamProvider_forTarget_closure: function _BeforeUnloadEventStreamProvider_forTarget_closure(t0) {
this.controller = t0;
},
WorkerGlobalScope: function WorkerGlobalScope() {
},
_Attr: function _Attr() {
},
_CssRuleList: function _CssRuleList() {
},
_DomRect: function _DomRect() {
},
_GamepadList: function _GamepadList() {
},
_NamedNodeMap: function _NamedNodeMap() {
},
_Report: function _Report() {
},
_SpeechRecognitionResultList: function _SpeechRecognitionResultList() {
},
_StyleSheetList: function _StyleSheetList() {
},
_AttributeMap: function _AttributeMap() {
},
_AttributeMap_addAll_closure: function _AttributeMap_addAll_closure(t0) {
this.$this = t0;
},
_ElementAttributeMap: function _ElementAttributeMap(t0) {
this._html$_element = t0;
},
_DataAttributeMap: function _DataAttributeMap(t0) {
this._attributes = t0;
},
_DataAttributeMap_addAll_closure: function _DataAttributeMap_addAll_closure(t0) {
this.$this = t0;
},
_DataAttributeMap_forEach_closure: function _DataAttributeMap_forEach_closure(t0, t1) {
this.$this = t0;
this.f = t1;
},
_DataAttributeMap_keys_closure: function _DataAttributeMap_keys_closure(t0, t1) {
this.$this = t0;
this.keys = t1;
},
_DataAttributeMap_values_closure: function _DataAttributeMap_values_closure(t0, t1) {
this.$this = t0;
this.values = t1;
},
EventStreamProvider: function EventStreamProvider(t0, t1) {
this._eventType = t0;
this.$ti = t1;
},
_EventStream: function _EventStream(t0, t1, t2, t3) {
var _ = this;
_._html$_target = t0;
_._eventType = t1;
_._useCapture = t2;
_.$ti = t3;
},
_ElementEventStreamImpl: function _ElementEventStreamImpl(t0, t1, t2, t3) {
var _ = this;
_._html$_target = t0;
_._eventType = t1;
_._useCapture = t2;
_.$ti = t3;
},
_EventStreamSubscription: function _EventStreamSubscription(t0, t1, t2, t3, t4) {
var _ = this;
_._pauseCount = 0;
_._html$_target = t0;
_._eventType = t1;
_._onData = t2;
_._useCapture = t3;
_.$ti = t4;
},
_EventStreamSubscription_closure: function _EventStreamSubscription_closure(t0) {
this.onData = t0;
},
_EventStreamSubscription_onData_closure: function _EventStreamSubscription_onData_closure(t0) {
this.handleData = t0;
},
_Html5NodeValidator: function _Html5NodeValidator(t0) {
this.uriPolicy = t0;
},
ImmutableListMixin: function ImmutableListMixin() {
},
NodeValidatorBuilder: function NodeValidatorBuilder(t0) {
this._validators = t0;
},
NodeValidatorBuilder_allowsElement_closure: function NodeValidatorBuilder_allowsElement_closure(t0) {
this.element = t0;
},
NodeValidatorBuilder_allowsAttribute_closure: function NodeValidatorBuilder_allowsAttribute_closure(t0, t1, t2) {
this.element = t0;
this.attributeName = t1;
this.value = t2;
},
_SimpleNodeValidator: function _SimpleNodeValidator() {
},
_SimpleNodeValidator_closure: function _SimpleNodeValidator_closure() {
},
_SimpleNodeValidator_closure0: function _SimpleNodeValidator_closure0() {
},
_TemplatingNodeValidator: function _TemplatingNodeValidator(t0, t1, t2, t3, t4) {
var _ = this;
_._templateAttrs = t0;
_.allowedElements = t1;
_.allowedAttributes = t2;
_.allowedUriAttributes = t3;
_.uriPolicy = t4;
},
_TemplatingNodeValidator_closure: function _TemplatingNodeValidator_closure() {
},
_SvgNodeValidator: function _SvgNodeValidator() {
},
FixedSizeListIterator: function FixedSizeListIterator(t0, t1, t2) {
var _ = this;
_._array = t0;
_._html$_length = t1;
_._position = -1;
_._html$_current = null;
_.$ti = t2;
},
Console: function Console() {
},
_DOMWindowCrossFrame: function _DOMWindowCrossFrame(t0) {
this._html$_window = t0;
},
_WrappedEvent: function _WrappedEvent() {
},
_SameOriginUriPolicy: function _SameOriginUriPolicy(t0, t1) {
this._hiddenAnchor = t0;
this._loc = t1;
},
_ValidatingTreeSanitizer: function _ValidatingTreeSanitizer(t0) {
this.validator = t0;
this.numTreeModifications = 0;
},
_ValidatingTreeSanitizer_sanitizeTree_walk: function _ValidatingTreeSanitizer_sanitizeTree_walk(t0) {
this.$this = t0;
},
_CssStyleDeclaration_Interceptor_CssStyleDeclarationBase: function _CssStyleDeclaration_Interceptor_CssStyleDeclarationBase() {
},
_DomRectList_Interceptor_ListMixin: function _DomRectList_Interceptor_ListMixin() {
},
_DomRectList_Interceptor_ListMixin_ImmutableListMixin: function _DomRectList_Interceptor_ListMixin_ImmutableListMixin() {
},
_DomStringList_Interceptor_ListMixin: function _DomStringList_Interceptor_ListMixin() {
},
_DomStringList_Interceptor_ListMixin_ImmutableListMixin: function _DomStringList_Interceptor_ListMixin_ImmutableListMixin() {
},
_FileList_Interceptor_ListMixin: function _FileList_Interceptor_ListMixin() {
},
_FileList_Interceptor_ListMixin_ImmutableListMixin: function _FileList_Interceptor_ListMixin_ImmutableListMixin() {
},
_HtmlCollection_Interceptor_ListMixin: function _HtmlCollection_Interceptor_ListMixin() {
},
_HtmlCollection_Interceptor_ListMixin_ImmutableListMixin: function _HtmlCollection_Interceptor_ListMixin_ImmutableListMixin() {
},
_MidiInputMap_Interceptor_MapMixin: function _MidiInputMap_Interceptor_MapMixin() {
},
_MidiOutputMap_Interceptor_MapMixin: function _MidiOutputMap_Interceptor_MapMixin() {
},
_MimeTypeArray_Interceptor_ListMixin: function _MimeTypeArray_Interceptor_ListMixin() {
},
_MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin: function _MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin() {
},
_NodeList_Interceptor_ListMixin: function _NodeList_Interceptor_ListMixin() {
},
_NodeList_Interceptor_ListMixin_ImmutableListMixin: function _NodeList_Interceptor_ListMixin_ImmutableListMixin() {
},
_PluginArray_Interceptor_ListMixin: function _PluginArray_Interceptor_ListMixin() {
},
_PluginArray_Interceptor_ListMixin_ImmutableListMixin: function _PluginArray_Interceptor_ListMixin_ImmutableListMixin() {
},
_RtcStatsReport_Interceptor_MapMixin: function _RtcStatsReport_Interceptor_MapMixin() {
},
_SourceBufferList_EventTarget_ListMixin: function _SourceBufferList_EventTarget_ListMixin() {
},
_SourceBufferList_EventTarget_ListMixin_ImmutableListMixin: function _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin() {
},
_SpeechGrammarList_Interceptor_ListMixin: function _SpeechGrammarList_Interceptor_ListMixin() {
},
_SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin: function _SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin() {
},
_Storage_Interceptor_MapMixin: function _Storage_Interceptor_MapMixin() {
},
_TextTrackCueList_Interceptor_ListMixin: function _TextTrackCueList_Interceptor_ListMixin() {
},
_TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin: function _TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin() {
},
_TextTrackList_EventTarget_ListMixin: function _TextTrackList_EventTarget_ListMixin() {
},
_TextTrackList_EventTarget_ListMixin_ImmutableListMixin: function _TextTrackList_EventTarget_ListMixin_ImmutableListMixin() {
},
_TouchList_Interceptor_ListMixin: function _TouchList_Interceptor_ListMixin() {
},
_TouchList_Interceptor_ListMixin_ImmutableListMixin: function _TouchList_Interceptor_ListMixin_ImmutableListMixin() {
},
__CssRuleList_Interceptor_ListMixin: function __CssRuleList_Interceptor_ListMixin() {
},
__CssRuleList_Interceptor_ListMixin_ImmutableListMixin: function __CssRuleList_Interceptor_ListMixin_ImmutableListMixin() {
},
__GamepadList_Interceptor_ListMixin: function __GamepadList_Interceptor_ListMixin() {
},
__GamepadList_Interceptor_ListMixin_ImmutableListMixin: function __GamepadList_Interceptor_ListMixin_ImmutableListMixin() {
},
__NamedNodeMap_Interceptor_ListMixin: function __NamedNodeMap_Interceptor_ListMixin() {
},
__NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin: function __NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin() {
},
__SpeechRecognitionResultList_Interceptor_ListMixin: function __SpeechRecognitionResultList_Interceptor_ListMixin() {
},
__SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin: function __SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin() {
},
__StyleSheetList_Interceptor_ListMixin: function __StyleSheetList_Interceptor_ListMixin() {
},
__StyleSheetList_Interceptor_ListMixin_ImmutableListMixin: function __StyleSheetList_Interceptor_ListMixin_ImmutableListMixin() {
}
},
D = {GZipEncoder: function GZipEncoder() {
},
BoardItem$: function(boardList, draggable, index, item, onDragItem, onDropItem, onStartDragItem, onTapItem) {
return new D.BoardItem(boardList, item, index, onDropItem, onTapItem, onStartDragItem, onDragItem, draggable, null);
},
BoardItem: function BoardItem(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.boardList = t0;
_.item = t1;
_.index = t2;
_.onDropItem = t3;
_.onTapItem = t4;
_.onStartDragItem = t5;
_.onDragItem = t6;
_.draggable = t7;
_.key = t8;
},
BoardItemState: function BoardItemState(t0, t1) {
var _ = this;
_.__BoardItemState_height = $;
_.AutomaticKeepAliveClientMixin__keepAliveHandle = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
BoardItemState_onDropItem_closure: function BoardItemState_onDropItem_closure() {
},
BoardItemState__startDrag_closure: function BoardItemState__startDrag_closure() {
},
BoardItemState__startDrag_closure0: function BoardItemState__startDrag_closure0() {
},
BoardItemState_build_closure: function BoardItemState_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
BoardItemState_build_closure3: function BoardItemState_build_closure3(t0, t1) {
this.$this = t0;
this.context = t1;
},
BoardItemState_build_closure2: function BoardItemState_build_closure2() {
},
BoardItemState_build_closure1: function BoardItemState_build_closure1(t0) {
this.$this = t0;
},
BoardItemState_build_closure0: function BoardItemState_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
_BoardItemState_State_AutomaticKeepAliveClientMixin: function _BoardItemState_State_AutomaticKeepAliveClientMixin() {
},
BuiltList_BuiltList$from: function(iterable, $E) {
var t1;
if (iterable instanceof D._BuiltList) {
t1 = H.createRuntimeType($E);
t1 = H.createRuntimeType(iterable.$ti._precomputed1) === t1;
} else
t1 = false;
if (t1)
return $E._eval$1("BuiltList<0>")._as(iterable);
else {
t1 = new D._BuiltList(P.List_List$from(iterable, false, $E), $E._eval$1("_BuiltList<0>"));
t1._maybeCheckForNull$0();
return t1;
}
},
ListBuilder_ListBuilder: function(iterable, $E) {
var t1 = new D.ListBuilder($E._eval$1("ListBuilder<0>"));
t1.replace$1(0, iterable);
return t1;
},
BuiltList: function BuiltList() {
},
_BuiltList: function _BuiltList(t0, t1) {
this._list = t0;
this._list$_hashCode = null;
this.$ti = t1;
},
ListBuilder: function ListBuilder(t0) {
this.__ListBuilder__list = $;
this._listOwner = null;
this.$ti = t0;
},
DoubleSerializer: function DoubleSerializer(t0) {
this.types = t0;
},
BaseTimeStepper: function BaseTimeStepper() {
},
_TimeStepIteratorImpl: function _TimeStepIteratorImpl(t0, t1, t2) {
var _ = this;
_.extentStartTime = t0;
_.extentEndTime = t1;
_.stepper = t2;
_._base_time_stepper$_current = null;
_._tickIncrement = 1;
},
_TimeStepIteratorFactoryImpl: function _TimeStepIteratorFactoryImpl(t0, t1) {
this.timeExtent = t0;
this._timeStepIterator = t1;
},
Legend: function Legend() {
},
LegendState: function LegendState(t0) {
this.__LegendState__legendEntries = $;
this._selectionModel = null;
this.$ti = t0;
},
LegendTapHandling: function LegendTapHandling(t0) {
this._legend$_name = t0;
},
SelectionModel: function SelectionModel(t0, t1, t2) {
this._selectedDatum = t0;
this._selectedSeries = t1;
this.$ti = t2;
},
MutableSelectionModel: function MutableSelectionModel(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._changedListeners = t0;
_._updatedListeners = t1;
_._lockChangedListeners = t2;
_._selectedDatum = t3;
_._selectedSeries = t4;
_.$ti = t5;
},
MutableSelectionModel_updateSelection_closure: function MutableSelectionModel_updateSelection_closure(t0, t1) {
this.$this = t0;
this.copyOfSelectionModel = t1;
},
MutableSelectionModel_updateSelection_closure0: function MutableSelectionModel_updateSelection_closure0(t0, t1) {
this.$this = t0;
this.copyOfSelectionModel = t1;
},
SelectionModelType: function SelectionModelType() {
},
LayoutManagerImpl: function LayoutManagerImpl(t0, t1) {
var _ = this;
_.config = t0;
_._views = t1;
_.__LayoutManagerImpl__drawAreaBounds = _.__LayoutManagerImpl__measurements = _.__LayoutManagerImpl__positionOrderedViews = _.__LayoutManagerImpl__paintOrderedViews = $;
_._viewsNeedPositionSort = _._viewsNeedPaintSort = _._drawAreaBoundsOutdated = true;
},
LayoutManagerImpl_paintOrderedViews_closure: function LayoutManagerImpl_paintOrderedViews_closure() {
},
LayoutManagerImpl_positionOrderedViews_closure: function LayoutManagerImpl_positionOrderedViews_closure() {
},
LayoutManagerImpl_drawableLayoutAreaBounds_closure: function LayoutManagerImpl_drawableLayoutAreaBounds_closure() {
},
LayoutManagerImpl_layout_closure: function LayoutManagerImpl_layout_closure(t0) {
this.$this = t0;
},
LayoutManagerImpl__viewsForPositions_closure: function LayoutManagerImpl__viewsForPositions_closure(t0, t1) {
this.p1 = t0;
this.p2 = t1;
},
_MeasuredSizes: function _MeasuredSizes(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.leftWidth = t0;
_.leftSizes = t1;
_.rightWidth = t2;
_.rightSizes = t3;
_.topHeight = t4;
_.topSizes = t5;
_.bottomHeight = t6;
_.bottomSizes = t7;
},
MaterialStyle: function MaterialStyle() {
},
Enum: function Enum() {
},
CupertinoRouteTransitionMixin__isPopGestureEnabled: function(route) {
var t1;
if (route.get$isFirst())
return false;
t1 = route.LocalHistoryRoute__localHistory;
if (t1 != null && t1.length !== 0)
return false;
if (route._willPopCallbacks.length !== 0)
return false;
t1 = route._animationProxy;
if (t1.get$status(t1) !== C.AnimationStatus_3)
return false;
t1 = route._secondaryAnimationProxy;
if (t1.get$status(t1) !== C.AnimationStatus_0)
return false;
if (route._navigator$_navigator.userGestureInProgressNotifier._change_notifier$_value)
return false;
return true;
},
CupertinoRouteTransitionMixin_buildPageTransitions: function(route, context, animation, secondaryAnimation, child, $T) {
var t4, t5, t6, t7,
t1 = route._navigator$_navigator.userGestureInProgressNotifier._change_notifier$_value,
t2 = t1 ? animation : S.CurvedAnimation$(C.Cubic_izR, animation, C.Cubic_OcD),
t3 = $.$get$_kRightMiddleTween();
t2.toString;
t4 = type$.Animation_double;
t4._as(t2);
t3.toString;
t5 = t1 ? secondaryAnimation : S.CurvedAnimation$(C.Cubic_izR, secondaryAnimation, C.Cubic_OcD);
t6 = $.$get$_kMiddleLeftTween();
t5.toString;
t4._as(t5);
t6.toString;
t1 = t1 ? animation : S.CurvedAnimation$(C.Cubic_izR, animation, null);
t7 = $.$get$_CupertinoEdgeShadowDecoration_kTween();
t1.toString;
t4._as(t1);
t7.toString;
return new D.CupertinoPageTransition(new R._AnimatedEvaluation(t2, t3, t3.$ti._eval$1("_AnimatedEvaluation")), new R._AnimatedEvaluation(t5, t6, t6.$ti._eval$1("_AnimatedEvaluation")), new R._AnimatedEvaluation(t1, t7, H._instanceType(t7)._eval$1("_AnimatedEvaluation")), new D._CupertinoBackGestureDetector(child, new D.CupertinoRouteTransitionMixin_buildPageTransitions_closure(route), new D.CupertinoRouteTransitionMixin_buildPageTransitions_closure0(route, $T), null, $T._eval$1("_CupertinoBackGestureDetector<0>")), null);
},
_CupertinoEdgeShadowDecoration_lerp: function(a, b, t) {
var t2, t3, t4, i, t5, t6,
t1 = a == null;
if (t1 && b == null)
return null;
if (t1) {
t1 = b._colors;
if (t1 == null)
t1 = b;
else {
t2 = H._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Color>");
t2 = new D._CupertinoEdgeShadowDecoration(P.List_List$of(new H.MappedListIterable(t1, new D._CupertinoEdgeShadowDecoration_lerp_closure(t), t2), true, t2._eval$1("ListIterable.E")));
t1 = t2;
}
return t1;
}
if (b == null) {
t1 = a._colors;
if (t1 == null)
t1 = a;
else {
t2 = H._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Color>");
t2 = new D._CupertinoEdgeShadowDecoration(P.List_List$of(new H.MappedListIterable(t1, new D._CupertinoEdgeShadowDecoration_lerp_closure0(t), t2), true, t2._eval$1("ListIterable.E")));
t1 = t2;
}
return t1;
}
t1 = H.setRuntimeTypeInfo([], type$.JSArray_Color);
for (t2 = b._colors, t3 = a._colors, t4 = t3 == null, i = 0; i < t2.length; ++i) {
t5 = t4 ? null : t3[i];
t6 = t2[i];
t5 = P.Color_lerp(t5, t6, t);
t5.toString;
t1.push(t5);
}
return new D._CupertinoEdgeShadowDecoration(t1);
},
CupertinoRouteTransitionMixin_buildPageTransitions_closure: function CupertinoRouteTransitionMixin_buildPageTransitions_closure(t0) {
this.route = t0;
},
CupertinoRouteTransitionMixin_buildPageTransitions_closure0: function CupertinoRouteTransitionMixin_buildPageTransitions_closure0(t0, t1) {
this.route = t0;
this.T = t1;
},
CupertinoPageTransition: function CupertinoPageTransition(t0, t1, t2, t3, t4) {
var _ = this;
_._primaryPositionAnimation = t0;
_._secondaryPositionAnimation = t1;
_._primaryShadowAnimation = t2;
_.child = t3;
_.key = t4;
},
_CupertinoBackGestureDetector: function _CupertinoBackGestureDetector(t0, t1, t2, t3, t4) {
var _ = this;
_.child = t0;
_.enabledCallback = t1;
_.onStartPopGesture = t2;
_.key = t3;
_.$ti = t4;
},
_CupertinoBackGestureDetectorState: function _CupertinoBackGestureDetectorState(t0, t1) {
var _ = this;
_._backGestureController = null;
_.___CupertinoBackGestureDetectorState__recognizer = $;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
_.$ti = t1;
},
_CupertinoBackGestureController: function _CupertinoBackGestureController(t0, t1, t2) {
this.controller = t0;
this.navigator = t1;
this.$ti = t2;
},
_CupertinoBackGestureController_dragEnd__animationStatusCallback_set: function _CupertinoBackGestureController_dragEnd__animationStatusCallback_set(t0) {
this._box_0 = t0;
},
_CupertinoBackGestureController_dragEnd__animationStatusCallback_get: function _CupertinoBackGestureController_dragEnd__animationStatusCallback_get(t0) {
this._box_0 = t0;
},
_CupertinoBackGestureController_dragEnd_closure: function _CupertinoBackGestureController_dragEnd_closure(t0, t1) {
this.$this = t0;
this._animationStatusCallback_get = t1;
},
_CupertinoEdgeShadowDecoration: function _CupertinoEdgeShadowDecoration(t0) {
this._colors = t0;
},
_CupertinoEdgeShadowDecoration_lerp_closure: function _CupertinoEdgeShadowDecoration_lerp_closure(t0) {
this.t = t0;
},
_CupertinoEdgeShadowDecoration_lerp_closure0: function _CupertinoEdgeShadowDecoration_lerp_closure0(t0) {
this.t = t0;
},
_CupertinoEdgeShadowPainter: function _CupertinoEdgeShadowPainter(t0, t1) {
this._route$_decoration = t0;
this.onChanged = t1;
},
Key: function Key() {
},
LocalKey: function LocalKey() {
},
ValueKey: function ValueKey(t0, t1) {
this.value = t0;
this.$ti = t1;
},
_TypeLiteral: function _TypeLiteral(t0) {
this.$ti = t0;
},
GestureDisposition: function GestureDisposition(t0) {
this._arena$_name = t0;
},
GestureArenaMember: function GestureArenaMember() {
},
GestureArenaEntry: function GestureArenaEntry(t0, t1, t2) {
this._arena = t0;
this._arena$_pointer = t1;
this._member = t2;
},
_GestureArena: function _GestureArena(t0) {
var _ = this;
_.members = t0;
_.isOpen = true;
_.hasPendingSweep = _.isHeld = false;
_.eagerWinner = null;
},
_GestureArena_toString_closure: function _GestureArena_toString_closure(t0) {
this.$this = t0;
},
GestureArenaManager: function GestureArenaManager(t0) {
this._arenas = t0;
},
GestureArenaManager_add_closure: function GestureArenaManager_add_closure(t0, t1) {
this.$this = t0;
this.pointer = t1;
},
GestureArenaManager__tryToResolveArena_closure: function GestureArenaManager__tryToResolveArena_closure(t0, t1, t2) {
this.$this = t0;
this.pointer = t1;
this.state = t2;
},
_maxBy: function(input, keyFunc, $T) {
var _maxValue_set, maxKey, _i, value, key, _box_0 = {};
_box_0._maxValue = $;
_maxValue_set = new D._maxBy__maxValue_set(_box_0, $T);
for (maxKey = null, _i = 0; _i < 4; ++_i) {
value = input[_i];
key = keyFunc.call$1(value);
if (maxKey == null || key > maxKey) {
_maxValue_set.call$1(value);
maxKey = key;
}
}
return new D._maxBy__maxValue_get(_box_0, $T).call$0();
},
MaterialPointArcTween: function MaterialPointArcTween(t0, t1) {
var _ = this;
_._arc$_dirty = true;
_._endAngle = _._beginAngle = _._radius = _._center = null;
_.begin = t0;
_.end = t1;
},
MaterialPointArcTween__initialize_sweepAngle: function MaterialPointArcTween__initialize_sweepAngle(t0, t1) {
this.$this = t0;
this.distanceFromAtoB = t1;
},
_CornerId: function _CornerId(t0) {
this._arc$_name = t0;
},
_Diagonal: function _Diagonal(t0, t1) {
this.beginId = t0;
this.endId = t1;
},
_maxBy__maxValue_set: function _maxBy__maxValue_set(t0, t1) {
this._box_0 = t0;
this.T = t1;
},
_maxBy__maxValue_get: function _maxBy__maxValue_get(t0, t1) {
this._box_0 = t0;
this.T = t1;
},
MaterialRectArcTween: function MaterialRectArcTween(t0, t1) {
var _ = this;
_._arc$_dirty = true;
_.__MaterialRectArcTween__endArc = _.__MaterialRectArcTween__beginArc = $;
_.begin = t0;
_.end = t1;
},
MaterialRectArcTween__initialize_closure: function MaterialRectArcTween__initialize_closure(t0, t1) {
this.$this = t0;
this.centersVector = t1;
},
BottomAppBarTheme: function BottomAppBarTheme(t0, t1, t2) {
this.color = t0;
this.elevation = t1;
this.shape = t2;
},
_BottomAppBarTheme_Object_Diagnosticable: function _BottomAppBarTheme_Object_Diagnosticable() {
},
CheckboxListTile$: function(activeColor, contentPadding, controlAffinity, dense, key, onChanged, title, value) {
return new D.CheckboxListTile(value, onChanged, activeColor, title, dense, controlAffinity, contentPadding, key);
},
CheckboxListTile: function CheckboxListTile(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.value = t0;
_.onChanged = t1;
_.activeColor = t2;
_.title = t3;
_.dense = t4;
_.controlAffinity = t5;
_.contentPadding = t6;
_.key = t7;
},
DataTableSource: function DataTableSource() {
},
ElevatedButton$: function(child, onPressed, style) {
return new D.ElevatedButton(onPressed, null, style, C.Clip_0, null, false, child, null);
},
ElevatedButton_styleFrom: function(alignment, animationDuration, disabledMouseCursor, elevation, enableFeedback, enabledMouseCursor, minimumSize, onPrimary, onSurface, padding, primary, shadowColor, shape, side, splashFactory, tapTargetSize, textStyle, visualDensity) {
var t2, t3, _null = null,
t1 = onSurface == null,
backgroundColor = t1 && primary == null ? _null : new D._ElevatedButtonDefaultBackground(primary, onSurface),
foregroundColor = t1 && onPrimary == null ? _null : new D._ElevatedButtonDefaultForeground(onPrimary, onSurface),
overlayColor = onPrimary == null ? _null : new D._ElevatedButtonDefaultOverlay(onPrimary),
mouseCursor = enabledMouseCursor == null && disabledMouseCursor == null ? _null : new D._ElevatedButtonDefaultMouseCursor(enabledMouseCursor, disabledMouseCursor);
t1 = shadowColor == null ? _null : new V._MaterialStatePropertyAll(shadowColor, type$._MaterialStatePropertyAll_Color);
t2 = padding == null ? _null : new V._MaterialStatePropertyAll(padding, type$._MaterialStatePropertyAll_EdgeInsetsGeometry);
t3 = minimumSize == null ? _null : new V._MaterialStatePropertyAll(minimumSize, type$._MaterialStatePropertyAll_Size);
return A.ButtonStyle$(alignment, animationDuration, backgroundColor, new D._ElevatedButtonDefaultElevation(elevation), enableFeedback, _null, foregroundColor, t3, mouseCursor, overlayColor, t2, t1, new V._MaterialStatePropertyAll(shape, type$._MaterialStatePropertyAll_OutlinedBorder), _null, splashFactory, tapTargetSize, new V._MaterialStatePropertyAll(textStyle, type$._MaterialStatePropertyAll_nullable_TextStyle), visualDensity);
},
ElevatedButton: function ElevatedButton(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.onPressed = t0;
_.onLongPress = t1;
_.style = t2;
_.clipBehavior = t3;
_.focusNode = t4;
_.autofocus = t5;
_.child = t6;
_.key = t7;
},
_ElevatedButtonDefaultBackground: function _ElevatedButtonDefaultBackground(t0, t1) {
this.primary = t0;
this.onSurface = t1;
},
_ElevatedButtonDefaultForeground: function _ElevatedButtonDefaultForeground(t0, t1) {
this.onPrimary = t0;
this.onSurface = t1;
},
_ElevatedButtonDefaultOverlay: function _ElevatedButtonDefaultOverlay(t0) {
this.onPrimary = t0;
},
_ElevatedButtonDefaultElevation: function _ElevatedButtonDefaultElevation(t0) {
this.elevation = t0;
},
_ElevatedButtonDefaultMouseCursor: function _ElevatedButtonDefaultMouseCursor(t0, t1) {
this.enabledCursor = t0;
this.disabledCursor = t1;
},
__ElevatedButtonDefaultBackground_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultBackground_MaterialStateProperty_Diagnosticable() {
},
__ElevatedButtonDefaultElevation_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultElevation_MaterialStateProperty_Diagnosticable() {
},
__ElevatedButtonDefaultForeground_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultForeground_MaterialStateProperty_Diagnosticable() {
},
__ElevatedButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable() {
},
__ElevatedButtonDefaultOverlay_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultOverlay_MaterialStateProperty_Diagnosticable() {
},
_SaltedKey: function _SaltedKey(t0, t1, t2) {
this.salt = t0;
this.value = t1;
this.$ti = t2;
},
ExpansionPanel: function ExpansionPanel(t0, t1, t2) {
this.headerBuilder = t0;
this.body = t1;
this.isExpanded = t2;
},
ExpansionPanelList: function ExpansionPanelList(t0, t1, t2) {
this.children = t0;
this.expansionCallback = t1;
this.key = t2;
},
_ExpansionPanelListState: function _ExpansionPanelListState(t0) {
var _ = this;
_._widget = _._currentOpenPanel = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_ExpansionPanelListState_build_closure: function _ExpansionPanelListState_build_closure(t0, t1) {
this.$this = t0;
this.index = t1;
},
Ink$: function(child, color, decoration, height) {
var t1, _null = null;
if (decoration == null)
t1 = color != null ? new S.BoxDecoration(color, _null, _null, _null, _null, _null, C.BoxShape_0) : _null;
else
t1 = decoration;
return new D.Ink(child, t1, height, _null);
},
Ink: function Ink(t0, t1, t2, t3) {
var _ = this;
_.child = t0;
_.decoration = t1;
_.height = t2;
_.key = t3;
},
_InkState: function _InkState(t0, t1) {
var _ = this;
_._boxKey = t0;
_._widget = _._ink = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
InkDecoration: function InkDecoration(t0, t1, t2, t3) {
var _ = this;
_._ink_decoration$_decoration = _._ink_decoration$_painter = null;
_._ink_decoration$_configuration = t0;
_._material$_controller = t1;
_.referenceBox = t2;
_.onRemoved = t3;
_._material$_debugDisposed = false;
},
NetworkImage: function NetworkImage(t0, t1) {
this.url = t0;
this.scale = t1;
},
NetworkImage__loadAsync_closure: function NetworkImage__loadAsync_closure(t0) {
this.chunkEvents = t0;
},
ShaderWarmUp: function ShaderWarmUp() {
},
DefaultShaderWarmUp: function DefaultShaderWarmUp() {
},
FrictionSimulation: function FrictionSimulation(t0, t1, t2, t3, t4) {
var _ = this;
_._drag = t0;
_._dragLog = t1;
_._friction_simulation$_x = t2;
_._v = t3;
_.tolerance = t4;
},
_isWhitespace: function(codeUnit) {
switch (codeUnit) {
case 9:
case 10:
case 11:
case 12:
case 13:
case 28:
case 29:
case 30:
case 31:
case 32:
case 160:
case 5760:
case 8192:
case 8193:
case 8194:
case 8195:
case 8196:
case 8197:
case 8198:
case 8199:
case 8200:
case 8201:
case 8202:
case 8239:
case 8287:
case 12288:
break;
default:
return false;
}
return true;
},
RenderEditable_nextCharacter: function(index, string, includeWhitespace) {
var t1 = {},
t2 = string.length;
if (index === t2)
return t2;
t1.count = 0;
return t2 - new T.StringCharacters(string).skipWhile$1(0, new D.RenderEditable_nextCharacter_closure(t1, index, includeWhitespace)).string.length;
},
RenderEditable_previousCharacter: function(index, string, includeWhitespace) {
var t1, t2, t3, count, lastNonWhitespace, currentString, t4, count0;
if (index === 0)
return 0;
for (t1 = new T.StringCharacterRange(string, 0, 0), t2 = !includeWhitespace, t3 = J.getInterceptor$s(string), count = 0, lastNonWhitespace = null; t1._advanceEnd$2(1, t1._characters_impl$_end); count = count0) {
currentString = t1._currentCache;
if (currentString == null)
currentString = t1._currentCache = t3.substring$2(string, t1._characters_impl$_start, t1._characters_impl$_end);
if (t2) {
t4 = currentString.length;
t4 = !D._isWhitespace(C.JSString_methods._codeUnitAt$1(t4 === 0 ? H.throwExpression(P.StateError$("No element")) : C.JSString_methods.substring$2(currentString, 0, new A.Breaks(currentString, t4, 0, 176).nextBreak$0()), 0));
} else
t4 = false;
if (t4)
lastNonWhitespace = count;
count0 = count + currentString.length;
if (count0 >= index) {
if (includeWhitespace)
t1 = count;
else
t1 = lastNonWhitespace == null ? 0 : lastNonWhitespace;
return t1;
}
}
return 0;
},
RenderEditable__moveGivenSelectionLeft: function(selection, text) {
var previousExtent = selection.start,
t1 = previousExtent == selection.end;
if (t1 && selection.extentOffset <= 0)
return selection;
return X.TextSelection$fromPosition(new P.TextPosition(selection.copyWith$1$extentOffset(!t1 ? previousExtent : D.RenderEditable_previousCharacter(selection.extentOffset, text, true)).extentOffset, C.TextAffinity_1));
},
RenderEditable__moveGivenSelectionRight: function(selection, text) {
var nextSelection, newOffset, newOffset0,
nextExtent = selection.end,
t1 = selection.start == nextExtent;
if (t1 && selection.extentOffset >= text.length)
return selection;
nextSelection = selection.copyWith$1$extentOffset(!t1 ? nextExtent : D.RenderEditable_nextCharacter(selection.extentOffset, text, true));
newOffset = nextSelection.baseOffset;
newOffset0 = nextSelection.extentOffset;
return X.TextSelection$fromPosition(new P.TextPosition(newOffset > newOffset0 ? newOffset : newOffset0, C.TextAffinity_1));
},
RenderEditable__getLeftByWord: function(textPainter, offset, includeWhitespace) {
var startPoint;
if (offset <= 0)
return offset;
if (offset === 1)
return 0;
startPoint = D.RenderEditable_previousCharacter(offset, textPainter._text_painter$_text.toPlainText$0(), false);
return textPainter._text_painter$_paragraph.getWordBoundary$1(0, new P.TextPosition(startPoint, C.TextAffinity_1)).start;
},
RenderEditable__getRightByWord: function(textPainter, offset, includeWhitespace) {
var startPoint,
text = textPainter._text_painter$_text.toPlainText$0(),
t1 = text.length;
if (offset === t1)
return offset;
if (offset === t1 - 1 || false)
return t1;
t1 = D._isWhitespace(C.JSString_methods.codeUnitAt$1(text, offset));
startPoint = !t1 ? offset : D.RenderEditable_nextCharacter(offset, text, false);
return textPainter._text_painter$_paragraph.getWordBoundary$1(0, new P.TextPosition(startPoint, C.TextAffinity_1)).end;
},
RenderEditable__extendGivenSelectionLeftByWord: function(textPainter, selection, includeWhitespace, stopAtReversal) {
var t1, leftOffset, t2;
if (selection.start == selection.end && selection.extentOffset <= 0)
return selection;
t1 = selection.extentOffset;
leftOffset = D.RenderEditable__getLeftByWord(textPainter, t1, false);
if (stopAtReversal) {
t2 = selection.baseOffset;
t1 = t1 > t2 && leftOffset < t2;
} else
t1 = false;
if (t1)
return selection.copyWith$1$extentOffset(selection.baseOffset);
return selection.copyWith$1$extentOffset(leftOffset);
},
RenderEditable__extendGivenSelectionRightByWord: function(textPainter, selection, includeWhitespace, stopAtReversal) {
var t1, rightOffset, t2,
text = textPainter._text_painter$_text.toPlainText$0();
if (selection.start == selection.end && selection.extentOffset === text.length)
return selection;
t1 = selection.extentOffset;
rightOffset = D.RenderEditable__getRightByWord(textPainter, t1, false);
if (stopAtReversal) {
t2 = selection.baseOffset;
t1 = t2 > t1 && rightOffset > t2;
} else
t1 = false;
if (t1)
return selection.copyWith$1$extentOffset(selection.baseOffset);
return selection.copyWith$1$extentOffset(rightOffset);
},
RenderEditable__moveGivenSelectionLeftByWord: function(textPainter, selection, includeWhitespace) {
var leftOffset;
if (selection.start == selection.end && selection.extentOffset <= 0)
return selection;
leftOffset = D.RenderEditable__getLeftByWord(textPainter, selection.extentOffset, false);
return selection.copyWith$2$baseOffset$extentOffset(leftOffset, leftOffset);
},
RenderEditable__moveGivenSelectionRightByWord: function(textPainter, selection, includeWhitespace) {
var rightOffset,
text = textPainter._text_painter$_text.toPlainText$0();
if (selection.start == selection.end && selection.extentOffset === text.length)
return selection;
rightOffset = D.RenderEditable__getRightByWord(textPainter, selection.extentOffset, false);
return selection.copyWith$2$baseOffset$extentOffset(rightOffset, rightOffset);
},
RenderEditable__extendGivenSelectionLeft: function(selection, text) {
var t1 = selection.extentOffset;
if (t1 <= 0)
return selection;
return selection.copyWith$1$extentOffset(D.RenderEditable_previousCharacter(t1, text, true));
},
RenderEditable__extendGivenSelectionRight: function(selection, text) {
var t1 = selection.extentOffset;
if (t1 >= text.length)
return selection;
return selection.copyWith$1$extentOffset(D.RenderEditable_nextCharacter(t1, text, true));
},
_RenderEditableCustomPaint$: function(painter) {
var t1 = new D._RenderEditableCustomPaint(painter);
t1.get$isRepaintBoundary();
t1.__RenderObject__needsCompositing = true;
return t1;
},
_TextHighlightPainter$: function() {
return new D._TextHighlightPainter(new H.SurfacePaint(new H.SurfacePaintData()), C.BoxHeightStyle_0, C.BoxWidthStyle_0, new P.LinkedList(type$.LinkedList__ListenerEntry));
},
TextSelectionPoint: function TextSelectionPoint(t0, t1) {
this.point = t0;
this.direction = t1;
},
RenderEditable: function RenderEditable(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27) {
var _ = this;
_._editable$_painter = _._editable$_foregroundPainter = _._backgroundRenderObject = _._foregroundRenderObject = null;
_.__RenderEditable__caretPainter = $;
_._selectionPainter = t0;
_._autocorrectHighlightPainter = t1;
_._lastCaretRect = _._textLayoutLastMinWidth = _._textLayoutLastMaxWidth = _._cachedBuiltInPainters = _._cachedBuiltInForegroundPainters = null;
_.onCaretChanged = t2;
_.ignorePointer = t3;
_._devicePixelRatio = t4;
_._obscuringCharacter = t5;
_._obscureText = t6;
_.textSelectionDelegate = t7;
_._selectionStartInViewport = t8;
_._selectionEndInViewport = t9;
_._cursorResetLocation = -1;
_._wasSelectingVerticallyWithKeyboard = false;
_._cachedPlainText = null;
_._textPainter = t10;
_._showCursor = t11;
_._hasFocus = t12;
_._listenerAttached = false;
_._forceLine = t13;
_._readOnly = t14;
_._editable$_maxLines = t15;
_._minLines = t16;
_._editable$_expands = t17;
_._selection = t18;
_._editable$_offset = t19;
_._cursorWidth = t20;
_._cursorHeight = t21;
_._paintCursorOnTop = t22;
_._editable$_startHandleLayerLink = t23;
_._editable$_endHandleLayerLink = t24;
_._floatingCursorOn = false;
_.__RenderEditable__floatingCursorTextPosition = $;
_._enableInteractiveSelection = t25;
_._editable$_maxScrollExtent = 0;
_._editable$_clipBehavior = t26;
_._cachedChildNodes = _._editable$_semanticsInfo = null;
_.__RenderEditable__longPress = _.__RenderEditable__tap = $;
_._lastSecondaryTapDownPosition = _._lastTapDownPosition = null;
_.__RenderEditable__caretPrototype = $;
_._relativeOrigin = t27;
_._previousOffset = null;
_._resetOriginOnBottom = _._resetOriginOnTop = _._resetOriginOnRight = _._resetOriginOnLeft = false;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = _._editable$_clipRectLayer = _._resetFloatingCursorAnimationValue = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
RenderEditable_nextCharacter_closure: function RenderEditable_nextCharacter_closure(t0, t1, t2) {
this._box_0 = t0;
this.index = t1;
this.includeWhitespace = t2;
},
RenderEditable_extendSelectionDown__nextSelection_set: function RenderEditable_extendSelectionDown__nextSelection_set(t0) {
this._box_0 = t0;
},
RenderEditable_extendSelectionDown__nextSelection_get: function RenderEditable_extendSelectionDown__nextSelection_get(t0) {
this._box_0 = t0;
},
RenderEditable_extendSelectionLeftByLine__nextSelection_set: function RenderEditable_extendSelectionLeftByLine__nextSelection_set(t0) {
this._box_0 = t0;
},
RenderEditable_extendSelectionLeftByLine__nextSelection_get: function RenderEditable_extendSelectionLeftByLine__nextSelection_get(t0) {
this._box_0 = t0;
},
RenderEditable_extendSelectionRightByLine__nextSelection_set: function RenderEditable_extendSelectionRightByLine__nextSelection_set(t0) {
this._box_0 = t0;
},
RenderEditable_extendSelectionRightByLine__nextSelection_get: function RenderEditable_extendSelectionRightByLine__nextSelection_get(t0) {
this._box_0 = t0;
},
RenderEditable_extendSelectionUp__nextSelection_set: function RenderEditable_extendSelectionUp__nextSelection_set(t0) {
this._box_0 = t0;
},
RenderEditable_extendSelectionUp__nextSelection_get: function RenderEditable_extendSelectionUp__nextSelection_get(t0) {
this._box_0 = t0;
},
RenderEditable_expandSelectionLeftByLine__nextSelection_set: function RenderEditable_expandSelectionLeftByLine__nextSelection_set(t0) {
this._box_0 = t0;
},
RenderEditable_expandSelectionLeftByLine__nextSelection_get: function RenderEditable_expandSelectionLeftByLine__nextSelection_get(t0) {
this._box_0 = t0;
},
RenderEditable_expandSelectionRightByLine__nextSelection_set: function RenderEditable_expandSelectionRightByLine__nextSelection_set(t0) {
this._box_0 = t0;
},
RenderEditable_expandSelectionRightByLine__nextSelection_get: function RenderEditable_expandSelectionRightByLine__nextSelection_get(t0) {
this._box_0 = t0;
},
RenderEditable_moveSelectionDown__nextSelection_set: function RenderEditable_moveSelectionDown__nextSelection_set(t0) {
this._box_0 = t0;
},
RenderEditable_moveSelectionDown__nextSelection_get: function RenderEditable_moveSelectionDown__nextSelection_get(t0) {
this._box_0 = t0;
},
RenderEditable_moveSelectionUp__nextSelection_set: function RenderEditable_moveSelectionUp__nextSelection_set(t0) {
this._box_0 = t0;
},
RenderEditable_moveSelectionUp__nextSelection_get: function RenderEditable_moveSelectionUp__nextSelection_get(t0) {
this._box_0 = t0;
},
RenderEditable_describeSemanticsConfiguration_closure: function RenderEditable_describeSemanticsConfiguration_closure() {
},
RenderEditable_getRectForComposingRange_closure: function RenderEditable_getRectForComposingRange_closure() {
},
RenderEditable_selectWordEdge__newSelection_set: function RenderEditable_selectWordEdge__newSelection_set(t0) {
this._box_0 = t0;
},
RenderEditable_selectWordEdge__newSelection_get: function RenderEditable_selectWordEdge__newSelection_get(t0) {
this._box_0 = t0;
},
_RenderEditableCustomPaint: function _RenderEditableCustomPaint(t0) {
var _ = this;
_._editable$_painter = t0;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
RenderEditablePainter: function RenderEditablePainter() {
},
_TextHighlightPainter: function _TextHighlightPainter(t0, t1, t2, t3) {
var _ = this;
_.highlightPaint = t0;
_._highlightedRange = _._highlightColor = null;
_._selectionHeightStyle = t1;
_._selectionWidthStyle = t2;
_.ChangeNotifier__listeners = t3;
},
_FloatingCursorPainter: function _FloatingCursorPainter(t0, t1, t2, t3) {
var _ = this;
_._shouldPaint = true;
_.caretPaintCallback = t0;
_.showRegularCaret = false;
_.caretPaint = t1;
_.___FloatingCursorPainter_floatingCursorPaint = $;
_._cursorRadius = _._caretColor = null;
_._cursorOffset = t2;
_._floatingCursorRect = _._backgroundCursorColor = null;
_.ChangeNotifier__listeners = t3;
},
_CompositeRenderEditablePainter: function _CompositeRenderEditablePainter(t0, t1) {
this.painters = t0;
this.ChangeNotifier__listeners = t1;
},
_RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin: function _RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin() {
},
TextEditingController$fromValue: function(value) {
var t1 = value == null ? C.TextEditingValue_QOg : value;
return new D.TextEditingController(t1, new P.LinkedList(type$.LinkedList__ListenerEntry));
},
EditableText$: function(autocorrect, autocorrectionTextRectColor, autofillHints, autofocus, backgroundCursorColor, controller, cursorColor, cursorHeight, cursorOffset, cursorOpacityAnimates, cursorRadius, cursorWidth, dragStartBehavior, enableInteractiveSelection, enableSuggestions, expands, focusNode, forceLine, inputFormatters, key, keyboardAppearance, keyboardType, maxLines, minLines, mouseCursor, obscureText, obscuringCharacter, onAppPrivateCommand, onChanged, onEditingComplete, onSelectionChanged, onSelectionHandleTapped, onSubmitted, paintCursorAboveText, readOnly, rendererIgnoresPointer, restorationId, scrollController, scrollPadding, scrollPhysics, selectionColor, selectionControls, selectionHeightStyle, selectionWidthStyle, showCursor, showSelectionHandles, smartDashesType, smartQuotesType, strutStyle, style, textAlign, textCapitalization, textDirection, textHeightBehavior, textInputAction, textScaleFactor, textWidthBasis, toolbarOptions) {
var t1, t2, t3, t4;
if (smartDashesType == null)
t1 = obscureText ? C.SmartDashesType_0 : C.SmartDashesType_1;
else
t1 = smartDashesType;
if (smartQuotesType == null)
t2 = obscureText ? C.SmartQuotesType_0 : C.SmartQuotesType_1;
else
t2 = smartQuotesType;
t3 = keyboardType == null ? D.EditableText__inferKeyboardType(autofillHints, maxLines) : keyboardType;
if (maxLines === 1) {
t4 = H.setRuntimeTypeInfo([$.$get$FilteringTextInputFormatter_singleLineFormatter()], type$.JSArray_TextInputFormatter);
C.JSArray_methods.addAll$1(t4, inputFormatters == null ? C.C_EmptyIterable : inputFormatters);
} else
t4 = inputFormatters;
return new D.EditableText(controller, focusNode, obscuringCharacter, obscureText, textHeightBehavior, textWidthBasis, readOnly, forceLine, toolbarOptions, showSelectionHandles, showCursor == null ? !readOnly : showCursor, autocorrect, t1, t2, true, style, strutStyle, textAlign, textDirection, textCapitalization, textScaleFactor, cursorColor, autocorrectionTextRectColor, backgroundCursorColor, maxLines, minLines, expands, autofocus, selectionColor, selectionControls, t3, textInputAction, onChanged, onEditingComplete, onSubmitted, onAppPrivateCommand, onSelectionChanged, onSelectionHandleTapped, t4, mouseCursor, true, cursorWidth, cursorHeight, cursorRadius, cursorOpacityAnimates, cursorOffset, paintCursorAboveText, selectionHeightStyle, selectionWidthStyle, keyboardAppearance, scrollPadding, true, dragStartBehavior, scrollController, scrollPhysics, autofillHints, restorationId, key);
},
EditableText__inferKeyboardType: function(autofillHints, maxLines) {
var effectiveHint,
t1 = autofillHints == null ? null : autofillHints.length === 0;
if (t1 !== false)
return maxLines === 1 ? C.TextInputType_0_null_null : C.TextInputType_1_null_null;
autofillHints.toString;
effectiveHint = C.JSArray_methods.get$first(autofillHints);
if (maxLines !== 1)
return C.TextInputType_1_null_null;
t1 = C.Map_iBL7U.$index(0, effectiveHint);
return t1 == null ? C.TextInputType_0_null_null : t1;
},
TextEditingController: function TextEditingController(t0, t1) {
this._change_notifier$_value = t0;
this.ChangeNotifier__listeners = t1;
},
ToolbarOptions: function ToolbarOptions(t0, t1, t2) {
this.copy = t0;
this.cut = t1;
this.paste = t2;
},
EditableText: function EditableText(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57) {
var _ = this;
_.controller = t0;
_.focusNode = t1;
_.obscuringCharacter = t2;
_.obscureText = t3;
_.textHeightBehavior = t4;
_.textWidthBasis = t5;
_.readOnly = t6;
_.forceLine = t7;
_.toolbarOptions = t8;
_.showSelectionHandles = t9;
_.showCursor = t10;
_.autocorrect = t11;
_.smartDashesType = t12;
_.smartQuotesType = t13;
_.enableSuggestions = t14;
_.style = t15;
_._editable_text$_strutStyle = t16;
_.textAlign = t17;
_.textDirection = t18;
_.textCapitalization = t19;
_.textScaleFactor = t20;
_.cursorColor = t21;
_.autocorrectionTextRectColor = t22;
_.backgroundCursorColor = t23;
_.maxLines = t24;
_.minLines = t25;
_.expands = t26;
_.autofocus = t27;
_.selectionColor = t28;
_.selectionControls = t29;
_.keyboardType = t30;
_.textInputAction = t31;
_.onChanged = t32;
_.onEditingComplete = t33;
_.onSubmitted = t34;
_.onAppPrivateCommand = t35;
_.onSelectionChanged = t36;
_.onSelectionHandleTapped = t37;
_.inputFormatters = t38;
_.mouseCursor = t39;
_.rendererIgnoresPointer = t40;
_.cursorWidth = t41;
_.cursorHeight = t42;
_.cursorRadius = t43;
_.cursorOpacityAnimates = t44;
_.cursorOffset = t45;
_.paintCursorAboveText = t46;
_.selectionHeightStyle = t47;
_.selectionWidthStyle = t48;
_.keyboardAppearance = t49;
_.scrollPadding = t50;
_.enableInteractiveSelection = t51;
_.dragStartBehavior = t52;
_.scrollController = t53;
_.scrollPhysics = t54;
_.autofillHints = t55;
_.restorationId = t56;
_.key = t57;
},
EditableTextState: function EditableTextState(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._cursorTimer = null;
_._targetCursorVisibility = false;
_._cursorVisibilityNotifier = t0;
_._editableKey = t1;
_._scrollController = _._selectionOverlay = _._textInputConnection = null;
_.__EditableTextState__cursorBlinkOpacityController = $;
_._toolbarLayerLink = t2;
_._startHandleLayerLink = t3;
_._endHandleLayerLink = t4;
_._didAutoFocus = false;
_._currentAutofillScope = _._editable_text$_focusAttachment = null;
_._isInAutofillContext = false;
_.__EditableTextState__floatingCursorResetController = $;
_._lastBoundedOffset = _._pointOffsetOrigin = _._lastTextPosition = _._startCaretRect = _._lastKnownRemoteTextEditingValue = null;
_._batchEditDepth = 0;
_._currentCaretRect = null;
_._showCaretOnScreenScheduled = false;
_.__EditableTextState__lastBottomViewInset = $;
_._obscureShowCharTicksPending = 0;
_._currentPromptRectRange = _._obscureLatestCharIndex = null;
_.TickerProviderStateMixin__tickers = t5;
_.AutomaticKeepAliveClientMixin__keepAliveHandle = t6;
_._widget = null;
_._debugLifecycleState = t7;
_._framework$_element = null;
},
EditableTextState_initState_closure: function EditableTextState_initState_closure(t0) {
this.$this = t0;
},
EditableTextState_didChangeDependencies_closure: function EditableTextState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
EditableTextState__scheduleShowCaretOnScreen_closure: function EditableTextState__scheduleShowCaretOnScreen_closure(t0) {
this.$this = t0;
},
EditableTextState__formatAndSetValue_closure: function EditableTextState__formatAndSetValue_closure(t0) {
this.$this = t0;
},
EditableTextState__cursorTick_closure: function EditableTextState__cursorTick_closure(t0) {
this.$this = t0;
},
EditableTextState__didChangeTextEditingValue_closure: function EditableTextState__didChangeTextEditingValue_closure() {
},
EditableTextState__updateSizeAndTransform_closure: function EditableTextState__updateSizeAndTransform_closure(t0) {
this.$this = t0;
},
EditableTextState__updateComposingRectIfNeeded_closure: function EditableTextState__updateComposingRectIfNeeded_closure(t0) {
this.$this = t0;
},
EditableTextState__updateCaretRectIfNeeded_closure: function EditableTextState__updateCaretRectIfNeeded_closure(t0) {
this.$this = t0;
},
EditableTextState_showAutocorrectionPromptRect_closure: function EditableTextState_showAutocorrectionPromptRect_closure(t0, t1, t2) {
this.$this = t0;
this.start = t1;
this.end = t2;
},
EditableTextState__semanticsOnCopy_closure: function EditableTextState__semanticsOnCopy_closure(t0, t1) {
this.$this = t0;
this.controls = t1;
},
EditableTextState__semanticsOnCut_closure: function EditableTextState__semanticsOnCut_closure(t0, t1) {
this.$this = t0;
this.controls = t1;
},
EditableTextState__semanticsOnPaste_closure: function EditableTextState__semanticsOnPaste_closure(t0, t1) {
this.$this = t0;
this.controls = t1;
},
EditableTextState_build_closure: function EditableTextState_build_closure(t0, t1) {
this.$this = t0;
this.controls = t1;
},
_Editable: function _Editable(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39) {
var _ = this;
_.textSpan = t0;
_.value = t1;
_.cursorColor = t2;
_.startHandleLayerLink = t3;
_.endHandleLayerLink = t4;
_.backgroundCursorColor = t5;
_.showCursor = t6;
_.forceLine = t7;
_.readOnly = t8;
_.hasFocus = t9;
_.maxLines = t10;
_.minLines = t11;
_.expands = t12;
_.strutStyle = t13;
_.selectionColor = t14;
_.textScaleFactor = t15;
_.textAlign = t16;
_.textDirection = t17;
_.locale = t18;
_.obscuringCharacter = t19;
_.obscureText = t20;
_.textHeightBehavior = t21;
_.textWidthBasis = t22;
_.offset = t23;
_.onCaretChanged = t24;
_.rendererIgnoresPointer = t25;
_.cursorWidth = t26;
_.cursorHeight = t27;
_.cursorRadius = t28;
_.cursorOffset = t29;
_.paintCursorAboveText = t30;
_.selectionHeightStyle = t31;
_.selectionWidthStyle = t32;
_.enableInteractiveSelection = t33;
_.textSelectionDelegate = t34;
_.devicePixelRatio = t35;
_.promptRectRange = t36;
_.promptRectColor = t37;
_.clipBehavior = t38;
_.key = t39;
},
_EditableTextState_State_AutomaticKeepAliveClientMixin: function _EditableTextState_State_AutomaticKeepAliveClientMixin() {
},
_EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver: function _EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver() {
},
_EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver_TickerProviderStateMixin: function _EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver_TickerProviderStateMixin() {
},
_EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver_TickerProviderStateMixin_TextSelectionDelegate: function _EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver_TickerProviderStateMixin_TextSelectionDelegate() {
},
GestureDetector$: function(behavior, child, dragStartBehavior, excludeFromSemantics, key, onDoubleTap, onHorizontalDragCancel, onHorizontalDragDown, onHorizontalDragEnd, onHorizontalDragStart, onHorizontalDragUpdate, onLongPress, onPanDown, onPanEnd, onPanStart, onPanUpdate, onScaleEnd, onScaleStart, onScaleUpdate, onTap, onTapCancel, onTapDown, onTapUp, onVerticalDragEnd, onVerticalDragStart, onVerticalDragUpdate) {
return new D.GestureDetector(child, onTapDown, onTapUp, onTap, onTapCancel, onDoubleTap, onLongPress, onVerticalDragStart, onVerticalDragUpdate, onVerticalDragEnd, onHorizontalDragDown, onHorizontalDragStart, onHorizontalDragUpdate, onHorizontalDragEnd, onHorizontalDragCancel, onPanDown, onPanStart, onPanUpdate, onPanEnd, onScaleStart, onScaleUpdate, onScaleEnd, behavior, excludeFromSemantics, dragStartBehavior, key);
},
GestureRecognizerFactory: function GestureRecognizerFactory() {
},
GestureRecognizerFactoryWithHandlers: function GestureRecognizerFactoryWithHandlers(t0, t1, t2) {
this._constructor = t0;
this._initializer = t1;
this.$ti = t2;
},
GestureDetector: function GestureDetector(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25) {
var _ = this;
_.child = t0;
_.onTapDown = t1;
_.onTapUp = t2;
_.onTap = t3;
_.onTapCancel = t4;
_.onDoubleTap = t5;
_.onLongPress = t6;
_.onVerticalDragStart = t7;
_.onVerticalDragUpdate = t8;
_.onVerticalDragEnd = t9;
_.onHorizontalDragDown = t10;
_.onHorizontalDragStart = t11;
_.onHorizontalDragUpdate = t12;
_.onHorizontalDragEnd = t13;
_.onHorizontalDragCancel = t14;
_.onPanDown = t15;
_.onPanStart = t16;
_.onPanUpdate = t17;
_.onPanEnd = t18;
_.onScaleStart = t19;
_.onScaleUpdate = t20;
_.onScaleEnd = t21;
_.behavior = t22;
_.excludeFromSemantics = t23;
_.dragStartBehavior = t24;
_.key = t25;
},
GestureDetector_build_closure: function GestureDetector_build_closure(t0) {
this.$this = t0;
},
GestureDetector_build_closure0: function GestureDetector_build_closure0(t0) {
this.$this = t0;
},
GestureDetector_build_closure1: function GestureDetector_build_closure1(t0) {
this.$this = t0;
},
GestureDetector_build_closure2: function GestureDetector_build_closure2(t0) {
this.$this = t0;
},
GestureDetector_build_closure3: function GestureDetector_build_closure3(t0) {
this.$this = t0;
},
GestureDetector_build_closure4: function GestureDetector_build_closure4(t0) {
this.$this = t0;
},
GestureDetector_build_closure5: function GestureDetector_build_closure5(t0) {
this.$this = t0;
},
GestureDetector_build_closure6: function GestureDetector_build_closure6(t0) {
this.$this = t0;
},
GestureDetector_build_closure7: function GestureDetector_build_closure7(t0) {
this.$this = t0;
},
GestureDetector_build_closure8: function GestureDetector_build_closure8(t0) {
this.$this = t0;
},
GestureDetector_build_closure9: function GestureDetector_build_closure9(t0) {
this.$this = t0;
},
GestureDetector_build_closure10: function GestureDetector_build_closure10(t0) {
this.$this = t0;
},
GestureDetector_build_closure11: function GestureDetector_build_closure11(t0) {
this.$this = t0;
},
GestureDetector_build_closure12: function GestureDetector_build_closure12(t0) {
this.$this = t0;
},
RawGestureDetector: function RawGestureDetector(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.child = t0;
_.gestures = t1;
_.behavior = t2;
_.excludeFromSemantics = t3;
_.semantics = t4;
_.key = t5;
},
RawGestureDetectorState: function RawGestureDetectorState(t0, t1) {
var _ = this;
_._recognizers = t0;
_._widget = _._gesture_detector$_semantics = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_GestureSemantics: function _GestureSemantics(t0, t1, t2, t3) {
var _ = this;
_.behavior = t0;
_.assignSemantics = t1;
_.child = t2;
_.key = t3;
},
SemanticsGestureDelegate: function SemanticsGestureDelegate() {
},
_DefaultSemanticsGestureDelegate: function _DefaultSemanticsGestureDelegate(t0) {
this.detectorState = t0;
},
_DefaultSemanticsGestureDelegate__getTapHandler_closure: function _DefaultSemanticsGestureDelegate__getTapHandler_closure(t0) {
this.tap = t0;
},
_DefaultSemanticsGestureDelegate__getLongPressHandler_closure: function _DefaultSemanticsGestureDelegate__getLongPressHandler_closure(t0) {
this.longPress = t0;
},
_DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure: function _DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure(t0) {
this.horizontal = t0;
},
_DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure0: function _DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure0(t0) {
this.pan = t0;
},
_DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure1: function _DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure1(t0, t1) {
this.horizontalHandler = t0;
this.panHandler = t1;
},
_DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure: function _DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure(t0) {
this.vertical = t0;
},
_DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure0: function _DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure0(t0) {
this.pan = t0;
},
_DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure1: function _DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure1(t0, t1) {
this.verticalHandler = t0;
this.panHandler = t1;
},
PageController$: function(initialPage, viewportFraction) {
return new D.PageController(initialPage, viewportFraction, 0, null, H.setRuntimeTypeInfo([], type$.JSArray_ScrollPosition), new P.LinkedList(type$.LinkedList__ListenerEntry));
},
PageView$builder: function(controller, itemBuilder, itemCount, key, onPageChanged, physics, reverse, scrollDirection) {
var t1 = controller == null ? $.$get$_defaultPageController() : controller;
return new D.PageView(scrollDirection, false, t1, physics, onPageChanged, new G.SliverChildBuilderDelegate(itemBuilder, itemCount, true, true, true, G.sliver___kDefaultSemanticIndexCallback$closure()), C.DragStartBehavior_1, key);
},
PageController: function PageController(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.initialPage = t0;
_.viewportFraction = t1;
_._initialScrollOffset = t2;
_.debugLabel = t3;
_._positions = t4;
_.ChangeNotifier__listeners = t5;
},
PageMetrics: function PageMetrics(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.viewportFraction = t0;
_._scroll_metrics$_minScrollExtent = t1;
_._scroll_metrics$_maxScrollExtent = t2;
_._scroll_metrics$_pixels = t3;
_._scroll_metrics$_viewportDimension = t4;
_.axisDirection = t5;
},
_PagePosition: function _PagePosition(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_._pageToUseOnStartup = t0;
_._viewportFraction = t1;
_._heldPreviousVelocity = 0;
_._userScrollDirection = t2;
_._currentDrag = null;
_.physics = t3;
_.context = t4;
_.keepScrollOffset = t5;
_.debugLabel = t6;
_._maxScrollExtent = _._minScrollExtent = null;
_._impliedVelocity = 0;
_._viewportDimension = _._pixels = null;
_._haveDimensions = false;
_._didChangeViewportDimensionOrReceiveCorrection = true;
_._pendingDimensions = false;
_._semanticActions = _._scroll_position$_lastMetrics = null;
_.isScrollingNotifier = t7;
_._activity = null;
_.ChangeNotifier__listeners = t8;
},
_ForceImplicitScrollPhysics: function _ForceImplicitScrollPhysics(t0, t1) {
this.allowImplicitScrolling = t0;
this.parent = t1;
},
PageScrollPhysics: function PageScrollPhysics(t0) {
this.parent = t0;
},
PageView: function PageView(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.scrollDirection = t0;
_.reverse = t1;
_.controller = t2;
_.physics = t3;
_.onPageChanged = t4;
_.childrenDelegate = t5;
_.dragStartBehavior = t6;
_.key = t7;
},
_PageViewState: function _PageViewState(t0) {
var _ = this;
_._lastReportedPage = 0;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_PageViewState_build_closure0: function _PageViewState_build_closure0(t0) {
this.$this = t0;
},
_PageViewState_build_closure: function _PageViewState_build_closure(t0, t1) {
this.$this = t0;
this.axisDirection = t1;
},
DefaultCacheManager: function DefaultCacheManager(t0, t1, t2) {
var _ = this;
_.ImageCacheManager__runningResizes = t0;
_._cache_manager$_config = t1;
_._cache_manager$_store = t2;
_.__CacheManager__webHelper = $;
},
_DefaultCacheManager_CacheManager_ImageCacheManager: function _DefaultCacheManager_CacheManager_ImageCacheManager() {
},
CacheStore$: function(config) {
var t1 = type$.String,
t2 = Date.now();
return new D.CacheStore(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Future_nullable_CacheObject), P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.CacheObject), config.fileSystem, config, config.repo.open$0(0).then$1$1(0, new D.CacheStore_closure(config), type$.CacheInfoRepository), new P.DateTime(t2, false));
},
CacheStore: function CacheStore(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._futureCache = t0;
_._cache_store$_memCache = t1;
_.fileSystem = t2;
_._cache_store$_config = t3;
_._cacheInfoRepository = t4;
_.lastCleanupRun = t5;
_._scheduledCleanup = null;
},
CacheStore_closure: function CacheStore_closure(t0) {
this.config = t0;
},
CacheStore_retrieveCacheData_closure: function CacheStore_retrieveCacheData_closure(t0, t1, t2) {
this.$this = t0;
this.key = t1;
this.completer = t2;
},
CacheStore__scheduleCleanup_closure: function CacheStore__scheduleCleanup_closure(t0) {
this.$this = t0;
},
DownloadProgress: function DownloadProgress(t0, t1) {
this.totalSize = t0;
this.downloaded = t1;
},
Registrar: function Registrar() {
},
Registrar_send_closure: function Registrar_send_closure(t0) {
this.completer = t0;
},
PluginRegistry: function PluginRegistry(t0) {
this._handlers = t0;
},
MultipartRequest$: function(method, url) {
var t1 = type$.String,
t2 = H.setRuntimeTypeInfo([], type$.JSArray_MultipartFile),
t3 = $.$get$BaseRequest__tokenRE()._nativeRegExp;
if (!t3.test(method))
H.throwExpression(P.ArgumentError$value(method, "method", "Not a valid method"));
return new D.MultipartRequest(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), t2, method, url, P.LinkedHashMap_LinkedHashMap(new G.BaseRequest_closure(), new G.BaseRequest_closure0(), t1, t1));
},
MultipartRequest: function MultipartRequest(t0, t1, t2, t3, t4) {
var _ = this;
_.fields = t0;
_.files = t1;
_.method = t2;
_.url = t3;
_.headers = t4;
_._finalized = false;
},
CreditListResponse: function CreditListResponse() {
},
CreditItemResponse: function CreditItemResponse() {
},
_$CreditListResponseSerializer: function _$CreditListResponseSerializer() {
},
_$CreditItemResponseSerializer: function _$CreditItemResponseSerializer() {
},
_$CreditListResponse: function _$CreditListResponse(t0) {
this.data = t0;
this._credit_model$__hashCode = null;
},
CreditListResponseBuilder: function CreditListResponseBuilder() {
this._credit_model$_data = this._credit_model$_$v = null;
},
_$CreditItemResponse: function _$CreditItemResponse(t0) {
this.data = t0;
this._credit_model$__hashCode = null;
},
CreditItemResponseBuilder: function CreditItemResponseBuilder() {
this._credit_model$_data = this._credit_model$_$v = null;
},
DesignEntity_DesignEntity: function(design, id, state) {
var t1, t2, t3, _null = null;
if (id == null) {
t1 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t1;
t1 = "" + t1;
} else
t1 = id;
if (design == null) {
if (state == null)
t2 = _null;
else {
t2 = state.userCompanyStates;
t3 = state.uiState.selectedCompanyIndex;
t3 = J.$index$asx(t2._list, t3).designState;
t2 = t3;
}
t2 = t2 == null ? _null : t2.get$cleanDesign();
t2 = t2 == null ? _null : t2.design;
} else
t2 = design;
if (t2 == null) {
t2 = type$.legacy_String;
t2 = A.BuiltMap_BuiltMap(P.LinkedHashMap_LinkedHashMap$_literal(["header", "", "body", "", "footer", "", "product", "", "task", "", "includes", ""], t2, t2), t2, t2);
}
return D._$DesignEntity$_(0, _null, 0, _null, t2, t1, false, true, false, true, "", 0);
},
_$DesignPreviewRequest$_: function(design, entityId, entityType) {
if (design == null)
H.throwExpression(Y.BuiltValueNullFieldError$("DesignPreviewRequest", "design"));
return new D._$DesignPreviewRequest(entityType, entityId, design);
},
_$DesignEntity$_: function(archivedAt, assignedUserId, createdAt, createdUserId, design, id, isChanged, isCustom, isDeleted, isFree, $name, updatedAt) {
if (design == null)
H.throwExpression(Y.BuiltValueNullFieldError$("DesignEntity", "design"));
return new D._$DesignEntity($name, design, isCustom, isFree, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
},
DesignListResponse: function DesignListResponse() {
},
DesignItemResponse: function DesignItemResponse() {
},
DesignPreviewRequest: function DesignPreviewRequest() {
},
DesignEntity: function DesignEntity() {
},
DesignEntity_clone_closure: function DesignEntity_clone_closure() {
},
_$DesignListResponseSerializer: function _$DesignListResponseSerializer() {
},
_$DesignItemResponseSerializer: function _$DesignItemResponseSerializer() {
},
_$DesignPreviewRequestSerializer: function _$DesignPreviewRequestSerializer() {
},
_$DesignEntitySerializer: function _$DesignEntitySerializer() {
},
_$DesignListResponse: function _$DesignListResponse(t0) {
this.data = t0;
this._design_model$__hashCode = null;
},
DesignListResponseBuilder: function DesignListResponseBuilder() {
this._design_model$_data = this._design_model$_$v = null;
},
_$DesignItemResponse: function _$DesignItemResponse(t0) {
this.data = t0;
this._design_model$__hashCode = null;
},
DesignItemResponseBuilder: function DesignItemResponseBuilder() {
this._design_model$_data = this._design_model$_$v = null;
},
_$DesignPreviewRequest: function _$DesignPreviewRequest(t0, t1, t2) {
var _ = this;
_.entityType = t0;
_.entityId = t1;
_.design = t2;
_._design_model$__hashCode = null;
},
DesignPreviewRequestBuilder: function DesignPreviewRequestBuilder() {
var _ = this;
_._design = _._entityId = _._design_model$_entityType = _._design_model$_$v = null;
},
_$DesignEntity: function _$DesignEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_.name = t0;
_.design = t1;
_.isCustom = t2;
_.isFree = t3;
_.isChanged = t4;
_.createdAt = t5;
_.updatedAt = t6;
_.archivedAt = t7;
_.isDeleted = t8;
_.createdUserId = t9;
_.assignedUserId = t10;
_.id = t11;
_._design_model$__hashCode = null;
},
DesignEntityBuilder: function DesignEntityBuilder() {
var _ = this;
_._design_model$_id = _._design_model$_assignedUserId = _._design_model$_createdUserId = _._design_model$_isDeleted = _._design_model$_archivedAt = _._design_model$_updatedAt = _._design_model$_createdAt = _._design_model$_isChanged = _._isFree = _._isCustom = _._design = _._design_model$_name = _._design_model$_$v = null;
},
_DesignEntity_Object_BaseEntity: function _DesignEntity_Object_BaseEntity() {
},
DocumentEntity_DocumentEntity: function(id) {
var t1;
if (id == null) {
t1 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t1;
t1 = "" + t1;
} else
t1 = id;
return D._$DocumentEntity$_(0, "", 0, "", "", 0, t1, false, false, false, "", "", 0, "", 0, "", 0);
},
_$DocumentEntity$_: function(archivedAt, assignedUserId, createdAt, createdUserId, hash, height, id, isChanged, isDefault, isDeleted, $name, preview, size, type, updatedAt, url, width) {
return new D._$DocumentEntity($name, hash, type, url, width, height, size, preview, isDefault, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
},
DocumentListResponse: function DocumentListResponse() {
},
DocumentItemResponse: function DocumentItemResponse() {
},
DocumentEntity: function DocumentEntity() {
},
_$DocumentListResponseSerializer: function _$DocumentListResponseSerializer() {
},
_$DocumentItemResponseSerializer: function _$DocumentItemResponseSerializer() {
},
_$DocumentEntitySerializer: function _$DocumentEntitySerializer() {
},
_$DocumentListResponse: function _$DocumentListResponse(t0) {
this.data = t0;
this._document_model$__hashCode = null;
},
DocumentListResponseBuilder: function DocumentListResponseBuilder() {
this._document_model$_data = this._document_model$_$v = null;
},
_$DocumentItemResponse: function _$DocumentItemResponse(t0) {
this.data = t0;
this._document_model$__hashCode = null;
},
DocumentItemResponseBuilder: function DocumentItemResponseBuilder() {
this._document_model$_data = this._document_model$_$v = null;
},
_$DocumentEntity: function _$DocumentEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
var _ = this;
_.name = t0;
_.hash = t1;
_.type = t2;
_.url = t3;
_.width = t4;
_.height = t5;
_.size = t6;
_.preview = t7;
_.isDefault = t8;
_.isChanged = t9;
_.createdAt = t10;
_.updatedAt = t11;
_.archivedAt = t12;
_.isDeleted = t13;
_.createdUserId = t14;
_.assignedUserId = t15;
_.id = t16;
_._document_model$__hashCode = null;
},
DocumentEntityBuilder: function DocumentEntityBuilder() {
var _ = this;
_._document_model$_id = _._document_model$_assignedUserId = _._document_model$_createdUserId = _._document_model$_isDeleted = _._document_model$_archivedAt = _._document_model$_updatedAt = _._document_model$_createdAt = _._document_model$_isChanged = _._isDefault = _._preview = _._size = _._document_model$_height = _._document_model$_width = _._url = _._type = _._hash = _._document_model$_name = _._document_model$_$v = null;
},
_DocumentEntity_Object_BaseEntity: function _DocumentEntity_Object_BaseEntity() {
},
_DocumentEntity_Object_BaseEntity_SelectableEntity: function _DocumentEntity_Object_BaseEntity_SelectableEntity() {
},
EntityAction_emailEntityType: function(entityType) {
switch (entityType) {
case C.EntityType_invoice:
return C.EntityAction_emailInvoice;
case C.EntityType_quote:
return C.EntityAction_emailQuote;
case C.EntityType_credit:
return C.EntityAction_emailCredit;
default:
return null;
}
},
EntityAction_newEntityType: function(entityType) {
switch (entityType) {
case C.EntityType_client:
return C.EntityAction_newClient;
case C.EntityType_invoice:
return C.EntityAction_newInvoice;
case C.EntityType_recurringInvoice:
return C.EntityAction_newRecurringInvoice;
case C.EntityType_quote:
return C.EntityAction_newQuote;
case C.EntityType_credit:
return C.EntityAction_newCredit;
case C.EntityType_payment:
return C.EntityAction_newPayment;
case C.EntityType_expense:
return C.EntityAction_newExpense;
case C.EntityType_recurringExpense:
return C.EntityAction_newRecurringExpense;
case C.EntityType_project:
return C.EntityAction_newProject;
case C.EntityType_task:
return C.EntityAction_newTask;
case C.EntityType_vendor:
return C.EntityAction_newVendor;
default:
P.print("ERROR: entityType " + H.S(entityType) + " not defined in EntityAction.newEntityType");
return null;
}
},
EntityAction: function EntityAction(t0) {
this.name = t0;
},
SizeListResponse: function SizeListResponse() {
},
SizeItemResponse: function SizeItemResponse() {
},
SizeEntity: function SizeEntity() {
},
_$SizeListResponseSerializer: function _$SizeListResponseSerializer() {
},
_$SizeItemResponseSerializer: function _$SizeItemResponseSerializer() {
},
_$SizeEntitySerializer: function _$SizeEntitySerializer() {
},
_$SizeListResponse: function _$SizeListResponse(t0) {
this.data = t0;
this._size_model$__hashCode = null;
},
SizeListResponseBuilder: function SizeListResponseBuilder() {
this._size_model$_data = this._size_model$_$v = null;
},
_$SizeItemResponse: function _$SizeItemResponse(t0) {
this.data = t0;
this._size_model$__hashCode = null;
},
SizeItemResponseBuilder: function SizeItemResponseBuilder() {
this._size_model$_data = this._size_model$_$v = null;
},
_$SizeEntity: function _$SizeEntity(t0, t1) {
this.name = t0;
this.id = t1;
this._size_model$__hashCode = null;
},
SizeEntityBuilder: function SizeEntityBuilder() {
this._size_model$_id = this._size_model$_name = this._size_model$_$v = null;
},
_SizeEntity_Object_SelectableEntity: function _SizeEntity_Object_SelectableEntity() {
},
TaskTime_TaskTime: function(endDate, startDate) {
return new D._$TaskTime(startDate == null ? P.DateTime$fromMillisecondsSinceEpoch(C.JSNumber_methods.floor$0(Date.now() / 1000) * 1000, true) : startDate, endDate);
},
TaskEntity_TaskEntity: function(client, id, project, state, user) {
var t2, t3, t4, t5, t6, t7, t8, t9, _null = null,
t1 = state == null;
if (t1)
t2 = _null;
else {
t2 = state.userCompanyStates;
t3 = state.uiState.selectedCompanyIndex;
t3 = J.$index$asx(t2._list, t3).userCompany.company;
t2 = t3;
}
t2 = t2 == null ? _null : t2.autoStartTasks;
if (id == null) {
t3 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t3;
t3 = "" + t3;
} else
t3 = id;
t4 = project == null;
t5 = t4 ? _null : project.clientId;
if (t5 == null)
t5 = client == null ? _null : client.id;
if (t5 == null)
t5 = "";
t4 = t4 ? _null : project.id;
if (t4 == null)
t4 = "";
t2 = t2 === true ? "[[" + C.JSNumber_methods.floor$0(Date.now() / 1000) + ",0]]" : "[]";
t6 = user == null ? _null : user.id;
if (t6 == null)
t6 = "";
if (t1)
t7 = _null;
else {
t7 = state.userCompanyStates;
t8 = state.uiState.selectedCompanyIndex;
t8 = J.$index$asx(t7._list, t8).taskStatusState;
t7 = t8;
}
t7 = t7 == null ? _null : t7.map;
t7 = U.defaultTaskStatusId(t7 == null ? A.BuiltMap_BuiltMap(C.Map_empty0, type$.legacy_String, type$.legacy_TaskStatusEntity) : t7);
t8 = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_DocumentEntity);
if (t1)
t1 = _null;
else {
t1 = state.userCompanyStates;
t9 = state.uiState.selectedCompanyIndex;
t9 = J.$index$asx(t1._list, t9).userCompany.company;
t1 = t9;
}
t1 = t1 == null ? _null : t1.autoStartTasks;
return D._$TaskEntity$_(0, t6, t5, 0, "", "", "", "", "", "", t8, 0, t3, "", false, false, "", t4, 0, t1 === true, t7, _null, t2, 0);
},
_$TaskEntity$_: function(archivedAt, assignedUserId, clientId, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, description, documents, duration, id, invoiceId, isChanged, isDeleted, number, projectId, rate, showAsRunning, statusId, statusOrder, timeLog, updatedAt) {
var _s10_ = "TaskEntity";
if (statusId == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "statusId"));
if (documents == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "documents"));
return new D._$TaskEntity(description, number, duration, invoiceId, clientId, rate, projectId, timeLog, customValue1, customValue2, customValue3, customValue4, statusId, statusOrder, documents, showAsRunning, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
},
TaskListResponse: function TaskListResponse() {
},
TaskItemResponse: function TaskItemResponse() {
},
TaskTime: function TaskTime() {
},
TaskTime_stop_closure: function TaskTime_stop_closure() {
},
TaskEntity: function TaskEntity() {
},
TaskEntity_clone_closure: function TaskEntity_clone_closure() {
},
TaskEntity_areTimesValid_closure: function TaskEntity_areTimesValid_closure(t0) {
this._box_0 = t0;
},
TaskEntity_isRunning_closure: function TaskEntity_isRunning_closure() {
},
TaskEntity_getTaskTimes_closure: function TaskEntity_getTaskTimes_closure(t0) {
this.details = t0;
},
TaskEntity_getTaskTimes_closure0: function TaskEntity_getTaskTimes_closure0() {
},
TaskEntity_addTaskTime_closure: function TaskEntity_addTaskTime_closure(t0) {
this.taskTimes = t0;
},
TaskEntity_updateTaskTime_closure: function TaskEntity_updateTaskTime_closure(t0) {
this.taskTimes = t0;
},
TaskEntity_deleteTaskTime_closure: function TaskEntity_deleteTaskTime_closure(t0) {
this.taskTimes = t0;
},
TaskEntity_calculateDuration_closure: function TaskEntity_calculateDuration_closure(t0, t1) {
this._box_0 = t0;
this.includeRunning = t1;
},
_$TaskListResponseSerializer: function _$TaskListResponseSerializer() {
},
_$TaskItemResponseSerializer: function _$TaskItemResponseSerializer() {
},
_$TaskEntitySerializer: function _$TaskEntitySerializer() {
},
_$TaskListResponse: function _$TaskListResponse(t0) {
this.data = t0;
this._task_model$__hashCode = null;
},
TaskListResponseBuilder: function TaskListResponseBuilder() {
this._task_model$_data = this._task_model$_$v = null;
},
_$TaskItemResponse: function _$TaskItemResponse(t0) {
this.data = t0;
this._task_model$__hashCode = null;
},
TaskItemResponseBuilder: function TaskItemResponseBuilder() {
this._task_model$_data = this._task_model$_$v = null;
},
_$TaskTime: function _$TaskTime(t0, t1) {
this.startDate = t0;
this.endDate = t1;
this._task_model$__hashCode = null;
},
TaskTimeBuilder: function TaskTimeBuilder() {
this._endDate = this._startDate = this._task_model$_$v = null;
},
_$TaskEntity: function _$TaskEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23) {
var _ = this;
_.description = t0;
_.number = t1;
_.duration = t2;
_.invoiceId = t3;
_.clientId = t4;
_.rate = t5;
_.projectId = t6;
_.timeLog = t7;
_.customValue1 = t8;
_.customValue2 = t9;
_.customValue3 = t10;
_.customValue4 = t11;
_.statusId = t12;
_.statusOrder = t13;
_.documents = t14;
_.showAsRunning = t15;
_.isChanged = t16;
_.createdAt = t17;
_.updatedAt = t18;
_.archivedAt = t19;
_.isDeleted = t20;
_.createdUserId = t21;
_.assignedUserId = t22;
_.id = t23;
_._task_model$__hashCode = null;
},
TaskEntityBuilder: function TaskEntityBuilder() {
var _ = this;
_._task_model$_id = _._task_model$_assignedUserId = _._task_model$_createdUserId = _._task_model$_isDeleted = _._task_model$_archivedAt = _._task_model$_updatedAt = _._task_model$_createdAt = _._task_model$_isChanged = _._showAsRunning = _._task_model$_documents = _._statusOrder = _._task_model$_statusId = _._task_model$_customValue4 = _._task_model$_customValue3 = _._task_model$_customValue2 = _._task_model$_customValue1 = _._timeLog = _._task_model$_projectId = _._rate = _._task_model$_clientId = _._task_model$_invoiceId = _._task_model$_duration = _._task_model$_number = _._task_model$_description = _._task_model$_$v = null;
},
_TaskEntity_Object_BaseEntity: function _TaskEntity_Object_BaseEntity() {
},
_TaskEntity_Object_BaseEntity_SelectableEntity: function _TaskEntity_Object_BaseEntity_SelectableEntity() {
},
_TaskEntity_Object_BaseEntity_SelectableEntity_BelongsToClient: function _TaskEntity_Object_BaseEntity_SelectableEntity_BelongsToClient() {
},
TokenEntity_TokenEntity: function(id, state) {
var t1;
if (id == null) {
t1 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t1;
t1 = "" + t1;
} else
t1 = id;
return D._$TokenEntity$_(0, "", 0, "", t1, false, false, false, "", "", 0);
},
TokenEntity_unobscureToken: function(value) {
if (value == null || value.length === 0)
return null;
return C.C_Utf8Codec.decode$1(0, C.C_Base64Decoder.convert$1(value));
},
_$TokenEntity$_: function(archivedAt, assignedUserId, createdAt, createdUserId, id, isChanged, isDeleted, isSystem, $name, token, updatedAt) {
return new D._$TokenEntity(isSystem, token, $name, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
},
TokenListResponse: function TokenListResponse() {
},
TokenItemResponse: function TokenItemResponse() {
},
TokenEntity: function TokenEntity() {
},
_$TokenListResponseSerializer: function _$TokenListResponseSerializer() {
},
_$TokenItemResponseSerializer: function _$TokenItemResponseSerializer() {
},
_$TokenEntitySerializer: function _$TokenEntitySerializer() {
},
_$TokenListResponse: function _$TokenListResponse(t0) {
this.data = t0;
this._token_model$__hashCode = null;
},
TokenListResponseBuilder: function TokenListResponseBuilder() {
this._token_model$_data = this._token_model$_$v = null;
},
_$TokenItemResponse: function _$TokenItemResponse(t0) {
this.data = t0;
this._token_model$__hashCode = null;
},
TokenItemResponseBuilder: function TokenItemResponseBuilder() {
this._token_model$_data = this._token_model$_$v = null;
},
_$TokenEntity: function _$TokenEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.isSystem = t0;
_.token = t1;
_.name = t2;
_.isChanged = t3;
_.createdAt = t4;
_.updatedAt = t5;
_.archivedAt = t6;
_.isDeleted = t7;
_.createdUserId = t8;
_.assignedUserId = t9;
_.id = t10;
_._token_model$__hashCode = null;
},
TokenEntityBuilder: function TokenEntityBuilder() {
var _ = this;
_._token_model$_id = _._token_model$_assignedUserId = _._token_model$_createdUserId = _._token_model$_isDeleted = _._token_model$_archivedAt = _._token_model$_updatedAt = _._token_model$_createdAt = _._token_model$_isChanged = _._token_model$_name = _._token_model$_token = _._isSystem = _._token_model$_$v = null;
},
_TokenEntity_Object_BaseEntity: function _TokenEntity_Object_BaseEntity() {
},
_TokenEntity_Object_BaseEntity_SelectableEntity: function _TokenEntity_Object_BaseEntity_SelectableEntity() {
},
dashboardUIReducer: function(state, action) {
var t1;
state.toString;
t1 = new Y.DashboardUIStateBuilder();
t1._dashboard_state$_$v = state;
new D.dashboardUIReducer_closure(state, action).call$1(t1);
return t1.build$0(0);
},
dashboardSettingsReducer: function(state, action) {
var settings;
if (action instanceof G.UpdateDashboardSettings) {
settings = action.settings;
if (settings != null)
return state.rebuild$1(new D.dashboardSettingsReducer_closure(settings));
else if (action.includeTaxes != null)
return state.rebuild$1(new D.dashboardSettingsReducer_closure0(action));
else if (action.offset != null)
return state.rebuild$1(new D.dashboardSettingsReducer_closure1(action));
else if (action.currencyId != null)
return state.rebuild$1(new D.dashboardSettingsReducer_closure2(action));
} else if (action instanceof E.SelectCompany)
return state;
return state;
},
dashboardUIReducer_closure: function dashboardUIReducer_closure(t0, t1) {
this.state = t0;
this.action = t1;
},
selectedEntitiesReducer_closure: function selectedEntitiesReducer_closure() {
},
selectedEntitiesReducer__closure0: function selectedEntitiesReducer__closure0(t0) {
this.action = t0;
},
selectedEntitiesReducer_closure0: function selectedEntitiesReducer_closure0() {
},
selectedEntitiesReducer__closure: function selectedEntitiesReducer__closure() {
},
selectedEntityTypeReducer_closure: function selectedEntityTypeReducer_closure() {
},
showSidebarReducer_closure: function showSidebarReducer_closure() {
},
dashboardSettingsReducer_closure: function dashboardSettingsReducer_closure(t0) {
this.settings = t0;
},
dashboardSettingsReducer_closure0: function dashboardSettingsReducer_closure0(t0) {
this.action = t0;
},
dashboardSettingsReducer_closure1: function dashboardSettingsReducer_closure1(t0) {
this.action = t0;
},
dashboardSettingsReducer_closure2: function dashboardSettingsReducer_closure2(t0) {
this.action = t0;
},
invoiceUIReducer: function(state, action) {
var t1;
state.toString;
t1 = new B.InvoiceUIStateBuilder();
t1._invoice_state$_$v = state;
new D.invoiceUIReducer_closure(state, action).call$1(t1);
return t1.build$0(0);
},
_clearEditing5: function(invoice, action) {
var _null = null;
return Q.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null);
},
_updateEditing6: function(invoice, action) {
return action.get$invoice();
},
_addInvoiceItem: function(invoice, action) {
var item = action.invoiceItem;
return invoice.rebuild$1(new D._addInvoiceItem_closure(item));
},
_addInvoiceItems: function(invoice, action) {
return invoice.rebuild$1(new D._addInvoiceItems_closure(action));
},
_removeInvoiceItem: function(invoice, action) {
if (J.get$length$asx(invoice.lineItems._list) <= action.index)
return invoice;
return invoice.rebuild$1(new D._removeInvoiceItem_closure(action));
},
_updateInvoiceItem: function(invoice, action) {
if (J.get$length$asx(invoice.lineItems._list) <= action.index)
return invoice;
return invoice.rebuild$1(new D._updateInvoiceItem_closure(action));
},
_viewInvoiceList0: function(invoiceListState, action) {
return invoiceListState.rebuild$1(new D._viewInvoiceList_closure());
},
_filterInvoicesByCustom1: function(invoiceListState, action) {
var t1 = invoiceListState.custom1Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return invoiceListState.rebuild$1(new D._filterInvoicesByCustom1_closure(action));
else
return invoiceListState.rebuild$1(new D._filterInvoicesByCustom1_closure0(action));
},
_filterInvoicesByCustom2: function(invoiceListState, action) {
var t1 = invoiceListState.custom2Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return invoiceListState.rebuild$1(new D._filterInvoicesByCustom2_closure(action));
else
return invoiceListState.rebuild$1(new D._filterInvoicesByCustom2_closure0(action));
},
_filterInvoicesByCustom3: function(invoiceListState, action) {
var t1 = invoiceListState.custom3Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return invoiceListState.rebuild$1(new D._filterInvoicesByCustom3_closure(action));
else
return invoiceListState.rebuild$1(new D._filterInvoicesByCustom3_closure0(action));
},
_filterInvoicesByCustom4: function(invoiceListState, action) {
var t1 = invoiceListState.custom4Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return invoiceListState.rebuild$1(new D._filterInvoicesByCustom4_closure(action));
else
return invoiceListState.rebuild$1(new D._filterInvoicesByCustom4_closure0(action));
},
_filterInvoicesByState: function(invoiceListState, action) {
var t1 = invoiceListState.stateFilters,
t2 = action.state;
if (J.contains$1$asx(t1._list, t2))
return invoiceListState.rebuild$1(new D._filterInvoicesByState_closure(action));
else
return invoiceListState.rebuild$1(new D._filterInvoicesByState_closure0(action));
},
_filterInvoicesByStatus: function(invoiceListState, action) {
var t1 = invoiceListState.statusFilters,
t2 = action.status;
if (J.contains$1$asx(t1._list, t2))
return invoiceListState.rebuild$1(new D._filterInvoicesByStatus_closure(action));
else
return invoiceListState.rebuild$1(new D._filterInvoicesByStatus_closure0(action));
},
_filterInvoices: function(invoiceListState, action) {
return invoiceListState.rebuild$1(new D._filterInvoices_closure(action, invoiceListState));
},
_sortInvoices: function(invoiceListState, action) {
return invoiceListState.rebuild$1(new D._sortInvoices_closure(action));
},
_startListMultiselect7: function(invoiceListState, action) {
return invoiceListState.rebuild$1(new D._startListMultiselect_closure20());
},
_addToListMultiselect7: function(invoiceListState, action) {
return invoiceListState.rebuild$1(new D._addToListMultiselect_closure20(action));
},
_removeFromListMultiselect7: function(invoiceListState, action) {
return invoiceListState.rebuild$1(new D._removeFromListMultiselect_closure20(action));
},
_clearListMultiselect7: function(invoiceListState, action) {
return invoiceListState.rebuild$1(new D._clearListMultiselect_closure20());
},
_markInvoicesSentSuccess: function(invoiceState, action) {
return invoiceState.rebuild$1(new D._markInvoicesSentSuccess_closure(action));
},
_markInvoicesPaidSuccess: function(invoiceState, action) {
return invoiceState.rebuild$1(new D._markInvoicesPaidSuccess_closure(action));
},
_reverseInvoicesSuccess: function(invoiceState, action) {
return invoiceState.rebuild$1(new D._reverseInvoicesSuccess_closure(action));
},
_cancelInvoicesSuccess: function(invoiceState, action) {
return invoiceState.rebuild$1(new D._cancelInvoicesSuccess_closure(action));
},
_archiveInvoiceSuccess: function(invoiceState, action) {
return invoiceState.rebuild$1(new D._archiveInvoiceSuccess_closure(action));
},
_deleteInvoiceSuccess: function(invoiceState, action) {
return invoiceState.rebuild$1(new D._deleteInvoiceSuccess_closure(action));
},
_emailInvoiceSuccess: function(invoiceState, action) {
return invoiceState.rebuild$1(new D._emailInvoiceSuccess_closure(action));
},
_restoreInvoiceSuccess: function(invoiceState, action) {
return invoiceState.rebuild$1(new D._restoreInvoiceSuccess_closure(action));
},
_addInvoice: function(invoiceState, action) {
return invoiceState.rebuild$1(new D._addInvoice_closure(action));
},
_updateInvoice: function(invoiceState, action) {
return invoiceState.rebuild$1(new D._updateInvoice_closure(action, action.get$invoice()));
},
_setLoadedInvoices: function(invoiceState, action) {
return invoiceState.loadInvoices$1(action.invoices);
},
_setLoadedCompany6: function(invoiceState, action) {
return invoiceState.loadInvoices$1(action.userCompany.company.invoices);
},
invoiceUIReducer_closure: function invoiceUIReducer_closure(t0, t1) {
this.state = t0;
this.action = t1;
},
forceSelectedReducer_closure159: function forceSelectedReducer_closure159() {
},
forceSelectedReducer_closure160: function forceSelectedReducer_closure160() {
},
forceSelectedReducer_closure161: function forceSelectedReducer_closure161() {
},
forceSelectedReducer_closure162: function forceSelectedReducer_closure162() {
},
forceSelectedReducer_closure163: function forceSelectedReducer_closure163() {
},
forceSelectedReducer_closure164: function forceSelectedReducer_closure164() {
},
forceSelectedReducer_closure165: function forceSelectedReducer_closure165() {
},
forceSelectedReducer_closure166: function forceSelectedReducer_closure166() {
},
tabIndexReducer_closure19: function tabIndexReducer_closure19() {
},
tabIndexReducer_closure20: function tabIndexReducer_closure20() {
},
historyActivityIdReducer_closure2: function historyActivityIdReducer_closure2() {
},
editingItemIndexReducer_closure1: function editingItemIndexReducer_closure1() {
},
editingItemIndexReducer_closure2: function editingItemIndexReducer_closure2() {
},
selectedIdReducer_closure316: function selectedIdReducer_closure316() {
},
selectedIdReducer_closure317: function selectedIdReducer_closure317() {
},
selectedIdReducer_closure318: function selectedIdReducer_closure318() {
},
selectedIdReducer_closure319: function selectedIdReducer_closure319() {
},
selectedIdReducer_closure320: function selectedIdReducer_closure320() {
},
selectedIdReducer_closure321: function selectedIdReducer_closure321() {
},
selectedIdReducer_closure322: function selectedIdReducer_closure322() {
},
selectedIdReducer_closure323: function selectedIdReducer_closure323() {
},
selectedIdReducer_closure324: function selectedIdReducer_closure324() {
},
selectedIdReducer_closure325: function selectedIdReducer_closure325() {
},
selectedIdReducer_closure326: function selectedIdReducer_closure326() {
},
selectedIdReducer_closure327: function selectedIdReducer_closure327() {
},
selectedIdReducer_closure328: function selectedIdReducer_closure328() {
},
selectedIdReducer_closure329: function selectedIdReducer_closure329() {
},
selectedIdReducer_closure330: function selectedIdReducer_closure330() {
},
selectedIdReducer_closure331: function selectedIdReducer_closure331() {
},
selectedIdReducer_closure332: function selectedIdReducer_closure332() {
},
selectedIdReducer_closure333: function selectedIdReducer_closure333() {
},
selectedIdReducer_closure334: function selectedIdReducer_closure334() {
},
editingReducer_closure101: function editingReducer_closure101() {
},
editingReducer__closure44: function editingReducer__closure44() {
},
editingReducer_closure102: function editingReducer_closure102() {
},
editingReducer__closure43: function editingReducer__closure43() {
},
editingReducer_closure103: function editingReducer_closure103() {
},
editingReducer_closure104: function editingReducer_closure104() {
},
editingReducer__closure42: function editingReducer__closure42() {
},
editingReducer_closure105: function editingReducer_closure105() {
},
editingReducer__closure41: function editingReducer__closure41() {
},
editingReducer_closure106: function editingReducer_closure106() {
},
editingReducer__closure40: function editingReducer__closure40(t0) {
this.client = t0;
},
editingReducer___closure2: function editingReducer___closure2() {
},
editingReducer_closure107: function editingReducer_closure107() {
},
editingReducer_closure108: function editingReducer_closure108() {
},
editingReducer_closure109: function editingReducer_closure109() {
},
editingReducer_closure110: function editingReducer_closure110() {
},
editingReducer__closure39: function editingReducer__closure39(t0) {
this.action = t0;
},
editingReducer_closure111: function editingReducer_closure111() {
},
editingReducer__closure38: function editingReducer__closure38(t0) {
this.action = t0;
},
_addInvoiceItem_closure: function _addInvoiceItem_closure(t0) {
this.item = t0;
},
_addInvoiceItems_closure: function _addInvoiceItems_closure(t0) {
this.action = t0;
},
_removeInvoiceItem_closure: function _removeInvoiceItem_closure(t0) {
this.action = t0;
},
_updateInvoiceItem_closure: function _updateInvoiceItem_closure(t0) {
this.action = t0;
},
_viewInvoiceList_closure: function _viewInvoiceList_closure() {
},
_filterInvoicesByCustom1_closure: function _filterInvoicesByCustom1_closure(t0) {
this.action = t0;
},
_filterInvoicesByCustom1_closure0: function _filterInvoicesByCustom1_closure0(t0) {
this.action = t0;
},
_filterInvoicesByCustom2_closure: function _filterInvoicesByCustom2_closure(t0) {
this.action = t0;
},
_filterInvoicesByCustom2_closure0: function _filterInvoicesByCustom2_closure0(t0) {
this.action = t0;
},
_filterInvoicesByCustom3_closure: function _filterInvoicesByCustom3_closure(t0) {
this.action = t0;
},
_filterInvoicesByCustom3_closure0: function _filterInvoicesByCustom3_closure0(t0) {
this.action = t0;
},
_filterInvoicesByCustom4_closure: function _filterInvoicesByCustom4_closure(t0) {
this.action = t0;
},
_filterInvoicesByCustom4_closure0: function _filterInvoicesByCustom4_closure0(t0) {
this.action = t0;
},
_filterInvoicesByState_closure: function _filterInvoicesByState_closure(t0) {
this.action = t0;
},
_filterInvoicesByState_closure0: function _filterInvoicesByState_closure0(t0) {
this.action = t0;
},
_filterInvoicesByStatus_closure: function _filterInvoicesByStatus_closure(t0) {
this.action = t0;
},
_filterInvoicesByStatus_closure0: function _filterInvoicesByStatus_closure0(t0) {
this.action = t0;
},
_filterInvoices_closure: function _filterInvoices_closure(t0, t1) {
this.action = t0;
this.invoiceListState = t1;
},
_sortInvoices_closure: function _sortInvoices_closure(t0) {
this.action = t0;
},
_startListMultiselect_closure20: function _startListMultiselect_closure20() {
},
_addToListMultiselect_closure20: function _addToListMultiselect_closure20(t0) {
this.action = t0;
},
_removeFromListMultiselect_closure20: function _removeFromListMultiselect_closure20(t0) {
this.action = t0;
},
_clearListMultiselect_closure20: function _clearListMultiselect_closure20() {
},
_markInvoicesSentSuccess_closure: function _markInvoicesSentSuccess_closure(t0) {
this.action = t0;
},
_markInvoicesPaidSuccess_closure: function _markInvoicesPaidSuccess_closure(t0) {
this.action = t0;
},
_reverseInvoicesSuccess_closure: function _reverseInvoicesSuccess_closure(t0) {
this.action = t0;
},
_cancelInvoicesSuccess_closure: function _cancelInvoicesSuccess_closure(t0) {
this.action = t0;
},
_archiveInvoiceSuccess_closure: function _archiveInvoiceSuccess_closure(t0) {
this.action = t0;
},
_deleteInvoiceSuccess_closure: function _deleteInvoiceSuccess_closure(t0) {
this.action = t0;
},
_emailInvoiceSuccess_closure: function _emailInvoiceSuccess_closure(t0) {
this.action = t0;
},
_restoreInvoiceSuccess_closure: function _restoreInvoiceSuccess_closure(t0) {
this.action = t0;
},
_addInvoice_closure: function _addInvoice_closure(t0) {
this.action = t0;
},
_addInvoice__closure: function _addInvoice__closure() {
},
_updateInvoice_closure: function _updateInvoice_closure(t0, t1) {
this.action = t0;
this.invoice = t1;
},
_updateInvoice__closure: function _updateInvoice__closure() {
},
_editPayment: function() {
return new D._editPayment_closure();
},
_viewRefundPayment: function() {
return new D._viewRefundPayment_closure();
},
_viewPayment: function() {
return new D._viewPayment_closure();
},
_viewPaymentList: function() {
return new D._viewPaymentList_closure0();
},
_archivePayment: function(repository) {
return new D._archivePayment_closure(repository);
},
_deletePayment: function(repository) {
return new D._deletePayment_closure(repository);
},
_restorePayment: function(repository) {
return new D._restorePayment_closure(repository);
},
_savePayment: function(repository) {
return new D._savePayment_closure(repository);
},
_refundPayment: function(repository) {
return new D._refundPayment_closure(repository);
},
_emailPayment: function(repository) {
return new D._emailPayment_closure(repository);
},
_loadPayment: function(repository) {
return new D._loadPayment_closure(repository);
},
_loadPayments: function(repository) {
return new D._loadPayments_closure(repository);
},
_editPayment_closure: function _editPayment_closure() {
},
_editPayment__closure: function _editPayment__closure() {
},
_viewRefundPayment_closure: function _viewRefundPayment_closure() {
},
_viewRefundPayment__closure: function _viewRefundPayment__closure() {
},
_viewPayment_closure: function _viewPayment_closure() {
},
_viewPaymentList_closure0: function _viewPaymentList_closure0() {
},
_viewPaymentList__closure: function _viewPaymentList__closure() {
},
_archivePayment_closure: function _archivePayment_closure(t0) {
this.repository = t0;
},
_archivePayment__closure: function _archivePayment__closure(t0) {
this.store = t0;
},
_archivePayment__closure0: function _archivePayment__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archivePayment__closure1: function _archivePayment__closure1(t0, t1, t2) {
this.store = t0;
this.prevPayments = t1;
this.action = t2;
},
_deletePayment_closure: function _deletePayment_closure(t0) {
this.repository = t0;
},
_deletePayment__closure: function _deletePayment__closure(t0) {
this.store = t0;
},
_deletePayment__closure0: function _deletePayment__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_deletePayment__closure1: function _deletePayment__closure1(t0, t1, t2) {
this.store = t0;
this.prevPayments = t1;
this.action = t2;
},
_restorePayment_closure: function _restorePayment_closure(t0) {
this.repository = t0;
},
_restorePayment__closure: function _restorePayment__closure(t0) {
this.store = t0;
},
_restorePayment__closure0: function _restorePayment__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restorePayment__closure1: function _restorePayment__closure1(t0, t1, t2) {
this.store = t0;
this.prevPayments = t1;
this.action = t2;
},
_savePayment_closure: function _savePayment_closure(t0) {
this.repository = t0;
},
_savePayment__closure: function _savePayment__closure(t0, t1) {
this.action = t0;
this.store = t1;
},
_savePayment__closure0: function _savePayment__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_refundPayment_closure: function _refundPayment_closure(t0) {
this.repository = t0;
},
_refundPayment__closure: function _refundPayment__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_refundPayment__closure0: function _refundPayment__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_emailPayment_closure: function _emailPayment_closure(t0) {
this.repository = t0;
},
_emailPayment__closure: function _emailPayment__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_emailPayment__closure0: function _emailPayment__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadPayment_closure: function _loadPayment_closure(t0) {
this.repository = t0;
},
_loadPayment__closure: function _loadPayment__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadPayment__closure0: function _loadPayment__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadPayments_closure: function _loadPayments_closure(t0) {
this.repository = t0;
},
_loadPayments__closure: function _loadPayments__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadPayments__closure0: function _loadPayments__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
handlePaymentTermAction: function(context, paymentTerms, action) {
var store, t1, paymentTerm, t2, paymentTermIds, message, _i, t3, _s6_ = ":value",
_s12_ = "_dispatchers";
if (paymentTerms.length === 0)
return;
store = O.StoreProvider_of(context, type$.legacy_AppState);
t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
paymentTerm = type$.legacy_PaymentTermEntity._as(C.JSArray_methods.get$first(paymentTerms));
t2 = H._arrayInstanceType(paymentTerms)._eval$1("MappedListIterable<1,String*>");
paymentTermIds = P.List_List$of(new H.MappedListIterable(paymentTerms, new D.handlePaymentTermAction_closure(), t2), true, t2._eval$1("ListIterable.E"));
switch (action) {
case C.EntityAction_edit:
M.editEntity(null, context, paymentTerm, null);
break;
case C.EntityAction_restore:
t2 = paymentTermIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_payment_terms");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_payment_term");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new D.RestorePaymentTermsRequest(t1, paymentTermIds));
break;
case C.EntityAction_archive:
t2 = paymentTermIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_payment_terms");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_payment_term");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new D.ArchivePaymentTermsRequest(t1, paymentTermIds));
break;
case C.EntityAction_delete:
t2 = paymentTermIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_payment_terms");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_payment_term");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new D.DeletePaymentTermsRequest(t1, paymentTermIds));
break;
case C.EntityAction_toggleMultiselect:
if (store.get$_store$_state().uiState.paymentTermUIState.listUIState.selectedIds == null)
J.$index$asx(store.get$_dispatchers(), 0).call$1(new D.StartPaymentTermMultiselect());
t1 = paymentTerms.length;
if (t1 === 0)
break;
for (_i = 0; _i < paymentTerms.length; paymentTerms.length === t1 || (0, H.throwConcurrentModificationError)(paymentTerms), ++_i) {
paymentTerm = paymentTerms[_i];
t2 = store.__Store__state;
t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI("_state")) : t2).uiState.paymentTermUIState.listUIState;
t3 = J.get$id$x(paymentTerm);
t2 = t2.selectedIds;
t2 = t2 != null && J.contains$1$asx(t2._list, t3);
t3 = store.__Store__dispatchers;
if (!t2)
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new D.AddToPaymentTermMultiselect(paymentTerm));
else
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new D.RemoveFromPaymentTermMultiselect(paymentTerm));
}
break;
case C.EntityAction_more:
L.showEntityActionsDialog(null, H.setRuntimeTypeInfo([paymentTerm], type$.JSArray_legacy_BaseEntity), false);
break;
}
},
ViewPaymentTermList: function ViewPaymentTermList() {
},
ViewPaymentTerm: function ViewPaymentTerm(t0) {
this.paymentTermId = t0;
},
EditPaymentTerm: function EditPaymentTerm(t0) {
this.paymentTerm = t0;
},
UpdatePaymentTerm: function UpdatePaymentTerm(t0) {
this.paymentTerm = t0;
},
LoadPaymentTermRequest: function LoadPaymentTermRequest() {
},
LoadPaymentTermFailure: function LoadPaymentTermFailure(t0) {
this.error = t0;
},
LoadPaymentTermSuccess: function LoadPaymentTermSuccess(t0) {
this.paymentTerm = t0;
},
LoadPaymentTermsRequest: function LoadPaymentTermsRequest() {
},
LoadPaymentTermsFailure: function LoadPaymentTermsFailure(t0) {
this.error = t0;
},
LoadPaymentTermsSuccess: function LoadPaymentTermsSuccess(t0) {
this.paymentTerms = t0;
},
SavePaymentTermRequest: function SavePaymentTermRequest(t0, t1) {
this.completer = t0;
this.paymentTerm = t1;
},
SavePaymentTermSuccess: function SavePaymentTermSuccess(t0) {
this.paymentTerm = t0;
},
AddPaymentTermSuccess: function AddPaymentTermSuccess(t0) {
this.paymentTerm = t0;
},
SavePaymentTermFailure: function SavePaymentTermFailure() {
},
ArchivePaymentTermsRequest: function ArchivePaymentTermsRequest(t0, t1) {
this.completer = t0;
this.paymentTermIds = t1;
},
ArchivePaymentTermsSuccess: function ArchivePaymentTermsSuccess(t0) {
this.paymentTerms = t0;
},
ArchivePaymentTermsFailure: function ArchivePaymentTermsFailure() {
},
DeletePaymentTermsRequest: function DeletePaymentTermsRequest(t0, t1) {
this.completer = t0;
this.paymentTermIds = t1;
},
DeletePaymentTermsSuccess: function DeletePaymentTermsSuccess(t0) {
this.paymentTerms = t0;
},
DeletePaymentTermsFailure: function DeletePaymentTermsFailure() {
},
RestorePaymentTermsRequest: function RestorePaymentTermsRequest(t0, t1) {
this.completer = t0;
this.paymentTermIds = t1;
},
RestorePaymentTermsSuccess: function RestorePaymentTermsSuccess(t0) {
this.paymentTerms = t0;
},
RestorePaymentTermsFailure: function RestorePaymentTermsFailure() {
},
FilterPaymentTerms: function FilterPaymentTerms(t0) {
this.filter = t0;
},
SortPaymentTerms: function SortPaymentTerms(t0) {
this.field = t0;
},
FilterPaymentTermsByState: function FilterPaymentTermsByState(t0) {
this.state = t0;
},
FilterPaymentTermsByCustom1: function FilterPaymentTermsByCustom1(t0) {
this.value = t0;
},
FilterPaymentTermsByCustom2: function FilterPaymentTermsByCustom2(t0) {
this.value = t0;
},
FilterPaymentTermsByCustom3: function FilterPaymentTermsByCustom3(t0) {
this.value = t0;
},
FilterPaymentTermsByCustom4: function FilterPaymentTermsByCustom4(t0) {
this.value = t0;
},
handlePaymentTermAction_closure: function handlePaymentTermAction_closure() {
},
StartPaymentTermMultiselect: function StartPaymentTermMultiselect() {
},
AddToPaymentTermMultiselect: function AddToPaymentTermMultiselect(t0) {
this.entity = t0;
},
RemoveFromPaymentTermMultiselect: function RemoveFromPaymentTermMultiselect(t0) {
this.entity = t0;
},
ClearPaymentTermMultiselect: function ClearPaymentTermMultiselect() {
},
_$ProjectState$_: function(list, map) {
var _s12_ = "ProjectState";
if (map == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "map"));
if (list == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "list"));
return new D._$ProjectState(map, list);
},
_$ProjectUIState$_: function(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) {
if (listUIState == null)
H.throwExpression(Y.BuiltValueNullFieldError$("ProjectUIState", "listUIState"));
return new D._$ProjectUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter);
},
ProjectState: function ProjectState() {
},
ProjectState_loadProjects_closure0: function ProjectState_loadProjects_closure0() {
},
ProjectState_loadProjects_closure1: function ProjectState_loadProjects_closure1() {
},
ProjectState_loadProjects_closure: function ProjectState_loadProjects_closure(t0, t1) {
this.$this = t0;
this.map = t1;
},
ProjectUIState: function ProjectUIState() {
},
_$ProjectStateSerializer: function _$ProjectStateSerializer() {
},
_$ProjectUIStateSerializer: function _$ProjectUIStateSerializer() {
},
_$ProjectState: function _$ProjectState(t0, t1) {
this.map = t0;
this.list = t1;
this._project_state$__hashCode = null;
},
ProjectStateBuilder: function ProjectStateBuilder() {
this._project_state$_list = this._project_state$_map = this._project_state$_$v = null;
},
_$ProjectUIState: function _$ProjectUIState(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.editing = t0;
_.listUIState = t1;
_.selectedId = t2;
_.forceSelected = t3;
_.tabIndex = t4;
_.saveCompleter = t5;
_.cancelCompleter = t6;
_._project_state$__hashCode = null;
},
ProjectUIStateBuilder: function ProjectUIStateBuilder() {
var _ = this;
_._project_state$_cancelCompleter = _._project_state$_saveCompleter = _._project_state$_tabIndex = _._project_state$_forceSelected = _._project_state$_selectedId = _._project_state$_listUIState = _._project_state$_editing = _._project_state$_$v = null;
},
_ProjectUIState_Object_EntityUIState: function _ProjectUIState_Object_EntityUIState() {
},
_viewSettings: function() {
return new D._viewSettings_closure();
},
_saveCompany: function(settingsRepository) {
return new D._saveCompany_closure(settingsRepository);
},
_saveAuthUser: function(settingsRepository) {
return new D._saveAuthUser_closure(settingsRepository);
},
_connectOAuthUser: function(settingsRepository) {
return new D._connectOAuthUser_closure0(settingsRepository);
},
_connectGmailUser: function(settingsRepository) {
return new D._connectGmailUser_closure0(settingsRepository);
},
_disableTwoFactor: function(settingsRepository) {
return new D._disableTwoFactor_closure(settingsRepository);
},
_saveSettings: function(settingsRepository) {
return new D._saveSettings_closure(settingsRepository);
},
_uploadLogo: function(settingsRepository) {
return new D._uploadLogo_closure(settingsRepository);
},
_saveDocument7: function(repository) {
return new D._saveDocument_closure3(repository);
},
_viewSettings_closure: function _viewSettings_closure() {
},
_viewSettings__closure: function _viewSettings__closure(t0, t1, t2, t3) {
var _ = this;
_.action = t0;
_.uiState = t1;
_.store = t2;
_.next = t3;
},
_viewSettings___closure: function _viewSettings___closure() {
},
_saveCompany_closure: function _saveCompany_closure(t0) {
this.settingsRepository = t0;
},
_saveCompany__closure: function _saveCompany__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveCompany__closure0: function _saveCompany__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveAuthUser_closure: function _saveAuthUser_closure(t0) {
this.settingsRepository = t0;
},
_saveAuthUser__closure: function _saveAuthUser__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveAuthUser__closure0: function _saveAuthUser__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_connectOAuthUser_closure0: function _connectOAuthUser_closure0(t0) {
this.settingsRepository = t0;
},
_connectOAuthUser__closure: function _connectOAuthUser__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_connectOAuthUser__closure0: function _connectOAuthUser__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_connectGmailUser_closure0: function _connectGmailUser_closure0(t0) {
this.settingsRepository = t0;
},
_connectGmailUser__closure: function _connectGmailUser__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_connectGmailUser__closure0: function _connectGmailUser__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_disableTwoFactor_closure: function _disableTwoFactor_closure(t0) {
this.settingsRepository = t0;
},
_disableTwoFactor__closure: function _disableTwoFactor__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_disableTwoFactor__closure0: function _disableTwoFactor__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveSettings_closure: function _saveSettings_closure(t0) {
this.settingsRepository = t0;
},
_saveSettings__closure: function _saveSettings__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveSettings__closure0: function _saveSettings__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_uploadLogo_closure: function _uploadLogo_closure(t0) {
this.settingsRepository = t0;
},
_uploadLogo__closure: function _uploadLogo__closure(t0, t1) {
this.action = t0;
this.store = t1;
},
_uploadLogo__closure0: function _uploadLogo__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument_closure3: function _saveDocument_closure3(t0) {
this.repository = t0;
},
_saveDocument__closure7: function _saveDocument__closure7(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument__closure8: function _saveDocument__closure8(t0, t1) {
this.store = t0;
this.action = t1;
},
_editToken: function() {
return new D._editToken_closure();
},
_viewToken: function() {
return new D._viewToken_closure();
},
_viewTokenList: function() {
return new D._viewTokenList_closure0();
},
_archiveToken: function(repository) {
return new D._archiveToken_closure(repository);
},
_deleteToken: function(repository) {
return new D._deleteToken_closure(repository);
},
_restoreToken: function(repository) {
return new D._restoreToken_closure(repository);
},
_saveToken: function(repository) {
return new D._saveToken_closure(repository);
},
_loadToken: function(repository) {
return new D._loadToken_closure(repository);
},
_loadTokens: function(repository) {
return new D._loadTokens_closure(repository);
},
_editToken_closure: function _editToken_closure() {
},
_viewToken_closure: function _viewToken_closure() {
},
_viewTokenList_closure0: function _viewTokenList_closure0() {
},
_viewTokenList__closure: function _viewTokenList__closure() {
},
_archiveToken_closure: function _archiveToken_closure(t0) {
this.repository = t0;
},
_archiveToken__closure: function _archiveToken__closure(t0) {
this.store = t0;
},
_archiveToken__closure0: function _archiveToken__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archiveToken__closure1: function _archiveToken__closure1(t0, t1, t2) {
this.store = t0;
this.prevTokens = t1;
this.action = t2;
},
_deleteToken_closure: function _deleteToken_closure(t0) {
this.repository = t0;
},
_deleteToken__closure: function _deleteToken__closure(t0) {
this.store = t0;
},
_deleteToken__closure0: function _deleteToken__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_deleteToken__closure1: function _deleteToken__closure1(t0, t1, t2) {
this.store = t0;
this.prevTokens = t1;
this.action = t2;
},
_restoreToken_closure: function _restoreToken_closure(t0) {
this.repository = t0;
},
_restoreToken__closure: function _restoreToken__closure(t0) {
this.store = t0;
},
_restoreToken__closure0: function _restoreToken__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restoreToken__closure1: function _restoreToken__closure1(t0, t1, t2) {
this.store = t0;
this.prevTokens = t1;
this.action = t2;
},
_saveToken_closure: function _saveToken_closure(t0) {
this.repository = t0;
},
_saveToken__closure: function _saveToken__closure(t0, t1) {
this.action = t0;
this.store = t1;
},
_saveToken__closure0: function _saveToken__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadToken_closure: function _loadToken_closure(t0) {
this.repository = t0;
},
_loadToken__closure: function _loadToken__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadToken__closure0: function _loadToken__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadTokens_closure: function _loadTokens_closure(t0) {
this.repository = t0;
},
_loadTokens__closure: function _loadTokens__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadTokens__closure0: function _loadTokens__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
uiReducer: function(state, action) {
return state.rebuild$1(new D.uiReducer_closure(state, action, $.$get$currentRouteReducer().call$2(state.currentRoute, action)));
},
uiReducer_closure: function uiReducer_closure(t0, t1, t2) {
this.state = t0;
this.action = t1;
this.currentRoute = t2;
},
lastActivityReducer_closure: function lastActivityReducer_closure() {
},
filterReducer_closure: function filterReducer_closure() {
},
filterReducer_closure0: function filterReducer_closure0() {
},
filterClearedAtReducer_closure: function filterClearedAtReducer_closure() {
},
filterClearedAtReducer_closure0: function filterClearedAtReducer_closure0() {
},
currentRouteReducer_closure: function currentRouteReducer_closure() {
},
selectedCompanyIndexReducer_closure: function selectedCompanyIndexReducer_closure() {
},
previewStackReducer_closure: function previewStackReducer_closure() {
},
previewStackReducer__closure: function previewStackReducer__closure(t0) {
this.action = t0;
},
previewStackReducer_closure0: function previewStackReducer_closure0() {
},
previewStackReducer_closure1: function previewStackReducer_closure1() {
},
filterStackReducer_closure: function filterStackReducer_closure() {
},
filterStackReducer_closure0: function filterStackReducer_closure0() {
},
filterStackReducer__closure: function filterStackReducer__closure(t0) {
this.action = t0;
},
filterStackReducer_closure1: function filterStackReducer_closure1() {
},
ActionMenuButton$: function(entity, entityActions, iconData, iconSize, isSaving, onSelected) {
return new D.ActionMenuButton(entityActions, onSelected, isSaving, iconData, iconSize, null);
},
ActionMenuButton: function ActionMenuButton(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.entityActions = t0;
_.onSelected = t1;
_.isSaving = t2;
_.iconData = t3;
_.iconSize = t4;
_.key = t5;
},
ActionMenuButton_build_closure: function ActionMenuButton_build_closure(t0, t1) {
this.actions = t0;
this.context = t1;
},
ActionMenuButton_build_closure0: function ActionMenuButton_build_closure0(t0) {
this.actions = t0;
},
ActionMenuButton_build_closure1: function ActionMenuButton_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
ViewActionMenuButton: function ViewActionMenuButton(t0, t1, t2, t3, t4) {
var _ = this;
_.entity = t0;
_.entityActions = t1;
_.onSelected = t2;
_.isSaving = t3;
_.key = t4;
},
AppButton: function AppButton(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.color = t0;
_.iconData = t1;
_.label = t2;
_.onPressed = t3;
_.width = t4;
_.key = t5;
},
EntityHeader$: function(entity, label, secondLabel, secondValue, statusColor, statusLabel, value) {
return new D.EntityHeader(entity, statusLabel, label, value, secondLabel, secondValue, null);
},
EntityHeader: function EntityHeader(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.entity = t0;
_.statusLabel = t1;
_.label = t2;
_.value = t3;
_.secondLabel = t4;
_.secondValue = t5;
_.key = t6;
},
EntityHeader_build__value1: function EntityHeader_build__value1(t0, t1) {
this.$this = t0;
this.textColor = t1;
},
EntityHeader_build__value2: function EntityHeader_build__value2(t0, t1) {
this.$this = t0;
this.textColor = t1;
},
TaxRateDropdown: function TaxRateDropdown(t0, t1, t2, t3, t4) {
var _ = this;
_.labelText = t0;
_.onSelected = t1;
_.initialTaxName = t2;
_.initialTaxRate = t3;
_.key = t4;
},
_TaxRateDropdownState: function _TaxRateDropdownState(t0, t1) {
var _ = this;
_._tax_rate_dropdown$_textController = t0;
_._widget = _._selectedTaxRate = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_TaxRateDropdownState_didChangeDependencies_closure: function _TaxRateDropdownState_didChangeDependencies_closure(t0) {
this.taxState = t0;
},
_TaxRateDropdownState_didChangeDependencies_closure0: function _TaxRateDropdownState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
_TaxRateDropdownState_didChangeDependencies_closure1: function _TaxRateDropdownState_didChangeDependencies_closure1(t0) {
this.$this = t0;
},
_TaxRateDropdownState_build_closure: function _TaxRateDropdownState_build_closure(t0) {
this.taxState = t0;
},
_TaxRateDropdownState_build_closure0: function _TaxRateDropdownState_build_closure0(t0) {
this.taxState = t0;
},
_TaxRateDropdownState_build_closure1: function _TaxRateDropdownState_build_closure1(t0) {
this.$this = t0;
},
_TaxRateDropdownState_build_closure2: function _TaxRateDropdownState_build_closure2(t0) {
this.$this = t0;
},
_TaxRateDropdownState_build_closure3: function _TaxRateDropdownState_build_closure3(t0) {
this.$this = t0;
},
CachedImage$: function(url, width) {
return new D.CachedImage(url, width, null);
},
CachedImage: function CachedImage(t0, t1, t2) {
this.url = t0;
this.width = t1;
this.key = t2;
},
EntityDataTableSource: function EntityDataTableSource(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.entityType = t0;
_.editingId = t1;
_.context = t2;
_.entityList = t3;
_.entityPresenter = t4;
_.entityMap = t5;
_.tableColumns = t6;
_.onTap = t7;
_.ChangeNotifier__listeners = t8;
},
EntityDataTableSource_getRow_closure: function EntityDataTableSource_getRow_closure() {
},
EntityDataTableSource_getRow_closure0: function EntityDataTableSource_getRow_closure0(t0, t1) {
this.$this = t0;
this.entity = t1;
},
EntityDataTableSource_getRow_closure1: function EntityDataTableSource_getRow_closure1(t0) {
this.entity = t0;
},
EntityDataTableSource_getRow_closure2: function EntityDataTableSource_getRow_closure2(t0, t1) {
this.$this = t0;
this.entity = t1;
},
EntityDataTableSource_getRow_closure3: function EntityDataTableSource_getRow_closure3(t0, t1, t2) {
this._box_0 = t0;
this.$this = t1;
this.entity = t2;
},
EntityDataTableSource_getRow__closure: function EntityDataTableSource_getRow__closure(t0, t1) {
this.$this = t0;
this.entity = t1;
},
ClientScreenVM_fromStore: function(store) {
var t4, t5, t6, t7, t8, t9,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t4.$index(t1, t3).clientState.toString;
t5 = $.$get$memoizedFilteredClientList();
t6 = state.getUISelection$1(C.EntityType_client);
t7 = t4.$index(t1, t3).clientState.map;
t8 = t4.$index(t1, t3).clientState.list;
t9 = t4.$index(t1, t3).groupState.map;
t2 = t2.clientUIState.listUIState;
t9 = t5.call$7(t6, t7, t8, t9, t2, t4.$index(t1, t3).userState.map, state.staticState);
t4.$index(t1, t3).toString;
t2.toString;
return new D.ClientScreenVM(t9);
},
ClientScreenBuilder: function ClientScreenBuilder(t0) {
this.key = t0;
},
ClientScreenBuilder_build_closure: function ClientScreenBuilder_build_closure() {
},
ClientScreenVM: function ClientScreenVM(t0) {
this.clientList = t0;
},
CompanyGatewayScreen: function CompanyGatewayScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
CompanyGatewayScreen_build_closure11: function CompanyGatewayScreen_build_closure11(t0) {
this.store = t0;
},
CompanyGatewayScreen_build_closure10: function CompanyGatewayScreen_build_closure10(t0) {
this.store = t0;
},
CompanyGatewayScreen_build_closure: function CompanyGatewayScreen_build_closure(t0, t1, t2) {
this.$this = t0;
this.listUIState = t1;
this.store = t2;
},
CompanyGatewayScreen_build__closure0: function CompanyGatewayScreen_build__closure0(t0) {
this.$this = t0;
},
CompanyGatewayScreen_build__closure1: function CompanyGatewayScreen_build__closure1(t0) {
this.store = t0;
},
CompanyGatewayScreen_build_closure0: function CompanyGatewayScreen_build_closure0(t0) {
this.store = t0;
},
CompanyGatewayScreen_build_closure1: function CompanyGatewayScreen_build_closure1(t0, t1) {
this.settingsUIState = t0;
this.store = t1;
},
CompanyGatewayScreen_build__closure: function CompanyGatewayScreen_build__closure() {
},
CompanyGatewayScreen_build_closure2: function CompanyGatewayScreen_build_closure2(t0, t1) {
this.settingsUIState = t0;
this.store = t1;
},
CompanyGatewayScreen_build_closure4: function CompanyGatewayScreen_build_closure4(t0) {
this.store = t0;
},
CompanyGatewayScreen_build_closure5: function CompanyGatewayScreen_build_closure5(t0) {
this.store = t0;
},
CompanyGatewayScreen_build_closure6: function CompanyGatewayScreen_build_closure6(t0) {
this.store = t0;
},
CompanyGatewayScreen_build_closure7: function CompanyGatewayScreen_build_closure7(t0) {
this.store = t0;
},
CompanyGatewayScreen_build_closure8: function CompanyGatewayScreen_build_closure8(t0) {
this.store = t0;
},
CompanyGatewayScreen_build_closure3: function CompanyGatewayScreen_build_closure3(t0) {
this.store = t0;
},
CompanyGatewayScreen_build_closure9: function CompanyGatewayScreen_build_closure9(t0, t1) {
this.settingsUIState = t0;
this.context = t1;
},
ExpenseEdit: function ExpenseEdit(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_ExpenseEditState: function _ExpenseEditState(t0, t1) {
var _ = this;
_._expense_edit$_controller = null;
_.SingleTickerProviderStateMixin__ticker = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_ExpenseEditState_build_closure0: function _ExpenseEditState_build_closure0(t0) {
this.viewModel = t0;
},
_ExpenseEditState_build_closure1: function _ExpenseEditState_build_closure1(t0) {
this.viewModel = t0;
},
_ExpenseEditState_build_closure: function _ExpenseEditState_build_closure(t0) {
this.store = t0;
},
__ExpenseEditState_State_SingleTickerProviderStateMixin: function __ExpenseEditState_State_SingleTickerProviderStateMixin() {
},
ExpenseCategoryView: function ExpenseCategoryView(t0, t1, t2) {
this.viewModel = t0;
this.isFilter = t1;
this.key = t2;
},
_ExpenseCategoryViewState: function _ExpenseCategoryViewState(t0) {
this._widget = null;
this._debugLifecycleState = t0;
this._framework$_element = null;
},
_ExpenseCategoryViewState_build_closure: function _ExpenseCategoryViewState_build_closure(t0) {
this.viewModel = t0;
},
InvoiceItemSelector: function InvoiceItemSelector(t0, t1, t2, t3, t4) {
var _ = this;
_.onItemsSelected = t0;
_.clientId = t1;
_.excluded = t2;
_.showTasksAndExpenses = t3;
_.key = t4;
},
_InvoiceItemSelectorState: function _InvoiceItemSelectorState(t0, t1, t2, t3) {
var _ = this;
_._invoice_item_selector$_tabController = _._filterClientId = _._invoice_item_selector$_filter = null;
_._invoice_item_selector$_selected = t0;
_._invoice_item_selector$_textController = t1;
_.SingleTickerProviderStateMixin__ticker = t2;
_._widget = null;
_._debugLifecycleState = t3;
_._framework$_element = null;
},
_InvoiceItemSelectorState__onItemsSelected_closure: function _InvoiceItemSelectorState__onItemsSelected_closure(t0, t1, t2, t3, t4) {
var _ = this;
_.$this = t0;
_.items = t1;
_.company = t2;
_.state = t3;
_.context = t4;
},
_InvoiceItemSelectorState__toggleEntity_closure: function _InvoiceItemSelectorState__toggleEntity_closure(t0, t1) {
this.$this = t0;
this.entity = t1;
},
_InvoiceItemSelectorState__updateClientId_closure: function _InvoiceItemSelectorState__updateClientId_closure() {
},
_InvoiceItemSelectorState__updateClientId_closure0: function _InvoiceItemSelectorState__updateClientId_closure0() {
},
_InvoiceItemSelectorState_build_closure: function _InvoiceItemSelectorState_build_closure(t0, t1) {
this.$this = t0;
this.state = t1;
},
_InvoiceItemSelectorState_build_closure0: function _InvoiceItemSelectorState_build_closure0(t0, t1) {
this.$this = t0;
this.state = t1;
},
_InvoiceItemSelectorState_build_closure1: function _InvoiceItemSelectorState_build_closure1(t0, t1) {
this.$this = t0;
this.state = t1;
},
_InvoiceItemSelectorState_build__productList: function _InvoiceItemSelectorState_build__productList(t0, t1, t2) {
this.$this = t0;
this.products = t1;
this.state = t2;
},
_InvoiceItemSelectorState_build__productList_closure: function _InvoiceItemSelectorState_build__productList_closure(t0, t1, t2) {
this.$this = t0;
this.products = t1;
this.state = t2;
},
_InvoiceItemSelectorState_build__productList__closure: function _InvoiceItemSelectorState_build__productList__closure(t0, t1) {
this.$this = t0;
this.product = t1;
},
_InvoiceItemSelectorState_build__productList__closure0: function _InvoiceItemSelectorState_build__productList__closure0(t0, t1, t2) {
this.$this = t0;
this.product = t1;
this.context = t2;
},
_InvoiceItemSelectorState_build__taskList: function _InvoiceItemSelectorState_build__taskList(t0, t1, t2) {
this.$this = t0;
this.tasks = t1;
this.state = t2;
},
_InvoiceItemSelectorState_build__taskList_closure: function _InvoiceItemSelectorState_build__taskList_closure(t0, t1, t2) {
this.$this = t0;
this.tasks = t1;
this.state = t2;
},
_InvoiceItemSelectorState_build__taskList__closure: function _InvoiceItemSelectorState_build__taskList__closure(t0, t1) {
this.$this = t0;
this.task = t1;
},
_InvoiceItemSelectorState_build__taskList__closure0: function _InvoiceItemSelectorState_build__taskList__closure0(t0, t1, t2) {
this.$this = t0;
this.task = t1;
this.context = t2;
},
_InvoiceItemSelectorState_build__expenseList: function _InvoiceItemSelectorState_build__expenseList(t0, t1, t2) {
this.$this = t0;
this.expenses = t1;
this.state = t2;
},
_InvoiceItemSelectorState_build__expenseList_closure: function _InvoiceItemSelectorState_build__expenseList_closure(t0, t1, t2) {
this.$this = t0;
this.expenses = t1;
this.state = t2;
},
_InvoiceItemSelectorState_build__expenseList__closure: function _InvoiceItemSelectorState_build__expenseList__closure(t0, t1) {
this.$this = t0;
this.expense = t1;
},
_InvoiceItemSelectorState_build__expenseList__closure0: function _InvoiceItemSelectorState_build__expenseList__closure0(t0, t1, t2) {
this.$this = t0;
this.expense = t1;
this.context = t2;
},
_InvoiceItemSelectorState_build_closure2: function _InvoiceItemSelectorState_build_closure2(t0) {
this.$this = t0;
},
_InvoiceItemSelectorState_build__closure0: function _InvoiceItemSelectorState_build__closure0(t0, t1) {
this.$this = t0;
this.value = t1;
},
_InvoiceItemSelectorState_build_closure3: function _InvoiceItemSelectorState_build_closure3(t0, t1) {
this.$this = t0;
this.context = t1;
},
_InvoiceItemSelectorState_build__closure: function _InvoiceItemSelectorState_build__closure(t0) {
this.$this = t0;
},
_InvoiceItemSelectorState_build_closure4: function _InvoiceItemSelectorState_build_closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
_InvoiceItemSelectorState_build_closure5: function _InvoiceItemSelectorState_build_closure5(t0, t1) {
this.$this = t0;
this.company = t1;
},
__InvoiceItemSelectorState_State_SingleTickerProviderStateMixin: function __InvoiceItemSelectorState_State_SingleTickerProviderStateMixin() {
},
ProjectViewDocuments: function ProjectViewDocuments(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
ProjectViewDocuments_build_closure: function ProjectViewDocuments_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ProjectViewDocuments_build_closure0: function ProjectViewDocuments_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
ProjectViewVM_ProjectViewVM$fromStore: function(store) {
var t4, t5, project, client, _null = null,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t5 = t4.$index(t1, t3).projectState.map;
t2 = t2.projectUIState.selectedId;
project = J.$index$asx(t5._map$_map, t2);
if (project == null)
project = A.ProjectEntity_ProjectEntity(_null, t2, _null, _null);
t2 = project.clientId;
client = J.$index$asx(t4.$index(t1, t3).clientState.map._map$_map, t2);
if (client == null)
client = T.ClientEntity_ClientEntity(t2, _null, _null);
t1 = t4.$index(t1, t3).userCompany.company;
project.get$isNew();
return new D.ProjectViewVM(state, project, client, t1, new D.ProjectViewVM_ProjectViewVM$fromStore_closure(state, project), new D.ProjectViewVM_ProjectViewVM$fromStore_closure0(new D.ProjectViewVM_ProjectViewVM$fromStore__handleRefresh(store, project)), new D.ProjectViewVM_ProjectViewVM$fromStore_closure1(store, project), new D.ProjectViewVM_ProjectViewVM$fromStore_closure2(store, project));
},
ProjectViewScreen: function ProjectViewScreen(t0, t1) {
this.isFilter = t0;
this.key = t1;
},
ProjectViewScreen_build_closure0: function ProjectViewScreen_build_closure0() {
},
ProjectViewScreen_build_closure: function ProjectViewScreen_build_closure(t0) {
this.$this = t0;
},
ProjectViewVM: function ProjectViewVM(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.state = t0;
_.project = t1;
_.client = t2;
_.company = t3;
_.onAddTaskPressed = t4;
_.onRefreshed = t5;
_.onUploadDocument = t6;
_.onDeleteDocument = t7;
},
ProjectViewVM_ProjectViewVM$fromStore__handleRefresh: function ProjectViewVM_ProjectViewVM$fromStore__handleRefresh(t0, t1) {
this.store = t0;
this.project = t1;
},
ProjectViewVM_ProjectViewVM$fromStore_closure0: function ProjectViewVM_ProjectViewVM$fromStore_closure0(t0) {
this._handleRefresh = t0;
},
ProjectViewVM_ProjectViewVM$fromStore_closure: function ProjectViewVM_ProjectViewVM$fromStore_closure(t0, t1) {
this.state = t0;
this.project = t1;
},
ProjectViewVM_ProjectViewVM$fromStore__closure2: function ProjectViewVM_ProjectViewVM$fromStore__closure2(t0) {
this.project = t0;
},
ProjectViewVM_ProjectViewVM$fromStore_closure1: function ProjectViewVM_ProjectViewVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.project = t1;
},
ProjectViewVM_ProjectViewVM$fromStore__closure0: function ProjectViewVM_ProjectViewVM$fromStore__closure0(t0) {
this.context = t0;
},
ProjectViewVM_ProjectViewVM$fromStore__closure1: function ProjectViewVM_ProjectViewVM$fromStore__closure1(t0) {
this.context = t0;
},
ProjectViewVM_ProjectViewVM$fromStore___closure: function ProjectViewVM_ProjectViewVM$fromStore___closure(t0) {
this.error = t0;
},
ProjectViewVM_ProjectViewVM$fromStore_closure2: function ProjectViewVM_ProjectViewVM$fromStore_closure2(t0, t1) {
this.store = t0;
this.project = t1;
},
ProjectViewVM_ProjectViewVM$fromStore__closure: function ProjectViewVM_ProjectViewVM$fromStore__closure(t0, t1) {
this.store = t0;
this.project = t1;
},
QuoteEditPDFScreen: function QuoteEditPDFScreen(t0) {
this.key = t0;
},
QuoteEditPDFScreen_build_closure0: function QuoteEditPDFScreen_build_closure0() {
},
QuoteEditPDFScreen_build_closure: function QuoteEditPDFScreen_build_closure() {
},
QuoteEditPDFVM: function QuoteEditPDFVM(t0, t1, t2) {
this.state = t0;
this.company = t1;
this.invoice = t2;
},
RecurringExpensePresenter: function RecurringExpensePresenter() {
this.context = this.entity = null;
},
lineItemReport0: function(userCompany, reportsUIState, productMap, invoiceMap, clientMap, staticState) {
var columns, productKeyMap, t4, t5, t6, t7, t8, t9, invoice, client, t10, precision, t11, t12, value, value0, value1, value2, t13, row, t14, skip, t15, value3, productId, t16, t17, t18, selectedColumns, _null = null,
_s12_ = "invoice_item",
data = H.setRuntimeTypeInfo([], type$.JSArray_legacy_List_legacy_ReportElement),
reportSettings = userCompany.settings.reportSettings,
lineItemReportSettings = reportSettings != null && J.containsKey$1$x(reportSettings._map$_map, _s12_) ? J.$index$asx(reportSettings._map$_map, _s12_) : A.ReportSettingsEntity_ReportSettingsEntity(_null, _null),
defaultColumns = H.setRuntimeTypeInfo([C.InvoiceItemReportFields_12, C.InvoiceItemReportFields_13, C.InvoiceItemReportFields_0, C.InvoiceItemReportFields_4, C.InvoiceItemReportFields_2], type$.JSArray_legacy_InvoiceItemReportFields),
t1 = lineItemReportSettings.columns._list,
t2 = J.getInterceptor$asx(t1),
t3 = type$.legacy_InvoiceItemReportFields;
if (t2.get$isNotEmpty(t1)) {
t1 = t2.map$1$1(t1, new D.lineItemReport_closure5(), t3).where$1(0, new D.lineItemReport_closure6());
columns = D.BuiltList_BuiltList$from(P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t3);
} else
columns = D.BuiltList_BuiltList$from(defaultColumns, t3);
t1 = type$.legacy_String;
productKeyMap = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
for (t2 = productMap._map$_map, t3 = J.getInterceptor$x(t2), t4 = t3.get$entries(t2), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
t5 = t4.get$current(t4);
productKeyMap.$indexSet(0, t5.get$value(t5).productKey, t5.get$value(t5).id);
}
for (t4 = J.get$entries$x(invoiceMap._map$_map), t4 = t4.get$iterator(t4), t5 = columns._list, t6 = J.getInterceptor$ax(t5), t7 = type$.JSArray_legacy_ReportElement, t8 = userCompany.company; t4.moveNext$0();) {
t9 = t4.get$current(t4);
invoice = t9.get$value(t9);
t9 = invoice.clientId;
client = J.$index$asx(clientMap._map$_map, t9);
if (client == null)
client = T.ClientEntity_ClientEntity(_null, _null, _null);
t9 = staticState.currencyMap;
t10 = client.settings.currencyId;
t9 = J.$index$asx(t9._map$_map, t10);
precision = t9 == null ? _null : t9.precision;
if (precision == null)
precision = 2;
if (invoice.isDeleted || client.isDeleted)
continue;
if (!t8.reportIncludeDrafts && invoice.statusId === "1")
continue;
for (t9 = J.get$iterator$ax(invoice.lineItems._list), t11 = invoice.id, t12 = invoice.entityType, value = invoice.dueDate, value0 = client.displayName, value1 = invoice.date, value2 = invoice.number; t9.moveNext$0();) {
t13 = t9.get$current(t9);
row = H.setRuntimeTypeInfo([], t7);
for (t14 = t6.get$iterator(t5), skip = false; t14.moveNext$0();) {
t15 = t14.get$current(t14);
value3 = t13.productKey;
productId = productKeyMap.$index(0, value3);
switch (t15) {
case C.InvoiceItemReportFields_2:
value3 = t13.cost;
break;
case C.InvoiceItemReportFields_4:
value3 = t13.quantity;
break;
case C.InvoiceItemReportFields_3:
value3 = t13.productCost;
if (!(value3 !== 0))
value3 = productId == null ? 0 : t3.$index(t2, productId).cost;
break;
case C.InvoiceItemReportFields_5:
t16 = t13.total$2(0, invoice, precision);
t17 = t13.taxAmount$2(invoice, precision);
t18 = productId == null ? 0 : t3.$index(t2, productId).cost;
value3 = t16 - t17 - t18;
break;
case C.InvoiceItemReportFields_8:
value3 = t13.customValue1;
break;
case C.InvoiceItemReportFields_9:
value3 = t13.customValue2;
break;
case C.InvoiceItemReportFields_10:
value3 = t13.customValue3;
break;
case C.InvoiceItemReportFields_11:
value3 = t13.customValue4;
break;
case C.InvoiceItemReportFields_1:
value3 = t13.notes;
break;
case C.InvoiceItemReportFields_6:
value3 = t13.total$2(0, invoice, precision);
break;
case C.InvoiceItemReportFields_0:
break;
case C.InvoiceItemReportFields_7:
value3 = t13.discount;
break;
case C.InvoiceItemReportFields_12:
value3 = value2;
break;
case C.InvoiceItemReportFields_13:
value3 = value1;
break;
case C.InvoiceItemReportFields_14:
value3 = value0;
break;
case C.InvoiceItemReportFields_15:
value3 = value;
break;
case C.InvoiceItemReportFields_16:
value3 = t13.get$hasTaxes();
break;
case C.InvoiceItemReportFields_17:
value3 = t13.get$taxRates();
break;
case C.InvoiceItemReportFields_18:
value3 = t13.taxAmount$2(invoice, precision);
break;
case C.InvoiceItemReportFields_19:
value3 = t13.total$2(0, invoice, precision) - t13.taxAmount$2(invoice, precision);
break;
default:
value3 = "";
}
if (!A.ReportResult_matchField(N.EnumUtils_parse(t15), _null, reportsUIState, userCompany, value3))
skip = true;
t16 = J.getInterceptor$(value3);
if (t16.get$runtimeType(value3) === C.Type_bool_lhE)
row.push(new A.ReportBoolValue(value3, t12, t11));
else if (t15 === C.InvoiceItemReportFields_4)
row.push(new A.ReportNumberValue(value3, _null, _null, _null, t12, t11));
else if (t16.get$runtimeType(value3) === C.Type_double_K1J || t16.get$runtimeType(value3) === C.Type_int_tHn)
row.push(new A.ReportNumberValue(value3, _null, t10, _null, t12, t11));
else
row.push(new A.ReportStringValue(value3, t12, t11));
}
if (!skip)
data.push(row);
}
}
selectedColumns = t6.map$1$1(t5, new D.lineItemReport_closure7(), t1).toList$0(0);
C.JSArray_methods.sort$1(data, new D.lineItemReport_closure8(lineItemReportSettings, selectedColumns));
t1 = type$.MappedListIterable_of_legacy_InvoiceItemReportFields_and_legacy_String;
t2 = t1._eval$1("ListIterable.E");
return new A.ReportResult(selectedColumns, P.List_List$of(new H.MappedListIterable(C.List_E34, new D.lineItemReport_closure9(), t1), true, t2), P.List_List$of(new H.MappedListIterable(defaultColumns, new D.lineItemReport_closure10(), t1), true, t2), data, true);
},
InvoiceItemReportFields: function InvoiceItemReportFields(t0) {
this._invoice_item_report$_name = t0;
},
memoizedInvoiceItemReport_closure: function memoizedInvoiceItemReport_closure() {
},
lineItemReport_closure5: function lineItemReport_closure5() {
},
lineItemReport_closure6: function lineItemReport_closure6() {
},
lineItemReport_closure7: function lineItemReport_closure7() {
},
lineItemReport_closure8: function lineItemReport_closure8(t0, t1) {
this.lineItemReportSettings = t0;
this.selectedColumns = t1;
},
lineItemReport_closure9: function lineItemReport_closure9() {
},
lineItemReport_closure10: function lineItemReport_closure10() {
},
EmailSettingsVM_fromStore: function(store) {
var state = store.get$_store$_state();
return new D.EmailSettingsVM(state, new D.EmailSettingsVM_fromStore_closure(store), state.uiState.settingsUIState.get$settings(), new D.EmailSettingsVM_fromStore_closure0(store));
},
EmailSettingsScreen: function EmailSettingsScreen(t0) {
this.key = t0;
},
EmailSettingsScreen_build_closure: function EmailSettingsScreen_build_closure() {
},
EmailSettingsVM: function EmailSettingsVM(t0, t1, t2, t3) {
var _ = this;
_.state = t0;
_.onSavePressed = t1;
_.settings = t2;
_.onSettingsChanged = t3;
},
EmailSettingsVM_fromStore_closure0: function EmailSettingsVM_fromStore_closure0(t0) {
this.store = t0;
},
EmailSettingsVM_fromStore_closure: function EmailSettingsVM_fromStore_closure(t0) {
this.store = t0;
},
EmailSettingsVM_fromStore__closure: function EmailSettingsVM_fromStore__closure(t0, t1) {
this.store = t0;
this.context = t1;
},
ImportExport: function ImportExport(t0) {
this.key = t0;
},
_ImportExportState: function _ImportExportState(t0, t1) {
var _ = this;
_._import_export$_response = _._import_export$_focusNode = null;
_._import_export$_importType = t0;
_._isExporting = false;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_ImportExportState_build_closure0: function _ImportExportState_build_closure0(t0, t1) {
this.$this = t0;
this.localization = t1;
},
_ImportExportState_build__closure3: function _ImportExportState_build__closure3(t0, t1) {
this.$this = t0;
this.response = t1;
},
_ImportExportState_build_closure: function _ImportExportState_build_closure(t0) {
this.$this = t0;
},
_ImportExportState_build__closure4: function _ImportExportState_build__closure4(t0, t1) {
this.$this = t0;
this.importType = t1;
},
_ImportExportState_build_closure1: function _ImportExportState_build_closure1(t0) {
this.$this = t0;
},
_ImportExportState_build__closure2: function _ImportExportState_build__closure2(t0) {
this.$this = t0;
},
_ImportExportState_build_closure2: function _ImportExportState_build_closure2(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.localization = t2;
},
_ImportExportState_build__closure: function _ImportExportState_build__closure(t0) {
this.$this = t0;
},
_ImportExportState_build__closure0: function _ImportExportState_build__closure0(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.localization = t2;
},
_ImportExportState_build___closure0: function _ImportExportState_build___closure0(t0) {
this.$this = t0;
},
_ImportExportState_build__closure1: function _ImportExportState_build__closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
_ImportExportState_build___closure: function _ImportExportState_build___closure(t0) {
this.$this = t0;
},
_FileImport: function _FileImport(t0, t1, t2, t3) {
var _ = this;
_.importType = t0;
_.onImportTypeChanged = t1;
_.onUploaded = t2;
_.key = t3;
},
_FileImportState: function _FileImportState(t0, t1) {
var _ = this;
_._multipartFiles = t0;
_._importJsonSettings = _._importJsonData = _._import_export$_isLoading = false;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_FileImportState_uploadJsonFile_closure: function _FileImportState_uploadJsonFile_closure(t0) {
this.$this = t0;
},
_FileImportState_uploadJsonFile_closure0: function _FileImportState_uploadJsonFile_closure0(t0, t1) {
this.$this = t0;
this.localization = t1;
},
_FileImportState_uploadJsonFile__closure0: function _FileImportState_uploadJsonFile__closure0(t0) {
this.$this = t0;
},
_FileImportState_uploadJsonFile_closure1: function _FileImportState_uploadJsonFile_closure1(t0) {
this.$this = t0;
},
_FileImportState_uploadJsonFile__closure: function _FileImportState_uploadJsonFile__closure(t0) {
this.$this = t0;
},
_FileImportState_uploadFile_closure: function _FileImportState_uploadFile_closure(t0) {
this.$this = t0;
},
_FileImportState_uploadFile_closure0: function _FileImportState_uploadFile_closure0(t0, t1) {
this.$this = t0;
this.localization = t1;
},
_FileImportState_uploadFile__closure0: function _FileImportState_uploadFile__closure0(t0) {
this.$this = t0;
},
_FileImportState_uploadFile_closure1: function _FileImportState_uploadFile_closure1(t0) {
this.$this = t0;
},
_FileImportState_uploadFile__closure: function _FileImportState_uploadFile__closure(t0) {
this.$this = t0;
},
_FileImportState_build_closure0: function _FileImportState_build_closure0(t0) {
this.$this = t0;
},
_FileImportState_build_closure: function _FileImportState_build_closure(t0) {
this.localization = t0;
},
_FileImportState_build_closure1: function _FileImportState_build_closure1(t0, t1) {
this.$this = t0;
this.uploadPart = t1;
},
_FileImportState_build__closure1: function _FileImportState_build__closure1(t0, t1, t2) {
this.$this = t0;
this.uploadPart = t1;
this.multipartFile = t2;
},
_FileImportState_build_closure2: function _FileImportState_build_closure2(t0) {
this.$this = t0;
},
_FileImportState_build__closure0: function _FileImportState_build__closure0(t0, t1) {
this.$this = t0;
this.value = t1;
},
_FileImportState_build_closure3: function _FileImportState_build_closure3(t0) {
this.$this = t0;
},
_FileImportState_build__closure: function _FileImportState_build__closure(t0, t1) {
this.$this = t0;
this.value = t1;
},
_FileImportState_build_closure4: function _FileImportState_build_closure4(t0) {
this.$this = t0;
},
_FileMapper: function _FileMapper(t0, t1, t2, t3, t4) {
var _ = this;
_.importType = t0;
_.response = t1;
_.onCancelPressed = t2;
_.formKey = t3;
_.key = t4;
},
__FileMapperState: function __FileMapperState(t0, t1) {
var _ = this;
_._useFirstRowAsHeaders = true;
_._import_export$_mapping = t0;
_._import_export$_isLoading = false;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
__FileMapperState_build_closure: function __FileMapperState_build_closure(t0) {
this.$this = t0;
},
__FileMapperState_build__closure3: function __FileMapperState_build__closure3(t0, t1) {
this.$this = t0;
this.value = t1;
},
__FileMapperState_build_closure0: function __FileMapperState_build_closure0(t0, t1, t2) {
this.$this = t0;
this.entry = t1;
this.i = t2;
},
__FileMapperState_build__closure2: function __FileMapperState_build__closure2(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.entry = t1;
_.i = t2;
_.value = t3;
},
__FileMapperState_build_closure1: function __FileMapperState_build_closure1(t0) {
this.$this = t0;
},
__FileMapperState_build_closure2: function __FileMapperState_build_closure2(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.localization = t2;
},
__FileMapperState_build__closure: function __FileMapperState_build__closure(t0) {
this.$this = t0;
},
__FileMapperState_build__closure0: function __FileMapperState_build__closure0(t0, t1) {
this.$this = t0;
this.localization = t1;
},
__FileMapperState_build___closure0: function __FileMapperState_build___closure0(t0) {
this.$this = t0;
},
__FileMapperState_build__closure1: function __FileMapperState_build__closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
__FileMapperState_build___closure: function __FileMapperState_build___closure(t0) {
this.$this = t0;
},
_FieldMapper: function _FieldMapper(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.field1 = t0;
_.field2 = t1;
_.available = t2;
_.mappedTo = t3;
_.onMappedToChanged = t4;
_.mapping = t5;
_.key = t6;
},
_FieldMapper_build_closure: function _FieldMapper_build_closure(t0) {
this.localization = t0;
},
_FieldMapper_build_closure1: function _FieldMapper_build_closure1(t0, t1) {
this.sorted = t0;
this.localization = t1;
},
_FieldMapper_build__closure0: function _FieldMapper_build__closure0(t0) {
this.localization = t0;
},
_FieldMapper_build_closure2: function _FieldMapper_build_closure2(t0, t1) {
this.$this = t0;
this.localization = t1;
},
_FieldMapper_build__closure: function _FieldMapper_build__closure(t0) {
this.value = t0;
},
_FieldMapper_build_closure0: function _FieldMapper_build_closure0(t0) {
this.localization = t0;
},
SettingsListVM_fromStore: function(store) {
var state = store.get$_store$_state(),
settingsUIState = state.uiState.settingsUIState;
return new D.SettingsListVM(state, new D.SettingsListVM_fromStore_closure(store, state), new D.SettingsListVM_fromStore_closure0(settingsUIState), new D.SettingsListVM_fromStore_closure1(settingsUIState), new D.SettingsListVM_fromStore_closure2(store));
},
SettingsListBuilder: function SettingsListBuilder(t0) {
this.key = t0;
},
SettingsListBuilder_build_closure: function SettingsListBuilder_build_closure() {
},
SettingsListVM: function SettingsListVM(t0, t1, t2, t3, t4) {
var _ = this;
_.state = t0;
_.loadSection = t1;
_.onViewGroupPressed = t2;
_.onViewClientPressed = t3;
_.onClearSettingsFilterPressed = t4;
},
SettingsListVM_fromStore_closure: function SettingsListVM_fromStore_closure(t0, t1) {
this.store = t0;
this.state = t1;
},
SettingsListVM_fromStore_closure2: function SettingsListVM_fromStore_closure2(t0) {
this.store = t0;
},
SettingsListVM_fromStore_closure1: function SettingsListVM_fromStore_closure1(t0) {
this.settingsUIState = t0;
},
SettingsListVM_fromStore_closure0: function SettingsListVM_fromStore_closure0(t0) {
this.settingsUIState = t0;
},
WorkflowSettings: function WorkflowSettings(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_WorkflowSettingsState: function _WorkflowSettingsState(t0, t1) {
var _ = this;
_._workflow_settings$_controller = _._workflow_settings$_focusNode = null;
_.SingleTickerProviderStateMixin__ticker = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_WorkflowSettingsState_build_closure: function _WorkflowSettingsState_build_closure(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_WorkflowSettingsState_build__closure3: function _WorkflowSettingsState_build__closure3(t0) {
this.value = t0;
},
_WorkflowSettingsState_build_closure0: function _WorkflowSettingsState_build_closure0(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_WorkflowSettingsState_build__closure2: function _WorkflowSettingsState_build__closure2(t0) {
this.value = t0;
},
_WorkflowSettingsState_build_closure1: function _WorkflowSettingsState_build_closure1(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_WorkflowSettingsState_build__closure1: function _WorkflowSettingsState_build__closure1(t0) {
this.value = t0;
},
_WorkflowSettingsState_build_closure2: function _WorkflowSettingsState_build_closure2(t0) {
this.localization = t0;
},
_WorkflowSettingsState_build_closure3: function _WorkflowSettingsState_build_closure3(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_WorkflowSettingsState_build__closure0: function _WorkflowSettingsState_build__closure0(t0) {
this.value = t0;
},
_WorkflowSettingsState_build_closure4: function _WorkflowSettingsState_build_closure4(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_WorkflowSettingsState_build__closure: function _WorkflowSettingsState_build__closure(t0) {
this.value = t0;
},
__WorkflowSettingsState_State_SingleTickerProviderStateMixin: function __WorkflowSettingsState_State_SingleTickerProviderStateMixin() {
},
KanbanStatusCard: function KanbanStatusCard(t0, t1, t2, t3, t4) {
var _ = this;
_.status = t0;
_.onSavePressed = t1;
_.isCorrectOrder = t2;
_.isSaving = t3;
_.key = t4;
},
_KanbanStatusCardState: function _KanbanStatusCardState(t0) {
var _ = this;
_._kanban_status$_isEditing = false;
_._kanban_status$_name = "";
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_KanbanStatusCardState__onSavePressed_closure: function _KanbanStatusCardState__onSavePressed_closure(t0) {
this.$this = t0;
},
_KanbanStatusCardState__onSavePressed__closure: function _KanbanStatusCardState__onSavePressed__closure(t0) {
this.$this = t0;
},
_KanbanStatusCardState_build_closure: function _KanbanStatusCardState_build_closure(t0) {
this.$this = t0;
},
_KanbanStatusCardState_build_closure0: function _KanbanStatusCardState_build_closure0(t0) {
this.$this = t0;
},
_KanbanStatusCardState_build_closure1: function _KanbanStatusCardState_build_closure1(t0) {
this.$this = t0;
},
_KanbanStatusCardState_build__closure0: function _KanbanStatusCardState_build__closure0(t0) {
this.$this = t0;
},
_KanbanStatusCardState_build_closure2: function _KanbanStatusCardState_build_closure2(t0) {
this.$this = t0;
},
_KanbanStatusCardState_build__closure: function _KanbanStatusCardState_build__closure(t0) {
this.$this = t0;
},
TaskScreen: function TaskScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
TaskScreen_build_closure15: function TaskScreen_build_closure15(t0) {
this.store = t0;
},
TaskScreen_build_closure13: function TaskScreen_build_closure13(t0) {
this.store = t0;
},
TaskScreen_build_closure14: function TaskScreen_build_closure14(t0) {
this.store = t0;
},
TaskScreen_build_closure: function TaskScreen_build_closure(t0, t1, t2) {
this.context = t0;
this.state = t1;
this.store = t2;
},
TaskScreen_build_closure0: function TaskScreen_build_closure0(t0, t1) {
this.store = t0;
this.state = t1;
},
TaskScreen_build_closure9: function TaskScreen_build_closure9(t0) {
this.store = t0;
},
TaskScreen_build_closure11: function TaskScreen_build_closure11(t0) {
this.store = t0;
},
TaskScreen_build_closure5: function TaskScreen_build_closure5(t0) {
this.store = t0;
},
TaskScreen_build_closure6: function TaskScreen_build_closure6(t0) {
this.store = t0;
},
TaskScreen_build_closure7: function TaskScreen_build_closure7(t0) {
this.store = t0;
},
TaskScreen_build_closure8: function TaskScreen_build_closure8(t0) {
this.store = t0;
},
TaskScreen_build_closure1: function TaskScreen_build_closure1(t0) {
this.localization = t0;
},
TaskScreen_build_closure2: function TaskScreen_build_closure2(t0) {
this.localization = t0;
},
TaskScreen_build_closure3: function TaskScreen_build_closure3(t0) {
this.localization = t0;
},
TaskScreen_build_closure10: function TaskScreen_build_closure10(t0) {
this.store = t0;
},
TaskScreen_build_closure4: function TaskScreen_build_closure4(t0) {
this.store = t0;
},
TaskScreen_build_closure12: function TaskScreen_build_closure12(t0) {
this.context = t0;
},
TaxRateSettingsScreen: function TaxRateSettingsScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
TaxRateSettingsScreen_build_closure5: function TaxRateSettingsScreen_build_closure5(t0) {
this.store = t0;
},
TaxRateSettingsScreen_build_closure3: function TaxRateSettingsScreen_build_closure3(t0) {
this.store = t0;
},
TaxRateSettingsScreen_build_closure4: function TaxRateSettingsScreen_build_closure4(t0) {
this.store = t0;
},
TaxRateSettingsScreen_build_closure0: function TaxRateSettingsScreen_build_closure0(t0) {
this.store = t0;
},
TaxRateSettingsScreen_build_closure1: function TaxRateSettingsScreen_build_closure1(t0) {
this.store = t0;
},
TaxRateSettingsScreen_build_closure: function TaxRateSettingsScreen_build_closure(t0) {
this.store = t0;
},
TaxRateSettingsScreen_build_closure2: function TaxRateSettingsScreen_build_closure2(t0) {
this.context = t0;
},
VendorEditContacts: function VendorEditContacts(t0, t1, t2) {
this.viewModel = t0;
this.vendorViewModel = t1;
this.key = t2;
},
_VendorEditContactsState: function _VendorEditContactsState(t0) {
var _ = this;
_._widget = _.selectedContact = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_VendorEditContactsState__showContactEditor_closure: function _VendorEditContactsState__showContactEditor_closure(t0, t1) {
this.$this = t0;
this.contact = t1;
},
_VendorEditContactsState__showContactEditor__closure: function _VendorEditContactsState__showContactEditor__closure(t0) {
this.contact = t0;
},
_VendorEditContactsState_build_closure: function _VendorEditContactsState_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
_VendorEditContactsState_build__closure: function _VendorEditContactsState_build__closure(t0, t1, t2) {
this.$this = t0;
this.contact = t1;
this.context = t2;
},
_VendorEditContactsState_build_closure0: function _VendorEditContactsState_build_closure0(t0, t1, t2) {
this.$this = t0;
this.contact = t1;
this.context = t2;
},
_VendorEditContactsState_build_closure1: function _VendorEditContactsState_build_closure1(t0) {
this.viewModel = t0;
},
ContactListTile: function ContactListTile(t0, t1, t2) {
this.onTap = t0;
this.contact = t1;
this.key = t2;
},
VendorContactEditDetails: function VendorContactEditDetails(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.index = t0;
_.contact = t1;
_.viewModel = t2;
_.vendorViewModel = t3;
_.isDialog = t4;
_.key = t5;
},
VendorContactEditDetailsState: function VendorContactEditDetailsState(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_._vendor_edit_contacts$_firstNameController = t0;
_._vendor_edit_contacts$_lastNameController = t1;
_._vendor_edit_contacts$_emailController = t2;
_._vendor_edit_contacts$_phoneController = t3;
_._vendor_edit_contacts$_debouncer = t4;
_._vendor_edit_contacts$_controllers = t5;
_._widget = null;
_._debugLifecycleState = t6;
_._framework$_element = null;
},
VendorContactEditDetailsState_didChangeDependencies_closure: function VendorContactEditDetailsState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
VendorContactEditDetailsState_didChangeDependencies_closure0: function VendorContactEditDetailsState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
VendorContactEditDetailsState_dispose_closure: function VendorContactEditDetailsState_dispose_closure(t0) {
this.$this = t0;
},
VendorContactEditDetailsState__onChanged_closure: function VendorContactEditDetailsState__onChanged_closure(t0) {
this.$this = t0;
},
VendorContactEditDetailsState__onChanged_closure0: function VendorContactEditDetailsState__onChanged_closure0(t0, t1) {
this.$this = t0;
this.contact = t1;
},
VendorContactEditDetailsState_build_closure: function VendorContactEditDetailsState_build_closure(t0) {
this.$this = t0;
},
VendorContactEditDetailsState_build_closure0: function VendorContactEditDetailsState_build_closure0(t0) {
this.$this = t0;
},
VendorContactEditDetailsState_build_closure1: function VendorContactEditDetailsState_build_closure1(t0) {
this.$this = t0;
},
VendorContactEditDetailsState_build_closure2: function VendorContactEditDetailsState_build_closure2(t0) {
this.localization = t0;
},
VendorContactEditDetailsState_build_closure3: function VendorContactEditDetailsState_build_closure3(t0) {
this.$this = t0;
},
VendorContactEditDetailsState_build_closure4: function VendorContactEditDetailsState_build_closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
VendorContactEditDetailsState_build__closure: function VendorContactEditDetailsState_build__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
VendorContactEditDetailsState_build_closure5: function VendorContactEditDetailsState_build_closure5(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
MethodChannelPackageInfo: function MethodChannelPackageInfo(t0) {
this._instanceToken = t0;
},
QrPolynomial_QrPolynomial: function(thing, shift) {
var values, i,
t1 = thing.length,
offset = 0;
while (true) {
if (!(offset < t1 && thing[offset] === 0))
break;
++offset;
}
t1 -= offset;
values = new Uint8Array(t1 + shift);
for (i = 0; i < t1; ++i)
values[i] = thing[i + offset];
return new D.QrPolynomial(values);
},
QrPolynomial: function QrPolynomial(t0) {
this._polynomial$_values = t0;
},
QrCode$: function(typeNumber, errorCorrectLevel) {
var t1 = H.setRuntimeTypeInfo([], type$.JSArray_QrByte);
t1 = new D.QrCode(typeNumber, errorCorrectLevel, typeNumber * 4 + 17, H.setRuntimeTypeInfo([], type$.JSArray_List_nullable_bool), t1);
t1.QrCode$2(typeNumber, errorCorrectLevel);
return t1;
},
QrCode__calculateTypeNumberFromData: function(errorCorrectLevel, dataList) {
var t1, typeNumber, rsBlocks, buffer, t2, totalDataCount, i, data;
for (t1 = type$.JSArray_int, typeNumber = 1; typeNumber < 40; ++typeNumber) {
rsBlocks = Y.QrRsBlock_getRSBlocks(typeNumber, errorCorrectLevel);
buffer = new Q.QrBitBuffer(H.setRuntimeTypeInfo([], t1));
for (t2 = rsBlocks.length, totalDataCount = 0, i = 0; i < t2; ++i)
totalDataCount += rsBlocks[i].dataCount;
for (i = 0; i < 1; ++i) {
data = dataList[i];
buffer.put$2(0, 4, 4);
buffer.put$2(0, data._byte$_data.length, D._lengthInBits(4, typeNumber));
data.write$1(0, buffer);
}
if (buffer._bit_buffer$_length <= totalDataCount * 8)
break;
}
return typeNumber;
},
_createData: function(typeNumber, errorCorrectLevel, dataList) {
var i, data, t1, totalDataCount, totalByteCount,
rsBlocks = Y.QrRsBlock_getRSBlocks(typeNumber, errorCorrectLevel),
buffer = new Q.QrBitBuffer(H.setRuntimeTypeInfo([], type$.JSArray_int));
for (i = 0; i < dataList.length; ++i) {
data = dataList[i];
buffer.put$2(0, 4, 4);
buffer.put$2(0, data._byte$_data.length, D._lengthInBits(4, typeNumber));
data.write$1(0, buffer);
}
for (t1 = rsBlocks.length, totalDataCount = 0, i = 0; i < t1; ++i)
totalDataCount += rsBlocks[i].dataCount;
totalByteCount = totalDataCount * 8;
t1 = buffer._bit_buffer$_length;
if (t1 > totalByteCount)
throw H.wrapException(new V.InputTooLongException("Input too long. " + t1 + " > " + totalByteCount));
if (t1 + 4 <= totalByteCount)
buffer.put$2(0, 0, 4);
for (; C.JSInt_methods.$mod(buffer._bit_buffer$_length, 8) !== 0;)
buffer.putBit$1(false);
for (; true;) {
if (buffer._bit_buffer$_length >= totalByteCount)
break;
buffer.put$2(0, 236, 8);
if (buffer._bit_buffer$_length >= totalByteCount)
break;
buffer.put$2(0, 17, 8);
}
return D._createBytes(buffer, rsBlocks);
},
_createBytes: function(buffer, rsBlocks) {
var offset, maxDcCount, maxEcCount, r, t2, dcCount, ecCount, dcItem, i, rsPoly, modPoly, ecItem, t3, t4, modIndex, data,
t1 = type$.nullable_List_int,
dcData = P.List_List$filled(rsBlocks.length, null, false, t1),
ecData = P.List_List$filled(rsBlocks.length, null, false, t1);
for (t1 = buffer._bit_buffer$_buffer, offset = 0, maxDcCount = 0, maxEcCount = 0, r = 0; r < rsBlocks.length; ++r) {
t2 = rsBlocks[r];
dcCount = t2.dataCount;
ecCount = t2.totalCount - dcCount;
maxDcCount = Math.max(maxDcCount, dcCount);
maxEcCount = Math.max(maxEcCount, ecCount);
dcItem = new Uint8Array(dcCount);
dcData[r] = dcItem;
for (i = 0; i < dcCount; ++i)
dcItem[i] = t1[i + offset] & 255;
offset += dcCount;
rsPoly = D._errorCorrectPolynomial(ecCount);
t2 = rsPoly._polynomial$_values.length - 1;
modPoly = D.QrPolynomial_QrPolynomial(dcItem, t2).mod$1(rsPoly);
ecItem = new Uint8Array(t2);
ecData[r] = ecItem;
for (t3 = modPoly._polynomial$_values, t4 = t3.length, i = 0; i < t2; ++i) {
modIndex = i + t4 - t2;
ecItem[i] = modIndex >= 0 ? t3[modIndex] : 0;
}
}
data = H.setRuntimeTypeInfo([], type$.JSArray_int);
for (i = 0; i < maxDcCount; ++i)
for (r = 0; r < rsBlocks.length; ++r) {
t1 = dcData[r];
if (i < t1.length)
data.push(t1[i]);
}
for (i = 0; i < maxEcCount; ++i)
for (r = 0; r < rsBlocks.length; ++r) {
t1 = ecData[r];
if (i < t1.length)
data.push(t1[i]);
}
return data;
},
_mask: function(maskPattern, i, j) {
var t1;
switch (maskPattern) {
case 0:
return (i + j & 1) === 0;
case 1:
return (i & 1) === 0;
case 2:
return C.JSInt_methods.$mod(j, 3) === 0;
case 3:
return C.JSInt_methods.$mod(i + j, 3) === 0;
case 4:
return (C.JSInt_methods._tdivFast$1(i, 2) + C.JSInt_methods._tdivFast$1(j, 3) & 1) === 0;
case 5:
t1 = i * j;
return C.JSInt_methods.$mod(t1, 2) + C.JSInt_methods.$mod(t1, 3) === 0;
case 6:
t1 = i * j;
return (C.JSInt_methods.$mod(t1, 2) + C.JSInt_methods.$mod(t1, 3) & 1) === 0;
case 7:
return (C.JSInt_methods.$mod(i * j, 3) + C.JSInt_methods.$mod(i + j, 2) & 1) === 0;
default:
throw H.wrapException(P.ArgumentError$("bad maskPattern:" + maskPattern));
}
},
_lengthInBits: function(mode, type) {
if (1 <= type && type < 10)
switch (mode) {
case 1:
return 10;
case 2:
return 9;
case 4:
return 8;
case 8:
return 8;
default:
throw H.wrapException(P.ArgumentError$("mode:" + mode));
}
else if (type < 27)
switch (mode) {
case 1:
return 12;
case 2:
return 11;
case 4:
return 16;
case 8:
return 10;
default:
throw H.wrapException(P.ArgumentError$("mode:" + mode));
}
else if (type < 41)
switch (mode) {
case 1:
return 14;
case 2:
return 13;
case 4:
return 16;
case 8:
return 12;
default:
throw H.wrapException(P.ArgumentError$("mode:" + mode));
}
else
throw H.wrapException(P.ArgumentError$("type:" + type));
},
_lostPoint: function(qrCode) {
var lostPoint, row, col, dark, sameCount, r, t1, t2, c, t3, row0, count, darkCount,
moduleCount = qrCode.moduleCount;
for (lostPoint = 0, row = 0; row < moduleCount; ++row)
for (col = 0; col < moduleCount; ++col) {
dark = qrCode.isDark$2(row, col);
for (sameCount = 0, r = -1; r <= 1; ++r) {
t1 = row + r;
if (t1 < 0 || moduleCount <= t1)
continue;
for (t2 = r === 0, c = -1; c <= 1; ++c) {
t3 = col + c;
if (t3 < 0 || moduleCount <= t3)
continue;
if (t2 && c === 0)
continue;
if (dark == qrCode.isDark$2(t1, t3))
++sameCount;
}
}
if (sameCount > 5)
lostPoint += 3 + sameCount - 5;
}
for (t1 = moduleCount - 1, row = 0; row < t1; row = row0)
for (row0 = row + 1, col = 0; col < t1;) {
count = qrCode.isDark$2(row, col) ? 1 : 0;
if (qrCode.isDark$2(row0, col))
++count;
++col;
if (qrCode.isDark$2(row, col))
++count;
if (qrCode.isDark$2(row0, col))
++count;
if (count === 0 || count === 4)
lostPoint += 3;
}
for (t1 = moduleCount - 6, row = 0; row < moduleCount; ++row)
for (col = 0; col < t1; ++col)
if (qrCode.isDark$2(row, col) && !qrCode.isDark$2(row, col + 1) && qrCode.isDark$2(row, col + 2) && qrCode.isDark$2(row, col + 3) && qrCode.isDark$2(row, col + 4) && !qrCode.isDark$2(row, col + 5) && qrCode.isDark$2(row, col + 6))
lostPoint += 40;
for (col = 0; col < moduleCount; ++col)
for (row = 0; row < t1; ++row)
if (qrCode.isDark$2(row, col) && !qrCode.isDark$2(row + 1, col) && qrCode.isDark$2(row + 2, col) && qrCode.isDark$2(row + 3, col) && qrCode.isDark$2(row + 4, col) && !qrCode.isDark$2(row + 5, col) && qrCode.isDark$2(row + 6, col))
lostPoint += 40;
for (col = 0, darkCount = 0; col < moduleCount; ++col)
for (row = 0; row < moduleCount; ++row)
if (qrCode.isDark$2(row, col))
++darkCount;
return lostPoint + Math.abs(100 * darkCount / moduleCount / moduleCount - 50) / 5 * 10;
},
_errorCorrectPolynomial: function(errorCorrectLength) {
var i,
t1 = type$.JSArray_int,
a = D.QrPolynomial_QrPolynomial(H.setRuntimeTypeInfo([1], t1), 0);
for (i = 0; i < errorCorrectLength; ++i)
a = a.multiply$1(0, D.QrPolynomial_QrPolynomial(H.setRuntimeTypeInfo([1, K.gexp(i)], t1), 0));
return a;
},
QrCode: function QrCode(t0, t1, t2, t3, t4) {
var _ = this;
_.typeNumber = t0;
_.errorCorrectLevel = t1;
_.moduleCount = t2;
_._modules = t3;
_._dataCache = null;
_._dataList = t4;
},
DeferStream$: function(streamFactory, reusable, $T) {
return new D.DeferStream(streamFactory, true, $T._eval$1("DeferStream<0>"));
},
DeferStream: function DeferStream(t0, t1, t2) {
this._factory = t0;
this._isReusable = t1;
this.$ti = t2;
},
SourceLocationMixin: function SourceLocationMixin() {
},
UrlLauncherPlatform: function UrlLauncherPlatform() {
},
LinkViewController__viewFactory: function(viewId) {
return $.LinkViewController__instances.$index(0, viewId).get$_element();
},
debugPrintThrottled: function(message, wrapWidth) {
var messageLines = H.setRuntimeTypeInfo(message.split("\n"), type$.JSArray_String);
$.$get$_debugPrintBuffer().addAll$1(0, messageLines);
if (!$._debugPrintScheduled)
D._debugPrintTask();
},
_debugPrintTask: function() {
var line, toZone,
t1 = $._debugPrintScheduled = false,
t2 = $.$get$_debugPrintStopwatch();
if (P.Duration$(0, 0, t2.get$elapsedMicroseconds(), 0, 0, 0)._duration > 1000000) {
if (t2._stop == null)
t2._stop = $.Primitives_timerTicks.call$0();
t2.reset$0(0);
$._debugPrintedCharacters = 0;
}
while (true) {
if ($._debugPrintedCharacters < 12288) {
t2 = $.$get$_debugPrintBuffer();
t2 = !t2.get$isEmpty(t2);
} else
t2 = t1;
if (!t2)
break;
line = $.$get$_debugPrintBuffer().removeFirst$0();
$._debugPrintedCharacters = $._debugPrintedCharacters + line.length;
line = J.toString$0$(line);
toZone = $.printToZone;
if (toZone == null)
H.printString(line);
else
toZone.call$1(line);
}
t1 = $.$get$_debugPrintBuffer();
if (!t1.get$isEmpty(t1)) {
$._debugPrintScheduled = true;
$._debugPrintedCharacters = 0;
P.Timer_Timer(C.Duration_1000000, D.print___debugPrintTask$closure());
if ($._debugPrintCompleter == null)
$._debugPrintCompleter = new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_void), type$._AsyncCompleter_void);
} else {
$.$get$_debugPrintStopwatch().start$0(0);
t1 = $._debugPrintCompleter;
if (t1 != null)
t1.complete$0(0);
$._debugPrintCompleter = null;
}
},
isApple: function() {
return false;
},
isMacOS: function() {
return false;
},
isWindows: function() {
return false;
},
isLinux: function() {
return false;
},
isAndroid: function() {
return false;
},
isIOS: function() {
return false;
},
getPlatformLetter: function() {
return "C";
},
getNativePlatform: function() {
var userAgent,
t1 = window.document.documentElement;
t1.toString;
userAgent = t1.getAttribute("data-" + new W._DataAttributeMap(new W._ElementAttributeMap(t1))._toHyphenedName$1("user-agent"));
if (userAgent == null)
userAgent = "";
userAgent = userAgent.toLowerCase();
if (C.JSString_methods.contains$1(userAgent, "ipad") || C.JSString_methods.contains$1(userAgent, "ipod") || C.JSString_methods.contains$1(userAgent, "iphone"))
return "iPhone";
else if (C.JSString_methods.contains$1(userAgent, "android"))
return "Android";
else if (C.JSString_methods.contains$1(userAgent, "win"))
return "Windows";
else if (C.JSString_methods.contains$1(userAgent, "mac"))
return "macOS";
else if (C.JSString_methods.contains$1(userAgent, "linux"))
return "Linux";
else
return "";
},
getNativeAppUrl: function(platform) {
switch (platform) {
case "Android":
return string$.https_p;
case "iPhone":
return string$.https_as;
case "Windows":
return string$.https_w;
case "macOS":
return "https://download.invoiceninja.com/macos";
case "Linux":
return "https://download.invoiceninja.com/linux";
}
return "";
},
getNativeAppIcon: function(platform) {
switch (platform) {
case "Android":
return C.IconData_57477_MaterialIcons_null_false;
case "iPhone":
return C._MdiIconData_7T1;
case "Windows":
return C._MdiIconData_jVE0;
case "macOS":
return C._MdiIconData_7T1;
case "Linux":
return C._MdiIconData_ifn;
}
return null;
},
getRateAppURL: function(context) {
switch (K.Theme_of(context).platform) {
case C.TargetPlatform_0:
return string$.https_p;
case C.TargetPlatform_2:
return string$.https_as;
default:
return "https://www.capterra.com/p/145215/Invoice-Ninja";
}
},
calculateLayout: function(context) {
if (context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx < 700)
return C.AppLayout_mobile;
else
return C.AppLayout_desktop;
},
getLayout: function(context) {
var t1 = O.StoreProvider_of(context, type$.legacy_AppState).get$_store$_state().prefState.appLayout;
return t1;
},
current: function() {
var exception, t1, path, lastIndex, uri = null;
try {
uri = P.Uri_base();
} catch (exception) {
if (type$.Exception._is(H.unwrapException(exception))) {
t1 = $._current;
if (t1 != null)
return t1;
throw exception;
} else
throw exception;
}
if (J.$eq$(uri, $._currentUriBase)) {
t1 = $._current;
t1.toString;
return t1;
}
$._currentUriBase = uri;
if ($.$get$Style_platform() == $.$get$Style_url())
t1 = $._current = uri.resolve$1(".").toString$0(0);
else {
path = uri.toFilePath$0();
lastIndex = path.length - 1;
t1 = $._current = lastIndex === 0 ? path : C.JSString_methods.substring$2(path, 0, lastIndex);
}
t1.toString;
return t1;
}
},
R = {
ArchiveException$: function(message) {
return new R.ArchiveException(message, null, null);
},
ArchiveException: function ArchiveException(t0, t1, t2) {
this.message = t0;
this.source = t1;
this.offset = t2;
},
BuiltListMultimap_BuiltListMultimap: function($K, $V) {
var t1 = R._BuiltListMultimap$copy(C.Map_empty0.get$keys(C.Map_empty0), new R.BuiltListMultimap_BuiltListMultimap_closure(C.Map_empty0), $K, $V);
return t1;
},
_BuiltListMultimap$copy: function(keys, lookup, $K, $V) {
var t1 = new R._BuiltListMultimap(P.LinkedHashMap_LinkedHashMap$_empty($K, $V._eval$1("BuiltList<0>")), D.BuiltList_BuiltList$from(C.List_empty, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltListMultimap<1,2>"));
t1._BuiltListMultimap$copy$2(keys, lookup, $K, $V);
return t1;
},
ListMultimapBuilder_ListMultimapBuilder: function($K, $V) {
var t1 = new R.ListMultimapBuilder($K._eval$1("@<0>")._bind$1($V)._eval$1("ListMultimapBuilder<1,2>"));
t1.replace$1(0, C.Map_empty0);
return t1;
},
BuiltListMultimap: function BuiltListMultimap() {
},
BuiltListMultimap_BuiltListMultimap_closure: function BuiltListMultimap_BuiltListMultimap_closure(t0) {
this.multimap = t0;
},
BuiltListMultimap_hashCode_closure: function BuiltListMultimap_hashCode_closure(t0) {
this.$this = t0;
},
BuiltListMultimap_forEach_closure: function BuiltListMultimap_forEach_closure(t0, t1) {
this.$this = t0;
this.f = t1;
},
BuiltListMultimap_forEach__closure: function BuiltListMultimap_forEach__closure(t0, t1, t2) {
this.$this = t0;
this.f = t1;
this.key = t2;
},
_BuiltListMultimap: function _BuiltListMultimap(t0, t1, t2) {
var _ = this;
_._list_multimap$_map = t0;
_._emptyList = t1;
_._list_multimap$_keys = _._list_multimap$_hashCode = null;
_.$ti = t2;
},
ListMultimapBuilder: function ListMultimapBuilder(t0) {
var _ = this;
_.__ListMultimapBuilder__builtMap = $;
_._list_multimap$_builtMapOwner = null;
_.__ListMultimapBuilder__builderMap = $;
_.$ti = t0;
},
ListMultimapBuilder_replace_closure: function ListMultimapBuilder_replace_closure(t0) {
this.multimap = t0;
},
BoolSerializer: function BoolSerializer(t0) {
this.types = t0;
},
BuiltListMultimapSerializer: function BuiltListMultimapSerializer(t0) {
this.types = t0;
},
BuiltListMultimapSerializer_serialize_closure: function BuiltListMultimapSerializer_serialize_closure(t0, t1) {
this.serializers = t0;
this.valueType = t1;
},
BuiltListMultimapSerializer_deserialize_closure: function BuiltListMultimapSerializer_deserialize_closure(t0, t1) {
this.serializers = t0;
this.valueType = t1;
},
BuiltSetMultimapSerializer: function BuiltSetMultimapSerializer(t0) {
this.types = t0;
},
BuiltSetMultimapSerializer_serialize_closure: function BuiltSetMultimapSerializer_serialize_closure(t0, t1) {
this.serializers = t0;
this.valueType = t1;
},
BuiltSetMultimapSerializer_deserialize_closure: function BuiltSetMultimapSerializer_deserialize_closure(t0, t1) {
this.serializers = t0;
this.valueType = t1;
},
BaseRenderSpec: function BaseRenderSpec() {
},
BaseTickDrawStrategy: function BaseTickDrawStrategy() {
},
BaseTickDrawStrategy_collides_closure: function BaseTickDrawStrategy_collides_closure(t0) {
this.$this = t0;
},
BaseTickDrawStrategy_measureVerticallyDrawnTicks_closure: function BaseTickDrawStrategy_measureVerticallyDrawnTicks_closure(t0, t1) {
this.$this = t0;
this.collision = t1;
},
BaseTickDrawStrategy_measureHorizontallyDrawnTicks_closure: function BaseTickDrawStrategy_measureHorizontallyDrawnTicks_closure(t0, t1) {
this.$this = t0;
this.collision = t1;
},
BaseTickDrawStrategy_splitLabel_closure: function BaseTickDrawStrategy_splitLabel_closure(t0, t1) {
this.$this = t0;
this.wholeLabel = t1;
},
BaseTickDrawStrategy_getLabelWidth_closure: function BaseTickDrawStrategy_getLabelWidth_closure() {
},
_PixelVerticalDirection: function _PixelVerticalDirection(t0) {
this._base_tick_draw_strategy$_name = t0;
},
TimeTickFormatterImpl: function TimeTickFormatterImpl(t0, t1, t2) {
this._simpleFormat = t0;
this._transitionFormat = t1;
this.transitionField = t2;
},
CalendarField: function CalendarField(t0) {
this._time_tick_formatter_impl$_name = t0;
},
SeriesDatum: function SeriesDatum(t0, t1, t2) {
var _ = this;
_.series = t0;
_.datum = t1;
_._series_datum$_index = null;
_.$ti = t2;
},
PointRendererConfig$: function(radiusPx, $D) {
return new R.PointRendererConfig(new K.RendererAttributes(P.LinkedHashMap_LinkedHashMap$_empty(type$.TypedKey_nullable_Object, type$.nullable_Object)), radiusPx, null, null, null, C.C_ViewMargin, $D._eval$1("PointRendererConfig<0>"));
},
PointRendererConfig: function PointRendererConfig(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.rendererAttributes = t0;
_.radiusPx = t1;
_.paintOrder = t2;
_.position = t3;
_.positionOrder = t4;
_.viewMargin = t5;
_.$ti = t6;
},
XFileBase: function XFileBase() {
},
noSuchFileOrDirectory: function(path) {
var _s25_ = "No such file or directory";
return new P.FileSystemException(_s25_, path, new P.OSError(_s25_, S.ErrorCodes_ENOENT()));
},
notADirectory: function(path) {
var _s15_ = "Not a directory";
return new P.FileSystemException(_s15_, path, new P.OSError(_s15_, S.ErrorCodes_ENOTDIR()));
},
isADirectory: function(path) {
var _s14_ = "Is a directory";
return new P.FileSystemException(_s14_, path, new P.OSError(_s14_, S.ErrorCodes_EISDIR()));
},
invalidArgument: function(path) {
var _s16_ = "Invalid argument";
return new P.FileSystemException(_s16_, path, new P.OSError(_s16_, S.ErrorCodes_EINVAL()));
},
_fsException: function(path, msg, errorCode) {
return new P.FileSystemException(msg, path, new P.OSError(msg, errorCode));
},
DirectoryAddOnsMixin: function DirectoryAddOnsMixin() {
},
Tween$: function(begin, end, $T) {
return new R.Tween(begin, end, $T._eval$1("Tween<0>"));
},
CurveTween$: function(curve) {
return new R.CurveTween(curve);
},
Animatable: function Animatable() {
},
_AnimatedEvaluation: function _AnimatedEvaluation(t0, t1, t2) {
this.parent = t0;
this._evaluatable = t1;
this.$ti = t2;
},
_ChainedEvaluation: function _ChainedEvaluation(t0, t1, t2) {
this._tween$_parent = t0;
this._evaluatable = t1;
this.$ti = t2;
},
Tween: function Tween(t0, t1, t2) {
this.begin = t0;
this.end = t1;
this.$ti = t2;
},
ReverseTween: function ReverseTween(t0, t1, t2, t3) {
var _ = this;
_.parent = t0;
_.begin = t1;
_.end = t2;
_.$ti = t3;
},
ColorTween: function ColorTween(t0, t1) {
this.begin = t0;
this.end = t1;
},
SizeTween: function SizeTween(t0, t1) {
this.begin = t0;
this.end = t1;
},
RectTween: function RectTween(t0, t1) {
this.begin = t0;
this.end = t1;
},
IntTween: function IntTween(t0, t1) {
this.begin = t0;
this.end = t1;
},
CurveTween: function CurveTween(t0) {
this.curve = t0;
},
__AnimatedEvaluation_Animation_AnimationWithParentMixin: function __AnimatedEvaluation_Animation_AnimationWithParentMixin() {
},
_resolveTextStyle: function(style, context) {
return null;
},
CupertinoTextThemeData: function CupertinoTextThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_._text_theme$_defaults = t0;
_._text_theme$_primaryColor = t1;
_._textStyle = t2;
_._actionTextStyle = t3;
_._tabLabelTextStyle = t4;
_._navTitleTextStyle = t5;
_._navLargeTitleTextStyle = t6;
_._navActionTextStyle = t7;
_._pickerTextStyle = t8;
_._dateTimePickerTextStyle = t9;
},
_TextThemeDefaultsBuilder: function _TextThemeDefaultsBuilder(t0, t1) {
this.labelColor = t0;
this.inactiveGrayColor = t1;
},
_CupertinoTextThemeData_Object_Diagnosticable: function _CupertinoTextThemeData_Object_Diagnosticable() {
},
ObserverList$: function($T) {
return new R.ObserverList(H.setRuntimeTypeInfo([], $T._eval$1("JSArray<0>")), $T._eval$1("ObserverList<0>"));
},
ObserverList: function ObserverList(t0, t1) {
var _ = this;
_._observer_list$_list = t0;
_._isDirty = false;
_.__ObserverList__set = $;
_.$ti = t1;
},
HashedObserverList: function HashedObserverList(t0, t1) {
this._observer_list$_map = t0;
this.$ti = t1;
},
StackFrame_fromStackString: function(stack) {
var t1 = type$.WhereTypeIterable_StackFrame;
return P.List_List$of(new H.WhereTypeIterable(new H.MappedIterable(new H.WhereIterable(H.setRuntimeTypeInfo(C.JSString_methods.trim$0(stack).split("\n"), type$.JSArray_String), new R.StackFrame_fromStackString_closure(), type$.WhereIterable_String), R.stack_frame_StackFrame_fromStackTraceLine$closure(), type$.MappedIterable_of_String_and_nullable_StackFrame), t1), true, t1._eval$1("Iterable.E"));
},
StackFrame__parseWebFrame: function(line) {
var t1 = R.StackFrame__parseWebNonDebugFrame(line);
return t1;
},
StackFrame__parseWebNonDebugFrame: function(line) {
var classAndMethod, className,
_s9_ = "",
match = $.$get$StackFrame__webNonDebugFramePattern().firstMatch$1(line);
if (match == null)
return null;
classAndMethod = H.setRuntimeTypeInfo(match._match[1].split("."), type$.JSArray_String);
className = classAndMethod.length > 1 ? C.JSArray_methods.get$first(classAndMethod) : _s9_;
return new R.StackFrame(line, -1, _s9_, _s9_, _s9_, -1, -1, className, classAndMethod.length > 1 ? H.SubListIterable$(classAndMethod, 1, null, type$.String).join$1(0, ".") : C.JSArray_methods.get$single(classAndMethod));
},
StackFrame_fromStackTraceLine: function(line) {
var t1, t2, method, className, parts, packageUri, packagePath, $package, t3, t4, _null = null,
_s9_ = "";
if (line === "")
return C.StackFrame_SOW;
else if (line === "...")
return C.StackFrame_8sg;
if (!J.startsWith$1$s(line, "#"))
return R.StackFrame__parseWebFrame(line);
t1 = P.RegExp_RegExp("^#(\\d+) +(.+) \\((.+?):?(\\d+){0,1}:?(\\d+){0,1}\\)$", true, false).firstMatch$1(line)._match;
t2 = t1[2];
t2.toString;
method = H.stringReplaceAllUnchecked(t2, ".", "");
if (C.JSString_methods.startsWith$1(method, "new")) {
className = method.split(" ").length > 1 ? method.split(" ")[1] : _s9_;
if (J.contains$1$asx(className, ".")) {
parts = className.split(".");
className = parts[0];
method = parts[1];
} else
method = "";
} else if (C.JSString_methods.contains$1(method, ".")) {
parts = method.split(".");
className = parts[0];
method = parts[1];
} else
className = "";
t2 = t1[3];
t2.toString;
packageUri = P.Uri_parse(t2, 0, _null);
packagePath = packageUri.get$path(packageUri);
if (packageUri.get$scheme() === "dart" || packageUri.get$scheme() === "package") {
$package = J.$index$asx(packageUri.get$pathSegments(), 0);
packagePath = C.JSString_methods.replaceFirst$2(packageUri.get$path(packageUri), J.$add$ansx(J.$index$asx(packageUri.get$pathSegments(), 0), "/"), "");
} else
$package = _s9_;
t2 = t1[1];
t2.toString;
t2 = P.int_parse(t2, _null);
t3 = packageUri.get$scheme();
t4 = t1[4];
if (t4 == null)
t4 = -1;
else {
t4 = t4;
t4.toString;
t4 = P.int_parse(t4, _null);
}
t1 = t1[5];
if (t1 == null)
t1 = -1;
else {
t1 = t1;
t1.toString;
t1 = P.int_parse(t1, _null);
}
return new R.StackFrame(line, t2, t3, $package, packagePath, t4, t1, className, method);
},
StackFrame: function StackFrame(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.source = t0;
_.number = t1;
_.packageScheme = t2;
_.$package = t3;
_.packagePath = t4;
_.line = t5;
_.column = t6;
_.className = t7;
_.method = t8;
},
StackFrame_fromStackString_closure: function StackFrame_fromStackString_closure() {
},
Velocity: function Velocity(t0) {
this.pixelsPerSecond = t0;
},
VelocityEstimate: function VelocityEstimate(t0, t1, t2, t3) {
var _ = this;
_.pixelsPerSecond = t0;
_.confidence = t1;
_.duration = t2;
_.offset = t3;
},
_PointAtTime: function _PointAtTime(t0, t1) {
this.time = t0;
this.point = t1;
},
VelocityTracker: function VelocityTracker(t0, t1) {
this.kind = t0;
this._samples = t1;
this._velocity_tracker$_index = 0;
},
IOSScrollViewFlingVelocityTracker: function IOSScrollViewFlingVelocityTracker(t0, t1, t2) {
var _ = this;
_._touchSamples = t0;
_.kind = t1;
_._samples = t2;
_._velocity_tracker$_index = 0;
},
BackButtonIcon__getIconData: function(platform) {
switch (platform) {
case C.TargetPlatform_0:
case C.TargetPlatform_1:
case C.TargetPlatform_3:
case C.TargetPlatform_5:
return C.IconData_57490_MaterialIcons_null_true;
case C.TargetPlatform_2:
case C.TargetPlatform_4:
return C.IconData_57491_MaterialIcons_null_true;
default:
throw H.wrapException(H.ReachabilityError$(string$.x60null_c));
}
},
BackButtonIcon: function BackButtonIcon(t0) {
this.key = t0;
},
BackButton: function BackButton(t0, t1) {
this.onPressed = t0;
this.key = t1;
},
BackButton_build_closure: function BackButton_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
InkResponse$: function(autofocus, borderRadius, canRequestFocus, child, containedInkWell, customBorder, enableFeedback, excludeFromSemantics, focusColor, focusNode, highlightColor, highlightShape, hoverColor, key, mouseCursor, onDoubleTap, onFocusChange, onHighlightChanged, onHover, onLongPress, onTap, onTapCancel, onTapDown, overlayColor, radius, splashColor, splashFactory) {
return new R.InkResponse(child, onTap, onTapDown, onTapCancel, onDoubleTap, onLongPress, onHighlightChanged, onHover, mouseCursor, containedInkWell, highlightShape, radius, borderRadius, customBorder, focusColor, hoverColor, highlightColor, overlayColor, splashColor, splashFactory, enableFeedback, false, onFocusChange, autofocus, focusNode, canRequestFocus, key);
},
InkWell$: function(autofocus, borderRadius, canRequestFocus, child, customBorder, enableFeedback, focusColor, focusNode, highlightColor, hoverColor, key, mouseCursor, onDoubleTap, onFocusChange, onHighlightChanged, onHover, onLongPress, onTap, onTapCancel, onTapDown, overlayColor, splashColor, splashFactory) {
return new R.InkWell(child, onTap, onTapDown, onTapCancel, onDoubleTap, onLongPress, onHighlightChanged, onHover, mouseCursor, true, C.BoxShape_0, null, borderRadius, customBorder, focusColor, hoverColor, highlightColor, overlayColor, splashColor, splashFactory, enableFeedback !== false, false, onFocusChange, autofocus, focusNode, canRequestFocus, key);
},
InteractiveInkFeature: function InteractiveInkFeature() {
},
InteractiveInkFeatureFactory: function InteractiveInkFeatureFactory() {
},
_ParentInkResponseProvider: function _ParentInkResponseProvider(t0, t1, t2) {
this.state = t0;
this.child = t1;
this.key = t2;
},
InkResponse: function InkResponse(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26) {
var _ = this;
_.child = t0;
_.onTap = t1;
_.onTapDown = t2;
_.onTapCancel = t3;
_.onDoubleTap = t4;
_.onLongPress = t5;
_.onHighlightChanged = t6;
_.onHover = t7;
_.mouseCursor = t8;
_.containedInkWell = t9;
_.highlightShape = t10;
_.radius = t11;
_.borderRadius = t12;
_.customBorder = t13;
_.focusColor = t14;
_.hoverColor = t15;
_.highlightColor = t16;
_.overlayColor = t17;
_.splashColor = t18;
_.splashFactory = t19;
_.enableFeedback = t20;
_.excludeFromSemantics = t21;
_.onFocusChange = t22;
_.autofocus = t23;
_.focusNode = t24;
_.canRequestFocus = t25;
_.key = t26;
},
_InkResponseStateWidget: function _InkResponseStateWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29) {
var _ = this;
_.child = t0;
_.onTap = t1;
_.onTapDown = t2;
_.onTapCancel = t3;
_.onDoubleTap = t4;
_.onLongPress = t5;
_.onHighlightChanged = t6;
_.onHover = t7;
_.mouseCursor = t8;
_.containedInkWell = t9;
_.highlightShape = t10;
_.radius = t11;
_.borderRadius = t12;
_.customBorder = t13;
_.focusColor = t14;
_.hoverColor = t15;
_.highlightColor = t16;
_.overlayColor = t17;
_.splashColor = t18;
_.splashFactory = t19;
_.enableFeedback = t20;
_.excludeFromSemantics = t21;
_.onFocusChange = t22;
_.autofocus = t23;
_.focusNode = t24;
_.canRequestFocus = t25;
_.parentState = t26;
_.getRectCallback = t27;
_.debugCheckContext = t28;
_.key = t29;
},
_HighlightType: function _HighlightType(t0) {
this._ink_well$_name = t0;
},
_InkResponseState: function _InkResponseState(t0, t1, t2, t3) {
var _ = this;
_._currentSplash = _._splashes = null;
_._hovering = false;
_._highlights = t0;
_.___InkResponseState__actionMap = $;
_._activeChildren = t1;
_._ink_well$_hasFocus = false;
_.AutomaticKeepAliveClientMixin__keepAliveHandle = t2;
_._widget = null;
_._debugLifecycleState = t3;
_._framework$_element = null;
},
_InkResponseState_highlightsExist_closure: function _InkResponseState_highlightsExist_closure() {
},
_InkResponseState_updateHighlight_handleInkRemoval: function _InkResponseState_updateHighlight_handleInkRemoval(t0, t1) {
this.$this = t0;
this.type = t1;
},
_InkResponseState__createInkFeature_onRemoved: function _InkResponseState__createInkFeature_onRemoved(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_InkResponseState__handleFocusHighlightModeChange_closure: function _InkResponseState__handleFocusHighlightModeChange_closure(t0) {
this.$this = t0;
},
InkWell: function InkWell(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26) {
var _ = this;
_.child = t0;
_.onTap = t1;
_.onTapDown = t2;
_.onTapCancel = t3;
_.onDoubleTap = t4;
_.onLongPress = t5;
_.onHighlightChanged = t6;
_.onHover = t7;
_.mouseCursor = t8;
_.containedInkWell = t9;
_.highlightShape = t10;
_.radius = t11;
_.borderRadius = t12;
_.customBorder = t13;
_.focusColor = t14;
_.hoverColor = t15;
_.highlightColor = t16;
_.overlayColor = t17;
_.splashColor = t18;
_.splashFactory = t19;
_.enableFeedback = t20;
_.excludeFromSemantics = t21;
_.onFocusChange = t22;
_.autofocus = t23;
_.focusNode = t24;
_.canRequestFocus = t25;
_.key = t26;
},
__InkResponseState_State_AutomaticKeepAliveClientMixin: function __InkResponseState_State_AutomaticKeepAliveClientMixin() {
},
PaginatedDataTable: function PaginatedDataTable(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.header = t0;
_.columns = t1;
_.sortColumnIndex = t2;
_.sortAscending = t3;
_.source = t4;
_.key = t5;
},
PaginatedDataTableState: function PaginatedDataTableState(t0, t1, t2) {
var _ = this;
_.__PaginatedDataTableState__rowCountApproximate = _.__PaginatedDataTableState__rowCount = _.__PaginatedDataTableState__firstRowIndex = $;
_._selectedRowCount = 0;
_._paginated_data_table$_rows = t0;
_._tableKey = t1;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
},
PaginatedDataTableState__handleDataSourceChanged_closure: function PaginatedDataTableState__handleDataSourceChanged_closure(t0) {
this.$this = t0;
},
PaginatedDataTableState_pageTo_closure: function PaginatedDataTableState_pageTo_closure(t0, t1) {
this.$this = t0;
this.rowIndex = t1;
},
PaginatedDataTableState__getBlankRowFor_closure: function PaginatedDataTableState__getBlankRowFor_closure() {
},
PaginatedDataTableState__getProgressIndicatorRowFor_closure: function PaginatedDataTableState__getProgressIndicatorRowFor_closure(t0) {
this._box_0 = t0;
},
PaginatedDataTableState__getRows_closure: function PaginatedDataTableState__getRows_closure(t0, t1) {
this.$this = t0;
this.index = t1;
},
PaginatedDataTableState_build_closure: function PaginatedDataTableState_build_closure(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.headerWidgets = t2;
_.themeData = t3;
_.footerTextStyle = t4;
_.footerWidgets = t5;
},
PopupMenuThemeData_lerp: function(a, b, t) {
var t2, t3, t4, t5, t6, _null = null,
t1 = a == null;
if (t1 && b == null)
return _null;
t2 = t1 ? _null : a.color;
t3 = b == null;
t2 = P.Color_lerp(t2, t3 ? _null : b.color, t);
t4 = t1 ? _null : a.shape;
t4 = Y.ShapeBorder_lerp(t4, t3 ? _null : b.shape, t);
t5 = t1 ? _null : a.elevation;
t5 = P.lerpDouble(t5, t3 ? _null : b.elevation, t);
t6 = t1 ? _null : a.textStyle;
t6 = A.TextStyle_lerp(t6, t3 ? _null : b.textStyle, t);
if (t < 0.5)
t1 = t1 ? _null : a.enableFeedback;
else
t1 = t3 ? _null : b.enableFeedback;
return new R.PopupMenuThemeData(t2, t4, t5, t6, t1);
},
PopupMenuTheme_of: function(context) {
var t1;
context.dependOnInheritedWidgetOfExactType$1$0(type$.PopupMenuTheme);
t1 = K.Theme_of(context);
return t1.popupMenuTheme;
},
PopupMenuThemeData: function PopupMenuThemeData(t0, t1, t2, t3, t4) {
var _ = this;
_.color = t0;
_.shape = t1;
_.elevation = t2;
_.textStyle = t3;
_.enableFeedback = t4;
},
_PopupMenuThemeData_Object_Diagnosticable: function _PopupMenuThemeData_Object_Diagnosticable() {
},
SwitchThemeData__lerpProperties: function(a, b, t, lerpFunction, $T) {
if (a == null && b == null)
return null;
return new R._LerpProperties(a, b, t, lerpFunction, $T._eval$1("_LerpProperties<0>"));
},
SwitchThemeData: function SwitchThemeData(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.thumbColor = t0;
_.trackColor = t1;
_.materialTapTargetSize = t2;
_.mouseCursor = t3;
_.overlayColor = t4;
_.splashRadius = t5;
},
_LerpProperties: function _LerpProperties(t0, t1, t2, t3, t4) {
var _ = this;
_.a = t0;
_.b = t1;
_.t = t2;
_.lerpFunction = t3;
_.$ti = t4;
},
_SwitchThemeData_Object_Diagnosticable: function _SwitchThemeData_Object_Diagnosticable() {
},
TextSelectionThemeData_lerp: function(a, b, t) {
var t2, t3, t4, _null = null,
t1 = a == null;
if (t1 && b == null)
return _null;
t2 = t1 ? _null : a.cursorColor;
t3 = b == null;
t2 = P.Color_lerp(t2, t3 ? _null : b.cursorColor, t);
t4 = t1 ? _null : a.selectionColor;
t4 = P.Color_lerp(t4, t3 ? _null : b.selectionColor, t);
t1 = t1 ? _null : a.selectionHandleColor;
return new R.TextSelectionThemeData(t2, t4, P.Color_lerp(t1, t3 ? _null : b.selectionHandleColor, t));
},
TextSelectionTheme_of: function(context) {
var t1;
context.dependOnInheritedWidgetOfExactType$1$0(type$.TextSelectionTheme);
t1 = K.Theme_of(context);
return t1.textSelectionTheme;
},
TextSelectionThemeData: function TextSelectionThemeData(t0, t1, t2) {
this.cursorColor = t0;
this.selectionColor = t1;
this.selectionHandleColor = t2;
},
_TextSelectionThemeData_Object_Diagnosticable: function _TextSelectionThemeData_Object_Diagnosticable() {
},
TextTheme$: function(bodyText1, bodyText2, button, caption, headline1, headline2, headline3, headline4, headline5, headline6, overline, subtitle1, subtitle2) {
var _null = null,
t1 = headline1 == null ? _null : headline1,
t2 = headline2 == null ? _null : headline2,
t3 = headline3 == null ? _null : headline3,
t4 = headline4 == null ? _null : headline4,
t5 = headline5 == null ? _null : headline5,
t6 = headline6 == null ? _null : headline6,
t7 = subtitle1 == null ? _null : subtitle1,
t8 = subtitle2 == null ? _null : subtitle2,
t9 = bodyText1 == null ? _null : bodyText1;
return new R.TextTheme(t1, t2, t3, t4, t5, t6, t7, t8, t9, bodyText2 == null ? _null : bodyText2, caption, button, overline);
},
TextTheme_lerp: function(a, b, t) {
var t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, _null = null,
t1 = a == null,
t2 = t1 ? _null : a.headline1,
t3 = b == null;
t2 = A.TextStyle_lerp(t2, t3 ? _null : b.headline1, t);
t4 = t1 ? _null : a.headline2;
t4 = A.TextStyle_lerp(t4, t3 ? _null : b.headline2, t);
t5 = t1 ? _null : a.headline3;
t5 = A.TextStyle_lerp(t5, t3 ? _null : b.headline3, t);
t6 = t1 ? _null : a.headline4;
t6 = A.TextStyle_lerp(t6, t3 ? _null : b.headline4, t);
t7 = t1 ? _null : a.headline5;
t7 = A.TextStyle_lerp(t7, t3 ? _null : b.headline5, t);
t8 = t1 ? _null : a.headline6;
t8 = A.TextStyle_lerp(t8, t3 ? _null : b.headline6, t);
t9 = t1 ? _null : a.subtitle1;
t9 = A.TextStyle_lerp(t9, t3 ? _null : b.subtitle1, t);
t10 = t1 ? _null : a.subtitle2;
t10 = A.TextStyle_lerp(t10, t3 ? _null : b.subtitle2, t);
t11 = t1 ? _null : a.bodyText1;
t11 = A.TextStyle_lerp(t11, t3 ? _null : b.bodyText1, t);
t12 = t1 ? _null : a.bodyText2;
t12 = A.TextStyle_lerp(t12, t3 ? _null : b.bodyText2, t);
t13 = t1 ? _null : a.caption;
t13 = A.TextStyle_lerp(t13, t3 ? _null : b.caption, t);
t14 = t1 ? _null : a.button;
t14 = A.TextStyle_lerp(t14, t3 ? _null : b.button, t);
t1 = t1 ? _null : a.overline;
return R.TextTheme$(t11, t12, t14, t13, t2, t4, t5, t6, t7, t8, A.TextStyle_lerp(t1, t3 ? _null : b.overline, t), t9, t10);
},
TextTheme: function TextTheme(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
var _ = this;
_.headline1 = t0;
_.headline2 = t1;
_.headline3 = t2;
_.headline4 = t3;
_.headline5 = t4;
_.headline6 = t5;
_.subtitle1 = t6;
_.subtitle2 = t7;
_.bodyText1 = t8;
_.bodyText2 = t9;
_.caption = t10;
_.button = t11;
_.overline = t12;
},
_TextTheme_Object_Diagnosticable: function _TextTheme_Object_Diagnosticable() {
},
RenderListBody$: function(axisDirection, children) {
var t1 = new R.RenderListBody(axisDirection, 0, null, null);
t1.get$isRepaintBoundary();
t1.get$alwaysNeedsCompositing();
t1.__RenderObject__needsCompositing = false;
t1.addAll$1(0, children);
return t1;
},
ListBodyParentData: function ListBodyParentData(t0, t1, t2) {
this.ContainerParentDataMixin_previousSibling = t0;
this.ContainerParentDataMixin_nextSibling = t1;
this.offset = t2;
},
RenderListBody: function RenderListBody(t0, t1, t2, t3) {
var _ = this;
_._list_body$_axisDirection = t0;
_.ContainerRenderObjectMixin__childCount = t1;
_.ContainerRenderObjectMixin__firstChild = t2;
_.ContainerRenderObjectMixin__lastChild = t3;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
RenderListBody_computeMinIntrinsicWidth_closure: function RenderListBody_computeMinIntrinsicWidth_closure(t0) {
this.height = t0;
},
RenderListBody_computeMinIntrinsicWidth_closure0: function RenderListBody_computeMinIntrinsicWidth_closure0(t0) {
this.height = t0;
},
RenderListBody_computeMaxIntrinsicWidth_closure: function RenderListBody_computeMaxIntrinsicWidth_closure(t0) {
this.height = t0;
},
RenderListBody_computeMaxIntrinsicWidth_closure0: function RenderListBody_computeMaxIntrinsicWidth_closure0(t0) {
this.height = t0;
},
RenderListBody_computeMinIntrinsicHeight_closure: function RenderListBody_computeMinIntrinsicHeight_closure(t0) {
this.width = t0;
},
RenderListBody_computeMinIntrinsicHeight_closure0: function RenderListBody_computeMinIntrinsicHeight_closure0(t0) {
this.width = t0;
},
RenderListBody_computeMaxIntrinsicHeight_closure: function RenderListBody_computeMaxIntrinsicHeight_closure(t0) {
this.width = t0;
},
RenderListBody_computeMaxIntrinsicHeight_closure0: function RenderListBody_computeMaxIntrinsicHeight_closure0(t0) {
this.width = t0;
},
_RenderListBody_RenderBox_ContainerRenderObjectMixin: function _RenderListBody_RenderBox_ContainerRenderObjectMixin() {
},
_RenderListBody_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderListBody_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() {
},
PlatformViewsRegistry: function PlatformViewsRegistry() {
this._nextPlatformViewId = 0;
},
PlatformViewController: function PlatformViewController() {
},
ScrollPositionWithSingleContext$: function(context, debugLabel, initialPixels, keepScrollOffset, oldPosition, physics) {
var t1 = type$.LinkedList__ListenerEntry;
t1 = new R.ScrollPositionWithSingleContext(C.ScrollDirection_0, physics, context, true, debugLabel, new B.ValueNotifier(false, new P.LinkedList(t1), type$.ValueNotifier_bool), new P.LinkedList(t1));
t1.ScrollPosition$5$context$debugLabel$keepScrollOffset$oldPosition$physics(context, debugLabel, true, oldPosition, physics);
t1.ScrollPositionWithSingleContext$6$context$debugLabel$initialPixels$keepScrollOffset$oldPosition$physics(context, debugLabel, initialPixels, true, oldPosition, physics);
return t1;
},
ScrollPositionWithSingleContext: function ScrollPositionWithSingleContext(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_._heldPreviousVelocity = 0;
_._userScrollDirection = t0;
_._currentDrag = null;
_.physics = t1;
_.context = t2;
_.keepScrollOffset = t3;
_.debugLabel = t4;
_._maxScrollExtent = _._minScrollExtent = null;
_._impliedVelocity = 0;
_._viewportDimension = _._pixels = null;
_._haveDimensions = false;
_._didChangeViewportDimensionOrReceiveCorrection = true;
_._pendingDimensions = false;
_._semanticActions = _._scroll_position$_lastMetrics = null;
_.isScrollingNotifier = t5;
_._activity = null;
_.ChangeNotifier__listeners = t6;
},
Spacer: function Spacer(t0) {
this.key = t0;
},
Config: function Config(t0, t1, t2, t3, t4) {
var _ = this;
_.repo = t0;
_.fileSystem = t1;
_.stalePeriod = t2;
_.maxNrOfCacheObjects = t3;
_.fileService = t4;
},
FileInfo: function FileInfo(t0, t1) {
this.file = t0;
this.validTill = t1;
},
IconSlideAction$: function(caption, color, foregroundColor, icon, onTap) {
return new R.IconSlideAction(icon, caption, foregroundColor, color, onTap, true, null);
},
ClosableSlideAction: function ClosableSlideAction() {
},
ClosableSlideAction_build_closure: function ClosableSlideAction_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
IconSlideAction: function IconSlideAction(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.icon = t0;
_.caption = t1;
_.foregroundColor = t2;
_.color = t3;
_.onTap = t4;
_.closeOnTap = t5;
_.key = t6;
},
CustomSizeTransition$: function(alignment, axis, axisAlignment, child, sizeFactor) {
return new R.CustomSizeTransition(axis, alignment, axisAlignment, child, sizeFactor, null);
},
CustomSizeTransition: function CustomSizeTransition(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.axis = t0;
_.alignment = t1;
_.axisAlignment = t2;
_.child = t3;
_.listenable = t4;
_.key = t5;
},
StyledToastTheme: function StyledToastTheme(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30) {
var _ = this;
_.StyledToastTheme_child = t0;
_.textAlign = t1;
_.textDirection = t2;
_.borderRadius = t3;
_.backgroundColor = t4;
_.textPadding = t5;
_.textStyle = t6;
_.shapeBorder = t7;
_.duration = t8;
_.animDuration = t9;
_.toastPositions = t10;
_.alignment = t11;
_.axis = t12;
_.startOffset = t13;
_.endOffset = t14;
_.reverseStartOffset = t15;
_.reverseEndOffset = t16;
_.toastAnimation = t17;
_.reverseAnimation = t18;
_.curve = t19;
_.reverseCurve = t20;
_.dismissOtherOnShow = t21;
_.onDismiss = t22;
_.fullWidth = t23;
_.isHideKeyboard = t24;
_.animationBuilder = t25;
_.reverseAnimBuilder = t26;
_.isIgnoring = t27;
_.onInitState = t28;
_.child = t29;
_.key = t30;
},
MediaType_MediaType$parse: function(mediaType) {
return B.wrapFormatException("media type", mediaType, new R.MediaType_MediaType$parse_closure(mediaType));
},
MediaType$: function(type, subtype, parameters) {
var t1 = type.toLowerCase(),
t2 = subtype.toLowerCase(),
t3 = type$.String;
t3 = parameters == null ? P.LinkedHashMap_LinkedHashMap$_empty(t3, t3) : Z.CaseInsensitiveMap$from(parameters, t3);
return new R.MediaType(t1, t2, new P.UnmodifiableMapView(t3, type$.UnmodifiableMapView_String_String));
},
MediaType: function MediaType(t0, t1, t2) {
this.type = t0;
this.subtype = t1;
this.parameters = t2;
},
MediaType_MediaType$parse_closure: function MediaType_MediaType$parse_closure(t0) {
this.mediaType = t0;
},
MediaType_toString_closure: function MediaType_toString_closure(t0) {
this.buffer = t0;
},
MediaType_toString__closure: function MediaType_toString__closure() {
},
ImagePickerPlatform: function ImagePickerPlatform() {
},
ExpenseCategoryEntity_ExpenseCategoryEntity: function(id, state) {
var t1;
if (id == null) {
t1 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t1;
t1 = "" + t1;
} else
t1 = id;
return R._$ExpenseCategoryEntity$_(0, "", "", 0, "", t1, false, false, "", 0);
},
_$ExpenseCategoryEntity$_: function(archivedAt, assignedUserId, color, createdAt, createdUserId, id, isChanged, isDeleted, $name, updatedAt) {
return new R._$ExpenseCategoryEntity($name, color, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
},
ExpenseCategoryListResponse: function ExpenseCategoryListResponse() {
},
ExpenseCategoryItemResponse: function ExpenseCategoryItemResponse() {
},
ExpenseCategoryEntity: function ExpenseCategoryEntity() {
},
_$ExpenseCategoryListResponseSerializer: function _$ExpenseCategoryListResponseSerializer() {
},
_$ExpenseCategoryItemResponseSerializer: function _$ExpenseCategoryItemResponseSerializer() {
},
_$ExpenseCategoryEntitySerializer: function _$ExpenseCategoryEntitySerializer() {
},
_$ExpenseCategoryListResponse: function _$ExpenseCategoryListResponse(t0) {
this.data = t0;
this._expense_category_model$__hashCode = null;
},
ExpenseCategoryListResponseBuilder: function ExpenseCategoryListResponseBuilder() {
this._expense_category_model$_data = this._expense_category_model$_$v = null;
},
_$ExpenseCategoryItemResponse: function _$ExpenseCategoryItemResponse(t0) {
this.data = t0;
this._expense_category_model$__hashCode = null;
},
ExpenseCategoryItemResponseBuilder: function ExpenseCategoryItemResponseBuilder() {
this._expense_category_model$_data = this._expense_category_model$_$v = null;
},
_$ExpenseCategoryEntity: function _$ExpenseCategoryEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.name = t0;
_.color = t1;
_.isChanged = t2;
_.createdAt = t3;
_.updatedAt = t4;
_.archivedAt = t5;
_.isDeleted = t6;
_.createdUserId = t7;
_.assignedUserId = t8;
_.id = t9;
_._expense_category_model$__hashCode = null;
},
ExpenseCategoryEntityBuilder: function ExpenseCategoryEntityBuilder() {
var _ = this;
_._expense_category_model$_id = _._expense_category_model$_assignedUserId = _._expense_category_model$_createdUserId = _._expense_category_model$_isDeleted = _._expense_category_model$_archivedAt = _._expense_category_model$_updatedAt = _._expense_category_model$_createdAt = _._expense_category_model$_isChanged = _._expense_category_model$_color = _._expense_category_model$_name = _._expense_category_model$_$v = null;
},
_ExpenseCategoryEntity_Object_BaseEntity: function _ExpenseCategoryEntity_Object_BaseEntity() {
},
_ExpenseCategoryEntity_Object_BaseEntity_SelectableEntity: function _ExpenseCategoryEntity_Object_BaseEntity_SelectableEntity() {
},
_createViewDashboard: function() {
return new R._createViewDashboard_closure();
},
_createViewDashboard_closure: function _createViewDashboard_closure() {
},
_createViewDashboard__closure: function _createViewDashboard__closure(t0, t1, t2) {
this.store = t0;
this.next = t1;
this.action = t2;
},
_createViewDashboard___closure: function _createViewDashboard___closure() {
},
_editExpense: function() {
return new R._editExpense_closure();
},
_viewExpense: function() {
return new R._viewExpense_closure();
},
_viewExpenseList: function() {
return new R._viewExpenseList_closure0();
},
_archiveExpense: function(repository) {
return new R._archiveExpense_closure(repository);
},
_deleteExpense: function(repository) {
return new R._deleteExpense_closure(repository);
},
_restoreExpense: function(repository) {
return new R._restoreExpense_closure(repository);
},
_saveExpense: function(repository) {
return new R._saveExpense_closure(repository);
},
_loadExpense: function(repository) {
return new R._loadExpense_closure(repository);
},
_loadExpenses: function(repository) {
return new R._loadExpenses_closure(repository);
},
_saveDocument2: function(repository) {
return new R._saveDocument_closure8(repository);
},
_editExpense_closure: function _editExpense_closure() {
},
_viewExpense_closure: function _viewExpense_closure() {
},
_viewExpenseList_closure0: function _viewExpenseList_closure0() {
},
_viewExpenseList__closure: function _viewExpenseList__closure() {
},
_archiveExpense_closure: function _archiveExpense_closure(t0) {
this.repository = t0;
},
_archiveExpense__closure: function _archiveExpense__closure(t0) {
this.store = t0;
},
_archiveExpense__closure0: function _archiveExpense__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archiveExpense__closure1: function _archiveExpense__closure1(t0, t1, t2) {
this.store = t0;
this.prevExpenses = t1;
this.action = t2;
},
_deleteExpense_closure: function _deleteExpense_closure(t0) {
this.repository = t0;
},
_deleteExpense__closure: function _deleteExpense__closure(t0) {
this.store = t0;
},
_deleteExpense__closure0: function _deleteExpense__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_deleteExpense__closure1: function _deleteExpense__closure1(t0, t1, t2) {
this.store = t0;
this.prevExpenses = t1;
this.action = t2;
},
_restoreExpense_closure: function _restoreExpense_closure(t0) {
this.repository = t0;
},
_restoreExpense__closure: function _restoreExpense__closure(t0) {
this.store = t0;
},
_restoreExpense__closure0: function _restoreExpense__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restoreExpense__closure1: function _restoreExpense__closure1(t0, t1, t2) {
this.store = t0;
this.prevExpenses = t1;
this.action = t2;
},
_saveExpense_closure: function _saveExpense_closure(t0) {
this.repository = t0;
},
_saveExpense__closure: function _saveExpense__closure(t0, t1) {
this.action = t0;
this.store = t1;
},
_saveExpense__closure0: function _saveExpense__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadExpense_closure: function _loadExpense_closure(t0) {
this.repository = t0;
},
_loadExpense__closure: function _loadExpense__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadExpense__closure0: function _loadExpense__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadExpenses_closure: function _loadExpenses_closure(t0) {
this.repository = t0;
},
_loadExpenses__closure: function _loadExpenses__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadExpenses__closure0: function _loadExpenses__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument_closure8: function _saveDocument_closure8(t0) {
this.repository = t0;
},
_saveDocument__closure17: function _saveDocument__closure17(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument__closure18: function _saveDocument__closure18(t0, t1) {
this.store = t0;
this.action = t1;
},
_$ExpenseState$_: function(list, map) {
var _s12_ = "ExpenseState";
if (map == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "map"));
if (list == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "list"));
return new R._$ExpenseState(map, list);
},
_$ExpenseUIState$_: function(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) {
if (listUIState == null)
H.throwExpression(Y.BuiltValueNullFieldError$("ExpenseUIState", "listUIState"));
return new R._$ExpenseUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter);
},
ExpenseState: function ExpenseState() {
},
ExpenseState_loadExpenses_closure0: function ExpenseState_loadExpenses_closure0() {
},
ExpenseState_loadExpenses_closure1: function ExpenseState_loadExpenses_closure1() {
},
ExpenseState_loadExpenses_closure: function ExpenseState_loadExpenses_closure(t0, t1) {
this.$this = t0;
this.map = t1;
},
ExpenseUIState: function ExpenseUIState() {
},
_$ExpenseStateSerializer: function _$ExpenseStateSerializer() {
},
_$ExpenseUIStateSerializer: function _$ExpenseUIStateSerializer() {
},
_$ExpenseState: function _$ExpenseState(t0, t1) {
this.map = t0;
this.list = t1;
this._expense_state$__hashCode = null;
},
ExpenseStateBuilder: function ExpenseStateBuilder() {
this._expense_state$_list = this._expense_state$_map = this._expense_state$_$v = null;
},
_$ExpenseUIState: function _$ExpenseUIState(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.editing = t0;
_.listUIState = t1;
_.selectedId = t2;
_.forceSelected = t3;
_.tabIndex = t4;
_.saveCompleter = t5;
_.cancelCompleter = t6;
_._expense_state$__hashCode = null;
},
ExpenseUIStateBuilder: function ExpenseUIStateBuilder() {
var _ = this;
_._expense_state$_cancelCompleter = _._expense_state$_saveCompleter = _._expense_state$_tabIndex = _._expense_state$_forceSelected = _._expense_state$_selectedId = _._expense_state$_listUIState = _._expense_state$_editing = _._expense_state$_$v = null;
},
_ExpenseUIState_Object_EntityUIState: function _ExpenseUIState_Object_EntityUIState() {
},
paymentUIReducer: function(state, action) {
var t1;
state.toString;
t1 = new L.PaymentUIStateBuilder();
t1._payment_state$_$v = state;
new R.paymentUIReducer_closure(state, action).call$1(t1);
return t1.build$0(0);
},
_clearEditing6: function(payment, action) {
return F.PaymentEntity_PaymentEntity(null, null, null);
},
_updateEditing7: function(payment, action) {
return action.get$payment();
},
_viewPaymentList0: function(paymentListState, action) {
return paymentListState.rebuild$1(new R._viewPaymentList_closure());
},
_filterPaymentsByCustom1: function(paymentListState, action) {
var t1 = paymentListState.custom1Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return paymentListState.rebuild$1(new R._filterPaymentsByCustom1_closure(action));
else
return paymentListState.rebuild$1(new R._filterPaymentsByCustom1_closure0(action));
},
_filterPaymentsByCustom2: function(paymentListState, action) {
var t1 = paymentListState.custom2Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return paymentListState.rebuild$1(new R._filterPaymentsByCustom2_closure(action));
else
return paymentListState.rebuild$1(new R._filterPaymentsByCustom2_closure0(action));
},
_filterPaymentsByCustom3: function(paymentListState, action) {
var t1 = paymentListState.custom3Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return paymentListState.rebuild$1(new R._filterPaymentsByCustom3_closure(action));
else
return paymentListState.rebuild$1(new R._filterPaymentsByCustom3_closure0(action));
},
_filterPaymentsByCustom4: function(paymentListState, action) {
var t1 = paymentListState.custom4Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return paymentListState.rebuild$1(new R._filterPaymentsByCustom4_closure(action));
else
return paymentListState.rebuild$1(new R._filterPaymentsByCustom4_closure0(action));
},
_filterPaymentsByState: function(paymentListState, action) {
var t1 = paymentListState.stateFilters,
t2 = action.state;
if (J.contains$1$asx(t1._list, t2))
return paymentListState.rebuild$1(new R._filterPaymentsByState_closure(action));
else
return paymentListState.rebuild$1(new R._filterPaymentsByState_closure0(action));
},
_filterPayments: function(paymentListState, action) {
return paymentListState.rebuild$1(new R._filterPayments_closure(action, paymentListState));
},
_sortPayments: function(paymentListState, action) {
return paymentListState.rebuild$1(new R._sortPayments_closure(action));
},
_startListMultiselect8: function(paymentListState, action) {
return paymentListState.rebuild$1(new R._startListMultiselect_closure0());
},
_addToListMultiselect8: function(paymentListState, action) {
return paymentListState.rebuild$1(new R._addToListMultiselect_closure0(action));
},
_removeFromListMultiselect8: function(paymentListState, action) {
return paymentListState.rebuild$1(new R._removeFromListMultiselect_closure0(action));
},
_clearListMultiselect8: function(paymentListState, action) {
return paymentListState.rebuild$1(new R._clearListMultiselect_closure0());
},
_archivePaymentSuccess: function(paymentState, action) {
return paymentState.rebuild$1(new R._archivePaymentSuccess_closure(action));
},
_deletePaymentSuccess: function(paymentState, action) {
return paymentState.rebuild$1(new R._deletePaymentSuccess_closure(action));
},
_restorePaymentSuccess: function(paymentState, action) {
return paymentState.rebuild$1(new R._restorePaymentSuccess_closure(action));
},
_addPayment: function(paymentState, action) {
return paymentState.rebuild$1(new R._addPayment_closure(action));
},
_updatePayment: function(paymentState, action) {
return paymentState.rebuild$1(new R._updatePayment_closure(action));
},
_setLoadedPayment: function(paymentState, action) {
return paymentState.rebuild$1(new R._setLoadedPayment_closure(action));
},
_setLoadedPayments: function(paymentState, action) {
return paymentState.loadPayments$1(action.payments);
},
_setLoadedCompany7: function(paymentState, action) {
return paymentState.loadPayments$1(action.userCompany.company.payments);
},
paymentUIReducer_closure: function paymentUIReducer_closure(t0, t1) {
this.state = t0;
this.action = t1;
},
forceSelectedReducer_closure7: function forceSelectedReducer_closure7() {
},
forceSelectedReducer_closure8: function forceSelectedReducer_closure8() {
},
forceSelectedReducer_closure9: function forceSelectedReducer_closure9() {
},
forceSelectedReducer_closure10: function forceSelectedReducer_closure10() {
},
forceSelectedReducer_closure11: function forceSelectedReducer_closure11() {
},
forceSelectedReducer_closure12: function forceSelectedReducer_closure12() {
},
forceSelectedReducer_closure13: function forceSelectedReducer_closure13() {
},
forceSelectedReducer_closure14: function forceSelectedReducer_closure14() {
},
tabIndexReducer_closure1: function tabIndexReducer_closure1() {
},
tabIndexReducer_closure2: function tabIndexReducer_closure2() {
},
selectedIdReducer_closure18: function selectedIdReducer_closure18() {
},
selectedIdReducer_closure19: function selectedIdReducer_closure19() {
},
selectedIdReducer_closure20: function selectedIdReducer_closure20() {
},
selectedIdReducer_closure21: function selectedIdReducer_closure21() {
},
selectedIdReducer_closure22: function selectedIdReducer_closure22() {
},
selectedIdReducer_closure23: function selectedIdReducer_closure23() {
},
selectedIdReducer_closure24: function selectedIdReducer_closure24() {
},
selectedIdReducer_closure25: function selectedIdReducer_closure25() {
},
selectedIdReducer_closure26: function selectedIdReducer_closure26() {
},
selectedIdReducer_closure27: function selectedIdReducer_closure27() {
},
selectedIdReducer_closure28: function selectedIdReducer_closure28() {
},
selectedIdReducer_closure29: function selectedIdReducer_closure29() {
},
selectedIdReducer_closure30: function selectedIdReducer_closure30() {
},
selectedIdReducer_closure31: function selectedIdReducer_closure31() {
},
selectedIdReducer_closure32: function selectedIdReducer_closure32() {
},
selectedIdReducer_closure33: function selectedIdReducer_closure33() {
},
editingReducer_closure10: function editingReducer_closure10() {
},
editingReducer_closure11: function editingReducer_closure11() {
},
editingReducer_closure12: function editingReducer_closure12() {
},
editingReducer_closure13: function editingReducer_closure13() {
},
editingReducer__closure6: function editingReducer__closure6() {
},
_viewPaymentList_closure: function _viewPaymentList_closure() {
},
_filterPaymentsByCustom1_closure: function _filterPaymentsByCustom1_closure(t0) {
this.action = t0;
},
_filterPaymentsByCustom1_closure0: function _filterPaymentsByCustom1_closure0(t0) {
this.action = t0;
},
_filterPaymentsByCustom2_closure: function _filterPaymentsByCustom2_closure(t0) {
this.action = t0;
},
_filterPaymentsByCustom2_closure0: function _filterPaymentsByCustom2_closure0(t0) {
this.action = t0;
},
_filterPaymentsByCustom3_closure: function _filterPaymentsByCustom3_closure(t0) {
this.action = t0;
},
_filterPaymentsByCustom3_closure0: function _filterPaymentsByCustom3_closure0(t0) {
this.action = t0;
},
_filterPaymentsByCustom4_closure: function _filterPaymentsByCustom4_closure(t0) {
this.action = t0;
},
_filterPaymentsByCustom4_closure0: function _filterPaymentsByCustom4_closure0(t0) {
this.action = t0;
},
_filterPaymentsByState_closure: function _filterPaymentsByState_closure(t0) {
this.action = t0;
},
_filterPaymentsByState_closure0: function _filterPaymentsByState_closure0(t0) {
this.action = t0;
},
_filterPayments_closure: function _filterPayments_closure(t0, t1) {
this.action = t0;
this.paymentListState = t1;
},
_sortPayments_closure: function _sortPayments_closure(t0) {
this.action = t0;
},
_startListMultiselect_closure0: function _startListMultiselect_closure0() {
},
_addToListMultiselect_closure0: function _addToListMultiselect_closure0(t0) {
this.action = t0;
},
_removeFromListMultiselect_closure0: function _removeFromListMultiselect_closure0(t0) {
this.action = t0;
},
_clearListMultiselect_closure0: function _clearListMultiselect_closure0() {
},
_archivePaymentSuccess_closure: function _archivePaymentSuccess_closure(t0) {
this.action = t0;
},
_deletePaymentSuccess_closure: function _deletePaymentSuccess_closure(t0) {
this.action = t0;
},
_restorePaymentSuccess_closure: function _restorePaymentSuccess_closure(t0) {
this.action = t0;
},
_addPayment_closure: function _addPayment_closure(t0) {
this.action = t0;
},
_updatePayment_closure: function _updatePayment_closure(t0) {
this.action = t0;
},
_setLoadedPayment_closure: function _setLoadedPayment_closure(t0) {
this.action = t0;
},
_editRecurringExpense: function() {
return new R._editRecurringExpense_closure();
},
_viewRecurringExpense: function() {
return new R._viewRecurringExpense_closure();
},
_viewRecurringExpenseList: function() {
return new R._viewRecurringExpenseList_closure0();
},
_archiveRecurringExpense: function(repository) {
return new R._archiveRecurringExpense_closure(repository);
},
_deleteRecurringExpense: function(repository) {
return new R._deleteRecurringExpense_closure(repository);
},
_restoreRecurringExpense: function(repository) {
return new R._restoreRecurringExpense_closure(repository);
},
_saveRecurringExpense: function(repository) {
return new R._saveRecurringExpense_closure(repository);
},
_loadRecurringExpense: function(repository) {
return new R._loadRecurringExpense_closure(repository);
},
_loadRecurringExpenses: function(repository) {
return new R._loadRecurringExpenses_closure(repository);
},
_startRecurringExpense: function(repository) {
return new R._startRecurringExpense_closure(repository);
},
_stopRecurringExpense: function(repository) {
return new R._stopRecurringExpense_closure(repository);
},
_saveDocument8: function(repository) {
return new R._saveDocument_closure2(repository);
},
_editRecurringExpense_closure: function _editRecurringExpense_closure() {
},
_viewRecurringExpense_closure: function _viewRecurringExpense_closure() {
},
_viewRecurringExpenseList_closure0: function _viewRecurringExpenseList_closure0() {
},
_viewRecurringExpenseList__closure: function _viewRecurringExpenseList__closure() {
},
_archiveRecurringExpense_closure: function _archiveRecurringExpense_closure(t0) {
this.repository = t0;
},
_archiveRecurringExpense__closure: function _archiveRecurringExpense__closure(t0) {
this.store = t0;
},
_archiveRecurringExpense__closure0: function _archiveRecurringExpense__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archiveRecurringExpense__closure1: function _archiveRecurringExpense__closure1(t0, t1, t2) {
this.store = t0;
this.prevRecurringExpenses = t1;
this.action = t2;
},
_deleteRecurringExpense_closure: function _deleteRecurringExpense_closure(t0) {
this.repository = t0;
},
_deleteRecurringExpense__closure: function _deleteRecurringExpense__closure(t0) {
this.store = t0;
},
_deleteRecurringExpense__closure0: function _deleteRecurringExpense__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_deleteRecurringExpense__closure1: function _deleteRecurringExpense__closure1(t0, t1, t2) {
this.store = t0;
this.prevRecurringExpenses = t1;
this.action = t2;
},
_restoreRecurringExpense_closure: function _restoreRecurringExpense_closure(t0) {
this.repository = t0;
},
_restoreRecurringExpense__closure: function _restoreRecurringExpense__closure(t0) {
this.store = t0;
},
_restoreRecurringExpense__closure0: function _restoreRecurringExpense__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restoreRecurringExpense__closure1: function _restoreRecurringExpense__closure1(t0, t1, t2) {
this.store = t0;
this.prevRecurringExpenses = t1;
this.action = t2;
},
_saveRecurringExpense_closure: function _saveRecurringExpense_closure(t0) {
this.repository = t0;
},
_saveRecurringExpense__closure: function _saveRecurringExpense__closure(t0, t1) {
this.action = t0;
this.store = t1;
},
_saveRecurringExpense__closure0: function _saveRecurringExpense__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadRecurringExpense_closure: function _loadRecurringExpense_closure(t0) {
this.repository = t0;
},
_loadRecurringExpense__closure: function _loadRecurringExpense__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadRecurringExpense__closure0: function _loadRecurringExpense__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadRecurringExpenses_closure: function _loadRecurringExpenses_closure(t0) {
this.repository = t0;
},
_loadRecurringExpenses__closure: function _loadRecurringExpenses__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadRecurringExpenses__closure0: function _loadRecurringExpenses__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_startRecurringExpense_closure: function _startRecurringExpense_closure(t0) {
this.repository = t0;
},
_startRecurringExpense__closure: function _startRecurringExpense__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_startRecurringExpense__closure0: function _startRecurringExpense__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_stopRecurringExpense_closure: function _stopRecurringExpense_closure(t0) {
this.repository = t0;
},
_stopRecurringExpense__closure: function _stopRecurringExpense__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_stopRecurringExpense__closure0: function _stopRecurringExpense__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument_closure2: function _saveDocument_closure2(t0) {
this.repository = t0;
},
_saveDocument__closure5: function _saveDocument__closure5(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument__closure6: function _saveDocument__closure6(t0, t1) {
this.store = t0;
this.action = t1;
},
_viewReports: function() {
return new R._viewReports_closure();
},
_viewReports_closure: function _viewReports_closure() {
},
_viewReports__closure: function _viewReports__closure(t0, t1, t2) {
this.store = t0;
this.next = t1;
this.action = t2;
},
_viewReports___closure: function _viewReports___closure() {
},
AppHeader: function AppHeader(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.label = t0;
_.value = t1;
_.secondLabel = t2;
_.secondValue = t3;
_.message = t4;
_.key = t5;
},
AppHeader_build__value1: function AppHeader_build__value1(t0, t1) {
this.$this = t0;
this.textColor = t1;
},
AppHeader_build__value2: function AppHeader_build__value2(t0, t1) {
this.$this = t0;
this.textColor = t1;
},
AppTabBar: function AppTabBar(t0, t1, t2, t3, t4) {
var _ = this;
_.tabs = t0;
_.controller = t1;
_.isScrollable = t2;
_.onTap = t3;
_.key = t4;
},
ClientPicker$: function(clientId, clientState, onAddPressed, onSelected) {
return new R.ClientPicker(clientId, clientState, onSelected, onAddPressed, null);
},
ClientPicker: function ClientPicker(t0, t1, t2, t3, t4) {
var _ = this;
_.clientId = t0;
_.clientState = t1;
_.onSelected = t2;
_.onAddPressed = t3;
_.key = t4;
},
ClientPicker_build_closure: function ClientPicker_build_closure(t0) {
this.context = t0;
},
TaxRateField: function TaxRateField(t0, t1, t2, t3, t4) {
var _ = this;
_.onNameChanged = t0;
_.onAmountChanged = t1;
_.initialTaxName = t2;
_.initialTaxAmount = t3;
_.key = t4;
},
TaxRateField_build_closure: function TaxRateField_build_closure(t0) {
this.$this = t0;
},
TaxRateField_build_closure0: function TaxRateField_build_closure0(t0) {
this.$this = t0;
},
ClientEditBillingAddress: function ClientEditBillingAddress(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
ClientEditBillingAddressState: function ClientEditBillingAddressState(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._client_edit_billing_address$_address1Controller = t0;
_._client_edit_billing_address$_address2Controller = t1;
_._client_edit_billing_address$_cityController = t2;
_._client_edit_billing_address$_stateController = t3;
_._client_edit_billing_address$_postalCodeController = t4;
_._client_edit_billing_address$_controllers = t5;
_._client_edit_billing_address$_debouncer = t6;
_._widget = null;
_._debugLifecycleState = t7;
_._framework$_element = null;
},
ClientEditBillingAddressState_didChangeDependencies_closure: function ClientEditBillingAddressState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
ClientEditBillingAddressState_didChangeDependencies_closure0: function ClientEditBillingAddressState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
ClientEditBillingAddressState_dispose_closure: function ClientEditBillingAddressState_dispose_closure(t0) {
this.$this = t0;
},
ClientEditBillingAddressState__onChanged_closure: function ClientEditBillingAddressState__onChanged_closure(t0) {
this.$this = t0;
},
ClientEditBillingAddressState__onChanged_closure0: function ClientEditBillingAddressState__onChanged_closure0(t0, t1) {
this.viewModel = t0;
this.client = t1;
},
ClientEditBillingAddressState_build_closure: function ClientEditBillingAddressState_build_closure(t0, t1) {
this.viewModel = t0;
this.client = t1;
},
ClientEditBillingAddressState_build__closure0: function ClientEditBillingAddressState_build__closure0(t0) {
this.country = t0;
},
ClientEditBillingAddressState_build_closure0: function ClientEditBillingAddressState_build_closure0(t0, t1) {
this.$this = t0;
this.viewModel = t1;
},
ClientEditBillingAddressState_build__closure: function ClientEditBillingAddressState_build__closure(t0) {
this.$this = t0;
},
ClientEditContacts: function ClientEditContacts(t0, t1, t2) {
this.viewModel = t0;
this.clientViewModel = t1;
this.key = t2;
},
_ClientEditContactsState: function _ClientEditContactsState(t0) {
var _ = this;
_._widget = _.selectedContact = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_ClientEditContactsState__showContactEditor_closure: function _ClientEditContactsState__showContactEditor_closure(t0, t1) {
this.$this = t0;
this.contact = t1;
},
_ClientEditContactsState__showContactEditor__closure: function _ClientEditContactsState__showContactEditor__closure(t0) {
this.contact = t0;
},
_ClientEditContactsState_build_closure: function _ClientEditContactsState_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
_ClientEditContactsState_build__closure: function _ClientEditContactsState_build__closure(t0, t1, t2) {
this.$this = t0;
this.contact = t1;
this.context = t2;
},
_ClientEditContactsState_build_closure0: function _ClientEditContactsState_build_closure0(t0, t1, t2) {
this.$this = t0;
this.contact = t1;
this.context = t2;
},
_ClientEditContactsState_build_closure1: function _ClientEditContactsState_build_closure1(t0) {
this.viewModel = t0;
},
ContactListTile0: function ContactListTile0(t0, t1, t2) {
this.onTap = t0;
this.contact = t1;
this.key = t2;
},
ContactEditDetails: function ContactEditDetails(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.index = t0;
_.contact = t1;
_.viewModel = t2;
_.clientViewModel = t3;
_.isDialog = t4;
_.key = t5;
},
ContactEditDetailsState: function ContactEditDetailsState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_._client_edit_contacts$_firstNameController = t0;
_._client_edit_contacts$_lastNameController = t1;
_._client_edit_contacts$_emailController = t2;
_._client_edit_contacts$_passwordController = t3;
_._client_edit_contacts$_phoneController = t4;
_._client_edit_contacts$_custom1Controller = t5;
_._client_edit_contacts$_custom2Controller = t6;
_._client_edit_contacts$_custom3Controller = t7;
_._client_edit_contacts$_custom4Controller = t8;
_._client_edit_contacts$_debouncer = t9;
_._client_edit_contacts$_controllers = t10;
_._widget = null;
_._debugLifecycleState = t11;
_._framework$_element = null;
},
ContactEditDetailsState_didChangeDependencies_closure: function ContactEditDetailsState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
ContactEditDetailsState_didChangeDependencies_closure0: function ContactEditDetailsState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
ContactEditDetailsState_dispose_closure: function ContactEditDetailsState_dispose_closure(t0) {
this.$this = t0;
},
ContactEditDetailsState__onChanged_closure: function ContactEditDetailsState__onChanged_closure(t0) {
this.$this = t0;
},
ContactEditDetailsState__onChanged_closure0: function ContactEditDetailsState__onChanged_closure0(t0, t1, t2) {
this.$this = t0;
this.viewModel = t1;
this.contact = t2;
},
ContactEditDetailsState_build_closure0: function ContactEditDetailsState_build_closure0(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
ContactEditDetailsState_build_closure: function ContactEditDetailsState_build_closure(t0) {
this.$this = t0;
},
ContactEditDetailsState_build_closure2: function ContactEditDetailsState_build_closure2(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
ContactEditDetailsState_build_closure1: function ContactEditDetailsState_build_closure1(t0) {
this.$this = t0;
},
ContactEditDetailsState_build_closure4: function ContactEditDetailsState_build_closure4(t0) {
this.localization = t0;
},
ContactEditDetailsState_build_closure3: function ContactEditDetailsState_build_closure3(t0) {
this.$this = t0;
},
ContactEditDetailsState_build_closure6: function ContactEditDetailsState_build_closure6(t0) {
this.localization = t0;
},
ContactEditDetailsState_build_closure5: function ContactEditDetailsState_build_closure5(t0) {
this.$this = t0;
},
ContactEditDetailsState_build_closure7: function ContactEditDetailsState_build_closure7(t0) {
this.$this = t0;
},
ContactEditDetailsState_build_closure8: function ContactEditDetailsState_build_closure8(t0) {
this.$this = t0;
},
ContactEditDetailsState_build_closure9: function ContactEditDetailsState_build_closure9(t0) {
this.$this = t0;
},
ContactEditDetailsState_build_closure10: function ContactEditDetailsState_build_closure10(t0) {
this.$this = t0;
},
ContactEditDetailsState_build_closure11: function ContactEditDetailsState_build_closure11(t0) {
this.$this = t0;
},
ContactEditDetailsState_build_closure12: function ContactEditDetailsState_build_closure12(t0, t1) {
this.$this = t0;
this.context = t1;
},
ContactEditDetailsState_build__closure: function ContactEditDetailsState_build__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ContactEditDetailsState_build_closure13: function ContactEditDetailsState_build_closure13(t0) {
this.$this = t0;
},
ClientEditShippingAddress: function ClientEditShippingAddress(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
ClientEditShippingAddressState: function ClientEditShippingAddressState(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._shippingAddress1Controller = t0;
_._shippingAddress2Controller = t1;
_._shippingCityController = t2;
_._shippingStateController = t3;
_._shippingPostalCodeController = t4;
_._client_edit_shipping_address$_controllers = t5;
_._client_edit_shipping_address$_debouncer = t6;
_._widget = null;
_._debugLifecycleState = t7;
_._framework$_element = null;
},
ClientEditShippingAddressState_didChangeDependencies_closure: function ClientEditShippingAddressState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
ClientEditShippingAddressState_didChangeDependencies_closure0: function ClientEditShippingAddressState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
ClientEditShippingAddressState_dispose_closure: function ClientEditShippingAddressState_dispose_closure(t0) {
this.$this = t0;
},
ClientEditShippingAddressState__onChanged_closure: function ClientEditShippingAddressState__onChanged_closure(t0) {
this.$this = t0;
},
ClientEditShippingAddressState__onChanged_closure0: function ClientEditShippingAddressState__onChanged_closure0(t0, t1) {
this.viewModel = t0;
this.client = t1;
},
ClientEditShippingAddressState_build_closure: function ClientEditShippingAddressState_build_closure(t0, t1) {
this.viewModel = t0;
this.client = t1;
},
ClientEditShippingAddressState_build__closure0: function ClientEditShippingAddressState_build__closure0(t0) {
this.country = t0;
},
ClientEditShippingAddressState_build_closure0: function ClientEditShippingAddressState_build_closure0(t0, t1) {
this.$this = t0;
this.viewModel = t1;
},
ClientEditShippingAddressState_build__closure: function ClientEditShippingAddressState_build__closure(t0) {
this.$this = t0;
},
ClientViewActivity: function ClientViewActivity(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_ClientViewActivityState: function _ClientViewActivityState(t0) {
this._widget = null;
this._debugLifecycleState = t0;
this._framework$_element = null;
},
_ClientViewActivityState_build_closure0: function _ClientViewActivityState_build_closure0() {
},
_ClientViewActivityState_build_closure: function _ClientViewActivityState_build_closure(t0) {
this.activities = t0;
},
CreditScreenVM_fromStore: function(store) {
var t4, t5, t6, t7, t8, t9,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t4.$index(t1, t3).creditState.toString;
t5 = $.$get$memoizedFilteredCreditList();
t6 = state.getUISelection$1(C.EntityType_credit);
t7 = t4.$index(t1, t3).creditState.map;
t8 = t4.$index(t1, t3).creditState.list;
t9 = t4.$index(t1, t3).clientState.map;
t2 = t2.creditUIState.listUIState;
t9 = t5.call$6(t6, t7, t8, t9, t2, t4.$index(t1, t3).userState.map);
t4.$index(t1, t3).toString;
t2.toString;
return new R.CreditScreenVM(t9);
},
CreditScreenBuilder: function CreditScreenBuilder(t0) {
this.key = t0;
},
CreditScreenBuilder_build_closure: function CreditScreenBuilder_build_closure() {
},
CreditScreenVM: function CreditScreenVM(t0) {
this.creditList = t0;
},
CreditEditItemsVM_CreditEditItemsVM$fromStore: function(store, isTasks) {
var t1 = store.get$_store$_state(),
t2 = store.get$_store$_state(),
t3 = t2.userCompanyStates;
t2 = t2.uiState.selectedCompanyIndex;
return new R.CreditEditItemsVM(t1, J.$index$asx(t3._list, t2).userCompany.company, store.get$_store$_state().uiState.creditUIState.editing, store.get$_store$_state().uiState.creditUIState.editingItemIndex, new R.CreditEditItemsVM_CreditEditItemsVM$fromStore_closure(store), new R.CreditEditItemsVM_CreditEditItemsVM$fromStore_closure0(store), new R.CreditEditItemsVM_CreditEditItemsVM$fromStore_closure1(store, isTasks), new R.CreditEditItemsVM_CreditEditItemsVM$fromStore_closure2(store));
},
CreditEditItemsScreen: function CreditEditItemsScreen(t0, t1, t2) {
this.viewModel = t0;
this.isTasks = t1;
this.key = t2;
},
CreditEditItemsScreen_build_closure0: function CreditEditItemsScreen_build_closure0(t0) {
this.$this = t0;
},
CreditEditItemsScreen_build_closure: function CreditEditItemsScreen_build_closure(t0) {
this.$this = t0;
},
CreditEditItemsVM: function CreditEditItemsVM(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.state = t0;
_.company = t1;
_.invoice = t2;
_.invoiceItemIndex = t3;
_.onRemoveInvoiceItemPressed = t4;
_.clearSelectedInvoiceItem = t5;
_.onChangedInvoiceItem = t6;
_.onMovedInvoiceItem = t7;
},
CreditEditItemsVM_CreditEditItemsVM$fromStore_closure: function CreditEditItemsVM_CreditEditItemsVM$fromStore_closure(t0) {
this.store = t0;
},
CreditEditItemsVM_CreditEditItemsVM$fromStore_closure0: function CreditEditItemsVM_CreditEditItemsVM$fromStore_closure0(t0) {
this.store = t0;
},
CreditEditItemsVM_CreditEditItemsVM$fromStore_closure1: function CreditEditItemsVM_CreditEditItemsVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.isTasks = t1;
},
CreditEditItemsVM_CreditEditItemsVM$fromStore__closure: function CreditEditItemsVM_CreditEditItemsVM$fromStore__closure(t0) {
this.isTasks = t0;
},
CreditEditItemsVM_CreditEditItemsVM$fromStore_closure2: function CreditEditItemsVM_CreditEditItemsVM$fromStore_closure2(t0) {
this.store = t0;
},
PaymentListVM_fromStore: function(store) {
var t4, t5, t6, t7, t8, t9, t10, t11, t12,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t5 = t4.$index(t1, t3).userCompany.user;
t6 = $.$get$memoizedFilteredPaymentList();
t7 = state.getUISelection$1(C.EntityType_payment);
t8 = t4.$index(t1, t3).paymentState.map;
t9 = t4.$index(t1, t3).paymentState.list;
t10 = t4.$index(t1, t3).invoiceState.map;
t11 = t4.$index(t1, t3).clientState.map;
t12 = t4.$index(t1, t3).userState.map;
t2 = t2.paymentUIState.listUIState;
t12 = t6.call$7(t7, t8, t9, t10, t11, t12, t2);
t4.$index(t1, t3).paymentState.toString;
t4.$index(t1, t3).clientState.toString;
t2 = t2.filter;
t11 = t4.$index(t1, t3).userCompany.settings.getTableColumns$1(C.EntityType_payment);
if (t11 == null) {
t4.$index(t1, t3).toString;
t1 = H.setRuntimeTypeInfo(["status", "number", "client", "amount", "invoice_number", "date", "type", "transaction_reference"], type$.JSArray_legacy_String);
} else
t1 = t11;
return new R.PaymentListVM(state, t5, t12, t2, new R.PaymentListVM_fromStore_closure(new R.PaymentListVM_fromStore__handleRefresh(store)), t1, new R.PaymentListVM_fromStore_closure0(store), new R.PaymentListVM_fromStore_closure1(store));
},
PaymentListBuilder: function PaymentListBuilder(t0) {
this.key = t0;
},
PaymentListBuilder_build_closure: function PaymentListBuilder_build_closure() {
},
PaymentListBuilder_build__closure: function PaymentListBuilder_build__closure(t0) {
this.viewModel = t0;
},
PaymentListVM: function PaymentListVM(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.state = t0;
_.user = t1;
_.paymentList = t2;
_.filter = t3;
_.onRefreshed = t4;
_.tableColumns = t5;
_.onSortColumn = t6;
_.onClearMultielsect = t7;
},
PaymentListVM_fromStore__handleRefresh: function PaymentListVM_fromStore__handleRefresh(t0) {
this.store = t0;
},
PaymentListVM_fromStore_closure: function PaymentListVM_fromStore_closure(t0) {
this._handleRefresh = t0;
},
PaymentListVM_fromStore_closure0: function PaymentListVM_fromStore_closure0(t0) {
this.store = t0;
},
PaymentListVM_fromStore_closure1: function PaymentListVM_fromStore_closure1(t0) {
this.store = t0;
},
RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore: function(store, isTasks) {
var t1 = store.get$_store$_state(),
t2 = store.get$_store$_state(),
t3 = t2.userCompanyStates;
t2 = t2.uiState.selectedCompanyIndex;
return new R.RecurringInvoiceEditItemsVM(t1, J.$index$asx(t3._list, t2).userCompany.company, store.get$_store$_state().uiState.recurringInvoiceUIState.editing, store.get$_store$_state().uiState.recurringInvoiceUIState.editingItemIndex, new R.RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure(store), new R.RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure0(store), new R.RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure1(store, isTasks), new R.RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure2(store));
},
RecurringInvoiceEditItemsScreen: function RecurringInvoiceEditItemsScreen(t0, t1, t2) {
this.viewModel = t0;
this.isTasks = t1;
this.key = t2;
},
RecurringInvoiceEditItemsScreen_build_closure0: function RecurringInvoiceEditItemsScreen_build_closure0(t0) {
this.$this = t0;
},
RecurringInvoiceEditItemsScreen_build_closure: function RecurringInvoiceEditItemsScreen_build_closure(t0) {
this.$this = t0;
},
RecurringInvoiceEditItemsVM: function RecurringInvoiceEditItemsVM(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.state = t0;
_.company = t1;
_.invoice = t2;
_.invoiceItemIndex = t3;
_.onRemoveInvoiceItemPressed = t4;
_.clearSelectedInvoiceItem = t5;
_.onChangedInvoiceItem = t6;
_.onMovedInvoiceItem = t7;
},
RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure: function RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure(t0) {
this.store = t0;
},
RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure0: function RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure0(t0) {
this.store = t0;
},
RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure1: function RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.isTasks = t1;
},
RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore__closure: function RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore__closure(t0) {
this.isTasks = t0;
},
RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure2: function RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure2(t0) {
this.store = t0;
},
documentReport: function(userCompany, reportsUIState, clientMap, productMap, invoiceMap, quoteMap, expenseMap, projectMap, vendorMap, userMap) {
var t2, reportSettings, documentReportSettings, defaultColumns, t3, t4, t5, selectedColumns,
_s8_ = "document",
t1 = {},
data = H.setRuntimeTypeInfo([], type$.JSArray_legacy_List_legacy_ReportElement);
t1.columns = null;
t2 = X.AppLocalization_createLocale(B.defaultLocale()).toString$0(0);
reportSettings = userCompany.settings.reportSettings;
documentReportSettings = reportSettings != null && J.containsKey$1$x(reportSettings._map$_map, _s8_) ? J.$index$asx(reportSettings._map$_map, _s8_) : A.ReportSettingsEntity_ReportSettingsEntity(null, null);
defaultColumns = H.setRuntimeTypeInfo([C.DocumentReportFields_5, C.DocumentReportFields_6, C.DocumentReportFields_0, C.DocumentReportFields_4], type$.JSArray_legacy_DocumentReportFields);
t3 = documentReportSettings.columns._list;
t4 = J.getInterceptor$asx(t3);
t5 = type$.legacy_DocumentReportFields;
if (t4.get$isNotEmpty(t3)) {
t3 = t4.map$1$1(t3, new R.documentReport_closure(), t5).where$1(0, new R.documentReport_closure0());
t1.columns = D.BuiltList_BuiltList$from(P.List_List$of(t3, true, t3.$ti._eval$1("Iterable.E")), t5);
} else
t1.columns = D.BuiltList_BuiltList$from(defaultColumns, t5);
t2 = new R.documentReport__getRow(t1, userMap, userCompany, reportsUIState, new X.AppLocalization(t2));
J.forEach$1$ax(clientMap._map$_map, new R.documentReport_closure1(t2, data));
J.forEach$1$ax(productMap._map$_map, new R.documentReport_closure2(t2, data));
J.forEach$1$ax(invoiceMap._map$_map, new R.documentReport_closure3(t2, data));
J.forEach$1$ax(quoteMap._map$_map, new R.documentReport_closure4(t2, data));
selectedColumns = J.map$1$1$ax(t1.columns._list, new R.documentReport_closure5(), type$.legacy_String).toList$0(0);
C.JSArray_methods.sort$1(data, new R.documentReport_closure6(documentReportSettings, selectedColumns));
t1 = type$.MappedListIterable_of_legacy_DocumentReportFields_and_legacy_String;
t2 = t1._eval$1("ListIterable.E");
return new A.ReportResult(selectedColumns, P.List_List$of(new H.MappedListIterable(C.List_usR, new R.documentReport_closure7(), t1), true, t2), P.List_List$of(new H.MappedListIterable(defaultColumns, new R.documentReport_closure8(), t1), true, t2), data, false);
},
DocumentReportFields: function DocumentReportFields(t0) {
this._document_report$_name = t0;
},
memoizedDocumentReport_closure: function memoizedDocumentReport_closure() {
},
documentReport_closure: function documentReport_closure() {
},
documentReport_closure0: function documentReport_closure0() {
},
documentReport__getRow: function documentReport__getRow(t0, t1, t2, t3, t4) {
var _ = this;
_._box_0 = t0;
_.userMap = t1;
_.userCompany = t2;
_.reportsUIState = t3;
_.localization = t4;
},
documentReport_closure1: function documentReport_closure1(t0, t1) {
this._getRow = t0;
this.data = t1;
},
documentReport__closure2: function documentReport__closure2(t0, t1, t2) {
this._getRow = t0;
this.client = t1;
this.data = t2;
},
documentReport_closure2: function documentReport_closure2(t0, t1) {
this._getRow = t0;
this.data = t1;
},
documentReport__closure1: function documentReport__closure1(t0, t1, t2) {
this._getRow = t0;
this.product = t1;
this.data = t2;
},
documentReport_closure3: function documentReport_closure3(t0, t1) {
this._getRow = t0;
this.data = t1;
},
documentReport__closure0: function documentReport__closure0(t0, t1, t2) {
this._getRow = t0;
this.invoice = t1;
this.data = t2;
},
documentReport_closure4: function documentReport_closure4(t0, t1) {
this._getRow = t0;
this.data = t1;
},
documentReport__closure: function documentReport__closure(t0, t1, t2) {
this._getRow = t0;
this.quote = t1;
this.data = t2;
},
documentReport_closure5: function documentReport_closure5() {
},
documentReport_closure6: function documentReport_closure6(t0, t1) {
this.documentReportSettings = t0;
this.selectedColumns = t1;
},
documentReport_closure7: function documentReport_closure7() {
},
documentReport_closure8: function documentReport_closure8() {
},
DeviceSettings: function DeviceSettings(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_DeviceSettingsState: function _DeviceSettingsState(t0, t1, t2) {
var _ = this;
_._device_settings$_formKey = t0;
_._device_settings$_focusNode = _._device_settings$_controller = null;
_.SingleTickerProviderStateMixin__ticker = t1;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
},
_DeviceSettingsState_build_closure: function _DeviceSettingsState_build_closure(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_DeviceSettingsState_build_closure0: function _DeviceSettingsState_build_closure0(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_DeviceSettingsState_build_closure1: function _DeviceSettingsState_build_closure1(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_DeviceSettingsState_build_closure2: function _DeviceSettingsState_build_closure2(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_DeviceSettingsState_build_closure3: function _DeviceSettingsState_build_closure3(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_DeviceSettingsState_build_closure4: function _DeviceSettingsState_build_closure4() {
},
_DeviceSettingsState_build_closure5: function _DeviceSettingsState_build_closure5(t0, t1, t2) {
this.localization = t0;
this.prefState = t1;
this.viewModel = t2;
},
_DeviceSettingsState_build__closure7: function _DeviceSettingsState_build__closure7(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_DeviceSettingsState_build_closure6: function _DeviceSettingsState_build_closure6(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_DeviceSettingsState_build_closure7: function _DeviceSettingsState_build_closure7(t0, t1, t2) {
this.localization = t0;
this.state = t1;
this.viewModel = t2;
},
_DeviceSettingsState_build__closure6: function _DeviceSettingsState_build__closure6(t0, t1) {
this.localization = t0;
this.state = t1;
},
_DeviceSettingsState_build__closure5: function _DeviceSettingsState_build__closure5(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_DeviceSettingsState_build_closure8: function _DeviceSettingsState_build_closure8(t0, t1) {
this.context = t0;
this.viewModel = t1;
},
_DeviceSettingsState_build__closure4: function _DeviceSettingsState_build__closure4(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_DeviceSettingsState_build_closure9: function _DeviceSettingsState_build_closure9(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_DeviceSettingsState_build_closure10: function _DeviceSettingsState_build_closure10() {
},
_DeviceSettingsState_build_closure11: function _DeviceSettingsState_build_closure11(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_DeviceSettingsState_build_closure12: function _DeviceSettingsState_build_closure12(t0, t1, t2, t3) {
var _ = this;
_.viewModel = t0;
_.context = t1;
_.prefState = t2;
_.state = t3;
},
_DeviceSettingsState_build__closure2: function _DeviceSettingsState_build__closure2() {
},
_DeviceSettingsState_build__closure3: function _DeviceSettingsState_build__closure3(t0) {
this.enableDarkMode = t0;
},
_DeviceSettingsState_build_closure13: function _DeviceSettingsState_build_closure13(t0, t1, t2, t3) {
var _ = this;
_.localization = t0;
_.prefState = t1;
_.viewModel = t2;
_.context = t3;
},
_DeviceSettingsState_build__closure1: function _DeviceSettingsState_build__closure1(t0, t1, t2, t3) {
var _ = this;
_.viewModel = t0;
_.context = t1;
_.prefState = t2;
_.selector = t3;
},
_DeviceSettingsState_build___closure0: function _DeviceSettingsState_build___closure0(t0, t1) {
this.selector = t0;
this.value = t1;
},
_DeviceSettingsState_build_closure14: function _DeviceSettingsState_build_closure14(t0, t1) {
this.prefState = t0;
this.localization = t1;
},
_DeviceSettingsState_build__closure0: function _DeviceSettingsState_build__closure0(t0) {
this.prefState = t0;
},
_DeviceSettingsState_build_closure15: function _DeviceSettingsState_build_closure15(t0, t1, t2, t3) {
var _ = this;
_.context = t0;
_.localization = t1;
_.prefState = t2;
_.viewModel = t3;
},
_DeviceSettingsState_build__closure: function _DeviceSettingsState_build__closure(t0, t1, t2) {
this.prefState = t0;
this.viewModel = t1;
this.context = t2;
},
_DeviceSettingsState_build___closure: function _DeviceSettingsState_build___closure(t0, t1) {
this.i = t0;
this.colors = t1;
},
__DeviceSettingsState_State_SingleTickerProviderStateMixin: function __DeviceSettingsState_State_SingleTickerProviderStateMixin() {
},
SubscriptionEditVM_SubscriptionEditVM$fromStore: function(store) {
var t3, t4, t5,
state = store.get$_store$_state(),
t1 = state.uiState,
subscription = t1.subscriptionUIState.editing,
t2 = state.userCompanyStates;
t1 = t1.selectedCompanyIndex;
t2 = t2._list;
t3 = J.getInterceptor$asx(t2);
t4 = t3.$index(t2, t1).subscriptionState.map;
t5 = subscription.id;
J.$index$asx(t4._map$_map, t5);
return new R.SubscriptionEditVM(subscription, t3.$index(t2, t1).userCompany.company, new R.SubscriptionEditVM_SubscriptionEditVM$fromStore_closure(store), new R.SubscriptionEditVM_SubscriptionEditVM$fromStore_closure0(store, state), new R.SubscriptionEditVM_SubscriptionEditVM$fromStore_closure1(state, store), state);
},
SubscriptionEditScreen: function SubscriptionEditScreen(t0) {
this.key = t0;
},
SubscriptionEditScreen_build_closure0: function SubscriptionEditScreen_build_closure0() {
},
SubscriptionEditScreen_build_closure: function SubscriptionEditScreen_build_closure() {
},
SubscriptionEditVM: function SubscriptionEditVM(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.subscription = t0;
_.company = t1;
_.onChanged = t2;
_.onSavePressed = t3;
_.onCancelPressed = t4;
_.state = t5;
},
SubscriptionEditVM_SubscriptionEditVM$fromStore_closure: function SubscriptionEditVM_SubscriptionEditVM$fromStore_closure(t0) {
this.store = t0;
},
SubscriptionEditVM_SubscriptionEditVM$fromStore_closure1: function SubscriptionEditVM_SubscriptionEditVM$fromStore_closure1(t0, t1) {
this.state = t0;
this.store = t1;
},
SubscriptionEditVM_SubscriptionEditVM$fromStore_closure0: function SubscriptionEditVM_SubscriptionEditVM$fromStore_closure0(t0, t1) {
this.store = t0;
this.state = t1;
},
SubscriptionEditVM_SubscriptionEditVM$fromStore__closure: function SubscriptionEditVM_SubscriptionEditVM$fromStore__closure(t0, t1) {
this.store = t0;
this.state = t1;
},
SubscriptionEditVM_SubscriptionEditVM$fromStore___closure: function SubscriptionEditVM_SubscriptionEditVM$fromStore___closure(t0) {
this.localization = t0;
},
SubscriptionEditVM_SubscriptionEditVM$fromStore___closure0: function SubscriptionEditVM_SubscriptionEditVM$fromStore___closure0(t0, t1, t2, t3, t4) {
var _ = this;
_.subscription = t0;
_.localization = t1;
_.state = t2;
_.store = t3;
_.navigator = t4;
},
SubscriptionEditVM_SubscriptionEditVM$fromStore___closure1: function SubscriptionEditVM_SubscriptionEditVM$fromStore___closure1() {
},
SubscriptionEditVM_SubscriptionEditVM$fromStore____closure: function SubscriptionEditVM_SubscriptionEditVM$fromStore____closure(t0) {
this.error = t0;
},
SubscriptionPresenter: function SubscriptionPresenter() {
this.context = this.entity = null;
},
TaskEditDesktop: function TaskEditDesktop(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_TaskEditDesktopState: function _TaskEditDesktopState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_._task_edit_desktop$_numberController = t0;
_._task_edit_desktop$_rateController = t1;
_._task_edit_desktop$_descriptionController = t2;
_._task_edit_desktop$_custom1Controller = t3;
_._task_edit_desktop$_custom2Controller = t4;
_._task_edit_desktop$_custom3Controller = t5;
_._task_edit_desktop$_custom4Controller = t6;
_._task_edit_desktop$_debouncer = t7;
_._task_edit_desktop$_controllers = t8;
_._task_edit_desktop$_durationUpdateAt = _._task_edit_desktop$_endTimeUpdatedAt = _._task_edit_desktop$_endDateUpdatedAt = _._task_edit_desktop$_startTimeUpdatedAt = _._task_edit_desktop$_startDateUpdatedAt = _._task_edit_desktop$_updatedAt = 0;
_._widget = null;
_._debugLifecycleState = t9;
_._framework$_element = null;
},
_TaskEditDesktopState_didChangeDependencies_closure: function _TaskEditDesktopState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
_TaskEditDesktopState_didChangeDependencies_closure0: function _TaskEditDesktopState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
_TaskEditDesktopState_dispose_closure: function _TaskEditDesktopState_dispose_closure(t0) {
this.$this = t0;
},
_TaskEditDesktopState__onChanged_closure: function _TaskEditDesktopState__onChanged_closure(t0) {
this.$this = t0;
},
_TaskEditDesktopState__onChanged_closure0: function _TaskEditDesktopState__onChanged_closure0(t0, t1) {
this.$this = t0;
this.task = t1;
},
_TaskEditDesktopState_build_closure: function _TaskEditDesktopState_build_closure() {
},
_TaskEditDesktopState_build_closure0: function _TaskEditDesktopState_build_closure0() {
},
_TaskEditDesktopState_build_closure2: function _TaskEditDesktopState_build_closure2(t0, t1) {
this.viewModel = t0;
this.task = t1;
},
_TaskEditDesktopState_build__closure8: function _TaskEditDesktopState_build__closure8(t0) {
this.client = t0;
},
_TaskEditDesktopState_build_closure1: function _TaskEditDesktopState_build_closure1(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_TaskEditDesktopState_build_closure3: function _TaskEditDesktopState_build_closure3(t0, t1, t2) {
this.state = t0;
this.viewModel = t1;
this.task = t2;
},
_TaskEditDesktopState_build__closure7: function _TaskEditDesktopState_build__closure7(t0, t1) {
this.project = t0;
this.task = t1;
},
_TaskEditDesktopState_build_closure4: function _TaskEditDesktopState_build_closure4(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_TaskEditDesktopState_build_closure5: function _TaskEditDesktopState_build_closure5(t0, t1) {
this.viewModel = t0;
this.task = t1;
},
_TaskEditDesktopState_build__closure6: function _TaskEditDesktopState_build__closure6(t0) {
this.userId = t0;
},
_TaskEditDesktopState_build_closure6: function _TaskEditDesktopState_build_closure6(t0, t1, t2) {
this.state = t0;
this.viewModel = t1;
this.task = t2;
},
_TaskEditDesktopState_build__closure5: function _TaskEditDesktopState_build__closure5(t0) {
this.taskStatus = t0;
},
_TaskEditDesktopState_build_closure7: function _TaskEditDesktopState_build_closure7(t0, t1, t2, t3, t4) {
var _ = this;
_.$this = t0;
_.taskTimes = t1;
_.index = t2;
_.showEndDate = t3;
_.viewModel = t4;
},
_TaskEditDesktopState_build__closure4: function _TaskEditDesktopState_build__closure4(t0) {
this.$this = t0;
},
_TaskEditDesktopState_build_closure8: function _TaskEditDesktopState_build_closure8(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.taskTimes = t1;
_.index = t2;
_.viewModel = t3;
},
_TaskEditDesktopState_build__closure3: function _TaskEditDesktopState_build__closure3(t0) {
this.$this = t0;
},
_TaskEditDesktopState_build_closure9: function _TaskEditDesktopState_build_closure9(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.taskTimes = t1;
_.index = t2;
_.viewModel = t3;
},
_TaskEditDesktopState_build__closure2: function _TaskEditDesktopState_build__closure2(t0) {
this.$this = t0;
},
_TaskEditDesktopState_build_closure10: function _TaskEditDesktopState_build_closure10(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.taskTimes = t1;
_.index = t2;
_.viewModel = t3;
},
_TaskEditDesktopState_build__closure1: function _TaskEditDesktopState_build__closure1(t0) {
this.$this = t0;
},
_TaskEditDesktopState_build_closure11: function _TaskEditDesktopState_build_closure11(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.taskTimes = t1;
_.index = t2;
_.viewModel = t3;
},
_TaskEditDesktopState_build__closure0: function _TaskEditDesktopState_build__closure0(t0) {
this.$this = t0;
},
_TaskEditDesktopState_build_closure12: function _TaskEditDesktopState_build_closure12(t0, t1, t2) {
this.$this = t0;
this.viewModel = t1;
this.index = t2;
},
_TaskEditDesktopState_build__closure: function _TaskEditDesktopState_build__closure(t0) {
this.$this = t0;
},
TaxRateViewVM_TaxRateViewVM$fromStore: function(store) {
var t4, t5, taxRate,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t5 = t4.$index(t1, t3).taxRateState.map;
t2 = t2.taxRateUIState.selectedId;
taxRate = J.$index$asx(t5._map$_map, t2);
if (taxRate == null)
taxRate = T.TaxRateEntity_TaxRateEntity(t2, null, null, null);
t1 = t4.$index(t1, t3).userCompany.company;
taxRate.get$isNew();
return new R.TaxRateViewVM(state, taxRate, t1, new R.TaxRateViewVM_TaxRateViewVM$fromStore_closure(store));
},
TaxRateViewScreen: function TaxRateViewScreen(t0) {
this.key = t0;
},
TaxRateViewScreen_build_closure0: function TaxRateViewScreen_build_closure0() {
},
TaxRateViewScreen_build_closure: function TaxRateViewScreen_build_closure(t0) {
this.$this = t0;
},
TaxRateViewVM: function TaxRateViewVM(t0, t1, t2, t3) {
var _ = this;
_.state = t0;
_.taxRate = t1;
_.company = t2;
_.onBackPressed = t3;
},
TaxRateViewVM_TaxRateViewVM$fromStore_closure: function TaxRateViewVM_TaxRateViewVM$fromStore_closure(t0) {
this.store = t0;
},
TokenEditVM_TokenEditVM$fromStore: function(store) {
var t3, t4, t5,
state = store.get$_store$_state(),
t1 = state.uiState,
token = t1.tokenUIState.editing,
t2 = state.userCompanyStates;
t1 = t1.selectedCompanyIndex;
t2 = t2._list;
t3 = J.getInterceptor$asx(t2);
t4 = t3.$index(t2, t1).tokenState.map;
t5 = token.id;
J.$index$asx(t4._map$_map, t5);
return new R.TokenEditVM(token, t3.$index(t2, t1).userCompany.company, new R.TokenEditVM_TokenEditVM$fromStore_closure(store), new R.TokenEditVM_TokenEditVM$fromStore_closure0(store, state), new R.TokenEditVM_TokenEditVM$fromStore_closure1(state, store), state);
},
TokenEditScreen: function TokenEditScreen(t0) {
this.key = t0;
},
TokenEditScreen_build_closure0: function TokenEditScreen_build_closure0() {
},
TokenEditScreen_build_closure: function TokenEditScreen_build_closure() {
},
TokenEditVM: function TokenEditVM(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.token = t0;
_.company = t1;
_.onChanged = t2;
_.onSavePressed = t3;
_.onCancelPressed = t4;
_.state = t5;
},
TokenEditVM_TokenEditVM$fromStore_closure: function TokenEditVM_TokenEditVM$fromStore_closure(t0) {
this.store = t0;
},
TokenEditVM_TokenEditVM$fromStore_closure1: function TokenEditVM_TokenEditVM$fromStore_closure1(t0, t1) {
this.state = t0;
this.store = t1;
},
TokenEditVM_TokenEditVM$fromStore_closure0: function TokenEditVM_TokenEditVM$fromStore_closure0(t0, t1) {
this.store = t0;
this.state = t1;
},
TokenEditVM_TokenEditVM$fromStore__closure: function TokenEditVM_TokenEditVM$fromStore__closure(t0, t1, t2) {
this.store = t0;
this.context = t1;
this.state = t2;
},
TokenEditVM_TokenEditVM$fromStore___closure: function TokenEditVM_TokenEditVM$fromStore___closure(t0, t1, t2) {
this.store = t0;
this.token = t1;
this.state = t2;
},
TokenEditVM_TokenEditVM$fromStore____closure: function TokenEditVM_TokenEditVM$fromStore____closure(t0, t1, t2, t3, t4) {
var _ = this;
_.token = t0;
_.localization = t1;
_.state = t2;
_.store = t3;
_.navigator = t4;
},
TokenEditVM_TokenEditVM$fromStore____closure0: function TokenEditVM_TokenEditVM$fromStore____closure0() {
},
TokenEditVM_TokenEditVM$fromStore_____closure: function TokenEditVM_TokenEditVM$fromStore_____closure(t0) {
this.error = t0;
},
QrPainter: function QrPainter(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.version = t0;
_.errorCorrectionLevel = t1;
_.color = t2;
_.gapless = t3;
_.embeddedImage = t4;
_.embeddedImageStyle = t5;
_.eyeStyle = t6;
_.dataModuleStyle = t7;
_._qr_painter$_qr = t8;
_.__QrPainter__calcVersion = $;
_._paintCache = t9;
_._repaint = t10;
},
_PaintMetrics: function _PaintMetrics(t0, t1, t2) {
var _ = this;
_.moduleCount = t0;
_.containerSize = t1;
_.gapSize = t2;
_.___PaintMetrics__inset = _.___PaintMetrics__innerContentSize = _.___PaintMetrics__pixelSize = $;
},
ElevationOverlay_applyOverlay: function(context, color, elevation) {
var theme = K.Theme_of(context);
if (elevation > 0)
theme.toString;
return color;
},
getExchangeRate: function(currencyMap, fromCurrencyId, toCurrencyId) {
var t1, t2, fromCurrency, toCurrency, baseCurrency;
if (fromCurrencyId == null || toCurrencyId == null)
return 1;
t1 = currencyMap._map$_map;
t2 = J.getInterceptor$asx(t1);
fromCurrency = t2.$index(t1, fromCurrencyId);
toCurrency = t2.$index(t1, toCurrencyId);
baseCurrency = t2.$index(t1, "1");
if (J.$eq$(fromCurrency, baseCurrency))
return toCurrency.exchangeRate;
if (J.$eq$(toCurrency, baseCurrency)) {
t1 = fromCurrency == null ? null : fromCurrency.exchangeRate;
return 1 / (t1 == null ? 1 : t1);
}
return toCurrency.exchangeRate * (1 / fromCurrency.exchangeRate);
}
},
T = {
InputStream$: function(data, byteOrder, $length, start) {
var t1, t2;
if (type$.TypedData._is(data)) {
t1 = J.getInterceptor$x(data);
t1 = J.asUint8List$2$x(t1.get$buffer(data), t1.get$offsetInBytes(data), t1.get$lengthInBytes(data));
} else
t1 = type$.List_int._is(data) ? data : P.List_List$from(data, true, type$.int);
t2 = new T.InputStream(t1, start, start, byteOrder);
t2.__InputStream__length = $length == null ? J.get$length$asx(t1) : $length;
return t2;
},
InputStreamBase: function InputStreamBase() {
},
InputStream: function InputStream(t0, t1, t2, t3) {
var _ = this;
_.buffer = t0;
_.offset = t1;
_.start = t2;
_.byteOrder = t3;
_.__InputStream__length = $;
},
Deflate__smaller: function(tree, n, m, depth) {
var t1 = tree[n * 2],
t2 = tree[m * 2];
if (t1 >= t2)
t1 = t1 === t2 && depth[n] <= depth[m];
else
t1 = true;
return t1;
},
_HuffmanTree$: function() {
return new T._HuffmanTree();
},
_HuffmanTree__genCodes: function(tree, max_code, bl_count) {
var code, bits, n, t1, len, t2,
next_code = new Uint16Array(16);
for (code = 0, bits = 1; bits <= 15; ++bits) {
code = code + bl_count[bits - 1] << 1 >>> 0;
next_code[bits] = code;
}
for (n = 0; n <= max_code; ++n) {
t1 = n * 2;
len = tree[t1 + 1];
if (len === 0)
continue;
t2 = next_code[len];
next_code[len] = t2 + 1;
tree[t1] = T._HuffmanTree__reverseBits(t2, len);
}
},
_HuffmanTree__reverseBits: function(code, len) {
var code0, res = 0;
do {
code0 = T._rshift(code, 1);
res = (res | code & 1) << 1 >>> 0;
if (--len, len > 0) {
code = code0;
continue;
} else
break;
} while (true);
return T._rshift(res, 1);
},
_HuffmanTree__dCode: function(dist) {
return dist < 256 ? C.List_AyI[dist] : C.List_AyI[256 + T._rshift(dist, 7)];
},
_StaticTree$: function(staticTree, extraBits, extraBase, numElements, maxLength) {
return new T._StaticTree(staticTree, extraBits, extraBase, numElements, maxLength);
},
_rshift: function(number, bits) {
if (number >= 0)
return C.JSInt_methods.$shr(number, bits);
else
return C.JSInt_methods.$shr(number, bits) + C.JSInt_methods._shlPositive$1(2, (~bits >>> 0) + 65536 & 65535);
},
Deflate: function Deflate(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.total = _.crc32 = 0;
_._deflate$_input = t0;
_._output = t1;
_._deflate$_status = null;
_.__Deflate__pending = _.__Deflate__pendingOut = _.__Deflate__pendingBufferSize = _.__Deflate__pendingBuffer = $;
_._dataType = 2;
_.__Deflate__strStart = _.__Deflate__matchAvailable = _.__Deflate__prevMatch = _.__Deflate__matchLength = _.__Deflate__blockStart = _.__Deflate__hashShift = _.__Deflate__hashMask = _.__Deflate__hashBits = _.__Deflate__hashSize = _.__Deflate__insertHash = _.__Deflate__head = _.__Deflate__prev = _.__Deflate__actualWindowSize = _.__Deflate__window = _.__Deflate__windowMask = _.__Deflate__windowBits = _.__Deflate__windowSize = $;
_._matchStart = 0;
_.__Deflate__bitLengthTree = _.__Deflate__dynamicDistTree = _.__Deflate__dynamicLengthTree = _.__Deflate__strategy = _.__Deflate__level = _.__Deflate__prevLength = _.__Deflate__lookAhead = $;
_._lDesc = t2;
_._dDesc = t3;
_._blDesc = t4;
_._bitLengthCount = t5;
_._heap = t6;
_.__Deflate__heapMax = _.__Deflate__heapLen = $;
_._deflate$_depth = t7;
_.__Deflate__numValidBits = _.__Deflate__bitBuffer = _.__Deflate__lastEOBLen = _.__Deflate__matches = _.__Deflate__staticLen = _.__Deflate__optimalLen = _.__Deflate__dbuf = _.__Deflate__lastLit = _.__Deflate__litBufferSize = _.__Deflate__lbuf = $;
},
_DeflaterConfig: function _DeflaterConfig(t0, t1, t2, t3, t4) {
var _ = this;
_.goodLength = t0;
_.maxLazy = t1;
_.niceLength = t2;
_.maxChain = t3;
_.$function = t4;
},
_HuffmanTree: function _HuffmanTree() {
this.___HuffmanTree_staticDesc = this.___HuffmanTree_maxCode = this.___HuffmanTree_dynamicTree = $;
},
_StaticTree: function _StaticTree(t0, t1, t2, t3, t4) {
var _ = this;
_.staticTree = t0;
_.extraBits = t1;
_.extraBase = t2;
_.numElements = t3;
_.maxLength = t4;
},
StandardJsonPlugin: function StandardJsonPlugin() {
},
StandardJsonPlugin__toList_closure: function StandardJsonPlugin__toList_closure() {
},
StandardJsonPlugin__toList_closure0: function StandardJsonPlugin__toList_closure0(t0, t1, t2, t3, t4) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.keepNulls = t2;
_.result = t3;
_.hasEncodedKeys = t4;
},
StandardJsonPlugin__toListUsingDiscriminator_closure: function StandardJsonPlugin__toListUsingDiscriminator_closure() {
},
StandardJsonPlugin__toListUsingDiscriminator_closure0: function StandardJsonPlugin__toListUsingDiscriminator_closure0(t0, t1, t2, t3) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.result = t2;
_.needToDecodeKeys = t3;
},
_explodeReplace: function(string, start, end, internalReplacement, outerReplacement) {
var t1, breaks, replacement, index;
if (start === end)
return J.replaceRange$3$asx(string, start, start, outerReplacement);
t1 = J.substring$2$s(string, 0, start);
breaks = new A.Breaks(string, end, start, 176);
for (replacement = outerReplacement; index = breaks.nextBreak$0(), index >= 0; replacement = internalReplacement, start = index)
t1 = t1 + replacement + C.JSString_methods.substring$2(string, start, index);
t1 = t1 + outerReplacement + C.JSString_methods.substring$1(string, end);
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
_indexOf: function(source, pattern, start, end) {
var realEnd, t1, index, t2,
patternLength = pattern.length;
if (patternLength === 0)
return start;
realEnd = end - patternLength;
if (realEnd < start)
return -1;
if (source.length - realEnd <= (realEnd - start) * 2) {
t1 = J.getInterceptor$asx(source);
index = 0;
while (true) {
if (start < realEnd) {
index = t1.indexOf$2(source, pattern, start);
t2 = index >= 0;
} else
t2 = false;
if (!t2)
break;
if (index > realEnd)
return -1;
if (A.isGraphemeClusterBoundary(source, start, end, index) && A.isGraphemeClusterBoundary(source, start, end, index + patternLength))
return index;
start = index + 1;
}
return -1;
}
return T._gcIndexOf(source, pattern, start, end);
},
_gcIndexOf: function(source, pattern, start, end) {
var t1, index, endIndex,
breaks = new A.Breaks(source, end, start, 0);
for (t1 = pattern.length; index = breaks.nextBreak$0(), index >= 0;) {
endIndex = index + t1;
if (endIndex > end)
break;
if (C.JSString_methods.startsWith$2(source, pattern, index) && A.isGraphemeClusterBoundary(source, start, end, endIndex))
return index;
}
return -1;
},
StringCharacters: function StringCharacters(t0) {
this.string = t0;
},
StringCharacterRange: function StringCharacterRange(t0, t1, t2) {
var _ = this;
_._characters_impl$_string = t0;
_._characters_impl$_start = t1;
_._characters_impl$_end = t2;
_._currentCache = null;
},
BarRendererConfig$: function(barRendererDecorator, groupingType, $D) {
var _null = null,
t1 = new B.RoundedRectSymbolRenderer(1, true);
return new T.BarRendererConfig(C.C_ConstCornerStrategy, barRendererDecorator, _null, t1, C.BarGroupingType_0, 10, 0, _null, _null, 1, 0, _null, new K.RendererAttributes(P.LinkedHashMap_LinkedHashMap$_empty(type$.TypedKey_nullable_Object, type$.nullable_Object)), _null, _null, _null, C.C_ViewMargin, $D._eval$1("BarRendererConfig<0>"));
},
BarRendererConfig: function BarRendererConfig(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) {
var _ = this;
_.cornerStrategy = t0;
_.barRendererDecorator = t1;
_.customRendererId = t2;
_.symbolRenderer = t3;
_.groupingType = t4;
_.layoutPaintOrder = t5;
_.minBarLengthPx = t6;
_.maxBarWidthPx = t7;
_.fillPattern = t8;
_.stackedBarPaddingPx = t9;
_.strokeWidthPx = t10;
_.weightPattern = t11;
_.rendererAttributes = t12;
_.paintOrder = t13;
_.position = t14;
_.positionOrder = t15;
_.viewMargin = t16;
_.$ti = t17;
},
ConstCornerStrategy: function ConstCornerStrategy() {
},
_ReversedSeriesIterator$: function(list, $S) {
var t1 = new T._ReversedSeriesIterator(list, H.setRuntimeTypeInfo([], type$.JSArray_int), $S._eval$1("_ReversedSeriesIterator<0>"));
t1._ReversedSeriesIterator$1(list, $S);
return t1;
},
BaseBarRenderer: function BaseBarRenderer() {
},
BaseBarRenderer_preprocessSeries_closure: function BaseBarRenderer_preprocessSeries_closure(t0, t1, t2, t3, t4) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.categoryToIndexMap = t2;
_.posDomainToStackKeyToDetailsMap = t3;
_.negDomainToStackKeyToDetailsMap = t4;
},
BaseBarRenderer_preprocessSeries__closure0: function BaseBarRenderer_preprocessSeries__closure0(t0) {
this.$this = t0;
},
BaseBarRenderer_preprocessSeries__closure1: function BaseBarRenderer_preprocessSeries__closure1() {
},
BaseBarRenderer_preprocessSeries__closure2: function BaseBarRenderer_preprocessSeries__closure2(t0) {
this.elements = t0;
},
BaseBarRenderer_preprocessSeries_closure0: function BaseBarRenderer_preprocessSeries_closure0(t0, t1, t2) {
this._box_0 = t0;
this.$this = t1;
this.barWeights = t2;
},
BaseBarRenderer_preprocessSeries__closure: function BaseBarRenderer_preprocessSeries__closure() {
},
BaseBarRenderer_update_closure: function BaseBarRenderer_update_closure(t0) {
this.$this = t0;
},
BaseBarRenderer_update__closure: function BaseBarRenderer_update__closure(t0) {
this.$this = t0;
},
BaseBarRenderer_update__closure0: function BaseBarRenderer_update__closure0(t0, t1) {
this.$this = t0;
this.barKey = t1;
},
BaseBarRenderer_update__closure1: function BaseBarRenderer_update__closure1() {
},
BaseBarRenderer_update_closure0: function BaseBarRenderer_update_closure0(t0) {
this.$this = t0;
},
BaseBarRenderer_paint_closure: function BaseBarRenderer_paint_closure(t0, t1) {
this.$this = t0;
this.keysToRemove = t1;
},
BaseBarRenderer_paint__closure0: function BaseBarRenderer_paint__closure0(t0) {
this.$this = t0;
},
BaseBarRenderer_paint_closure0: function BaseBarRenderer_paint_closure0(t0, t1) {
this.$this = t0;
this.keysToRemove = t1;
},
BaseBarRenderer_paint_closure1: function BaseBarRenderer_paint_closure1(t0, t1, t2) {
this.$this = t0;
this.animationPercent = t1;
this.canvas = t2;
},
BaseBarRenderer_paint__closure: function BaseBarRenderer_paint__closure(t0, t1) {
this.$this = t0;
this.animationPercent = t1;
},
BaseBarRenderer_getNearestDatumDetailPerSeries_closure: function BaseBarRenderer_getNearestDatumDetailPerSeries_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
BaseBarRenderer__getSegmentsForDomainValue_closure: function BaseBarRenderer__getSegmentsForDomainValue_closure() {
},
BaseBarRenderer__getSegmentsForDomainValue_closure0: function BaseBarRenderer__getSegmentsForDomainValue_closure0(t0, t1, t2) {
this.$this = t0;
this.where = t1;
this.matchingSegments = t2;
},
BaseBarRenderer__getVerticalDetailsForDomainValue_closure: function BaseBarRenderer__getVerticalDetailsForDomainValue_closure(t0) {
this.$this = t0;
},
BaseBarRenderer__getVerticalDetailsForDomainValue_closure0: function BaseBarRenderer__getVerticalDetailsForDomainValue_closure0(t0, t1) {
this.$this = t0;
this.chartPoint = t1;
},
_ReversedSeriesIterable: function _ReversedSeriesIterable(t0, t1) {
this.seriesList = t0;
this.$ti = t1;
},
_ReversedSeriesIterator: function _ReversedSeriesIterator(t0, t1, t2) {
var _ = this;
_._base_bar_renderer$_list = t0;
_._visitIndex = t1;
_._base_bar_renderer$_current = null;
_.$ti = t2;
},
_ReversedSeriesIterator_closure: function _ReversedSeriesIterator_closure() {
},
_ReversedSeriesIterator_closure0: function _ReversedSeriesIterator_closure0(t0) {
this.$this = t0;
},
AxisSpec: function AxisSpec() {
},
TextStyleSpec: function TextStyleSpec(t0, t1) {
this.fontSize = t0;
this.color = t1;
},
LineStyleSpec: function LineStyleSpec(t0) {
this.color = t0;
},
TickLabelAnchor: function TickLabelAnchor(t0) {
this._axis_spec$_name = t0;
},
TickLabelJustification: function TickLabelJustification() {
},
NumericAxisSpec$: function(renderSpec) {
var _null = null;
return new T.NumericAxisSpec(_null, renderSpec, _null, _null, _null);
},
NumericAxisSpec: function NumericAxisSpec(t0, t1, t2, t3, t4) {
var _ = this;
_.showAxisLine = t0;
_.renderSpec = t1;
_.tickProviderSpec = t2;
_.tickFormatterSpec = t3;
_.scaleSpec = t4;
},
LineRenderer_LineRenderer: function(config, rendererId, $D) {
var t1, t2, _null = null;
if (config == null) {
t1 = new B.LineSymbolRenderer(4, true);
t1 = new X.LineRendererConfig(t1, new K.RendererAttributes(P.LinkedHashMap_LinkedHashMap$_empty(type$.TypedKey_nullable_Object, type$.nullable_Object)), _null, _null, _null, C.C_ViewMargin, $D._eval$1("LineRendererConfig<0>"));
} else
t1 = config;
t2 = H.setRuntimeTypeInfo([], type$.JSArray_String);
return new T.LineRenderer(t1, U.PointRenderer$(R.PointRendererConfig$(3.5, $D), _null, $D), P.LinkedHashMap_LinkedHashMap$_empty(type$.String, $D._eval$1("List<_AnimatedElements<0>>")), t2, X.LayoutViewConfig$(20, C.LayoutPosition_8, 0), "line", t1.symbolRenderer, $D._eval$1("LineRenderer<0>"));
},
_DatumPoint__DatumPoint$from: function(other, x, y, $D) {
var t1 = other.datum,
t2 = other.domain,
t3 = other.series,
t4 = other.index,
t5 = x == null ? other.x : x,
t6 = y == null ? other.y : y;
return new T._DatumPoint(t1, t2, t3, t4, t5, t6, $D._eval$1("_DatumPoint<0>"));
},
LineRenderer: function LineRenderer(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.config = t0;
_.__LineRenderer__pointRenderer = t1;
_._line_renderer$_chart = null;
_.__LineRenderer__hasMeasureBounds = $;
_._seriesLineMap = t2;
_._line_renderer$_currentKeys = t3;
_.__BaseCartesianRenderer_chart = $;
_.layoutConfig = t4;
_.rendererId = t5;
_.symbolRenderer = t6;
_.graphicsFactory = _._drawAreaBounds = null;
_.$ti = t7;
},
LineRenderer_configureSeries_closure: function LineRenderer_configureSeries_closure(t0) {
this.$this = t0;
},
LineRenderer_configureSeries__closure: function LineRenderer_configureSeries__closure(t0, t1) {
this.$this = t0;
this.series = t1;
},
LineRenderer_preprocessSeries_closure: function LineRenderer_preprocessSeries_closure(t0) {
this.$this = t0;
},
LineRenderer_preprocessSeries_closure0: function LineRenderer_preprocessSeries_closure0(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
LineRenderer_preprocessSeries__closure: function LineRenderer_preprocessSeries__closure(t0) {
this.$this = t0;
},
LineRenderer__mergeIntoSeriesMap_closure: function LineRenderer__mergeIntoSeriesMap_closure(t0, t1, t2) {
this.$this = t0;
this.seriesList = t1;
this.newLineMap = t2;
},
LineRenderer__mergeIntoSeriesMap__closure: function LineRenderer__mergeIntoSeriesMap__closure(t0, t1) {
this.$this = t0;
this.firstKey = t1;
},
LineRenderer_update_closure: function LineRenderer_update_closure(t0, t1, t2) {
this.$this = t0;
this.previousPointList = t1;
this.previousInitialPointList = t2;
},
LineRenderer_update__closure: function LineRenderer_update__closure(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.$this = t0;
_.elementsList = t1;
_.previousInitialPointList = t2;
_.stackIndex = t3;
_.series = t4;
_.previousPointList = t5;
},
LineRenderer_update___closure: function LineRenderer_update___closure(t0, t1) {
this.$this = t0;
this.styleKey = t1;
},
LineRenderer_update_closure0: function LineRenderer_update_closure0(t0) {
this.$this = t0;
},
LineRenderer__createBoundsSegment_closure: function LineRenderer__createBoundsSegment_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.initializeFromZero = t1;
_.measureAxis = t2;
_.series = t3;
},
LineRenderer__createBoundsSegment_closure0: function LineRenderer__createBoundsSegment_closure0(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.initializeFromZero = t1;
_.measureAxis = t2;
_.series = t3;
},
LineRenderer_paint_closure: function LineRenderer_paint_closure(t0, t1) {
this.$this = t0;
this.keysToRemove = t1;
},
LineRenderer_paint__closure7: function LineRenderer_paint__closure7(t0) {
this.$this = t0;
},
LineRenderer_paint_closure0: function LineRenderer_paint_closure0(t0, t1, t2) {
this.$this = t0;
this.animationPercent = t1;
this.canvas = t2;
},
LineRenderer_paint__closure: function LineRenderer_paint__closure(t0) {
this.$this = t0;
},
LineRenderer_paint__closure0: function LineRenderer_paint__closure0(t0) {
this.$this = t0;
},
LineRenderer_paint__closure1: function LineRenderer_paint__closure1(t0, t1) {
this.$this = t0;
this.animationPercent = t1;
},
LineRenderer_paint__closure2: function LineRenderer_paint__closure2(t0, t1) {
this.$this = t0;
this.canvas = t1;
},
LineRenderer_paint__closure3: function LineRenderer_paint__closure3(t0) {
this.$this = t0;
},
LineRenderer_paint__closure4: function LineRenderer_paint__closure4(t0) {
this.$this = t0;
},
LineRenderer_paint__closure5: function LineRenderer_paint__closure5(t0, t1) {
this.$this = t0;
this.animationPercent = t1;
},
LineRenderer_paint__closure6: function LineRenderer_paint__closure6(t0, t1) {
this.$this = t0;
this.canvas = t1;
},
_DatumPoint: function _DatumPoint(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.datum = t0;
_.domain = t1;
_.series = t2;
_.index = t3;
_.x = t4;
_.y = t5;
_.$ti = t6;
},
_LineRendererElement: function _LineRendererElement(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.points = t0;
_.color = t1;
_.areaColor = t2;
_.dashPattern = t3;
_.domainExtent = t4;
_.measureAxisPosition = t5;
_.positionExtent = t6;
_.strokeWidthPx = t7;
_.styleKey = t8;
_.roundEndCaps = t9;
_.$ti = t10;
},
_LineRendererElement_updateAnimationPercent__lastPoint_set: function _LineRendererElement_updateAnimationPercent__lastPoint_set(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_LineRendererElement_updateAnimationPercent__lastPoint_get: function _LineRendererElement_updateAnimationPercent__lastPoint_get(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_AnimatedLine: function _AnimatedLine(t0, t1, t2) {
var _ = this;
_.key = t0;
_.overlaySeries = t1;
_._previousLine = null;
_.___AnimatedLine__targetLine = $;
_._line_renderer$_currentLine = null;
_.animatingOut = false;
_.$ti = t2;
},
_AreaRendererElement: function _AreaRendererElement(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.points = t0;
_.color = t1;
_.areaColor = t2;
_.domainExtent = t3;
_.measureAxisPosition = t4;
_.positionExtent = t5;
_.styleKey = t6;
_.$ti = t7;
},
_AreaRendererElement_updateAnimationPercent__lastPoint_set: function _AreaRendererElement_updateAnimationPercent__lastPoint_set(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_AreaRendererElement_updateAnimationPercent__lastPoint_get: function _AreaRendererElement_updateAnimationPercent__lastPoint_get(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_AnimatedArea: function _AnimatedArea(t0, t1, t2) {
var _ = this;
_.key = t0;
_.overlaySeries = t1;
_._previousArea = null;
_.___AnimatedArea__targetArea = $;
_._currentArea = null;
_.animatingOut = false;
_.$ti = t2;
},
_AnimatedElements: function _AnimatedElements(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.allPoints = t0;
_.areas = t1;
_.lines = t2;
_.bounds = t3;
_.styleKey = t4;
_.$ti = t5;
},
_Range: function _Range(t0, t1, t2) {
this._line_renderer$_start = t0;
this._line_renderer$_end = t1;
this.$ti = t2;
},
_FileSink__FileSink$fromFile: function(file, mode, encoding) {
var _node_set, e, exception, t2, future, t1 = {};
t1._node0 = $;
_node_set = new T._FileSink__FileSink$fromFile__node_set(t1);
t1.deferredException = null;
try {
_node_set.call$1(file.get$_resolvedBackingOrCreate());
} catch (exception) {
t2 = H.unwrapException(exception);
if (type$.Exception._is(t2)) {
e = t2;
t1.deferredException = e;
} else
throw exception;
}
future = P.Future_Future$microtask(new T._FileSink__FileSink$fromFile_closure(t1, file, new T._FileSink__FileSink$fromFile__node_get(t1), mode), type$.FileNode);
return new T._FileSink(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_void), type$._AsyncCompleter_void), future, encoding);
},
MemoryFile: function MemoryFile(t0, t1) {
this.fileSystem = t0;
this.path = t1;
},
MemoryFile__resolvedBackingOrCreate_closure: function MemoryFile__resolvedBackingOrCreate_closure(t0) {
this.$this = t0;
},
MemoryFile__resolvedBackingOrCreate_closure0: function MemoryFile__resolvedBackingOrCreate_closure0(t0) {
this.$this = t0;
},
MemoryFile__doCreate_closure: function MemoryFile__doCreate_closure(t0) {
this.recursive = t0;
},
_FileSink: function _FileSink(t0, t1, t2) {
var _ = this;
_._memory_file$_completer = t0;
_._pendingWrites = t1;
_._streamCompleter = null;
_._isClosed = false;
_.encoding = t2;
},
_FileSink__FileSink$fromFile__node_set: function _FileSink__FileSink$fromFile__node_set(t0) {
this._box_0 = t0;
},
_FileSink__FileSink$fromFile__node_get: function _FileSink__FileSink$fromFile__node_get(t0) {
this._box_0 = t0;
},
_FileSink__FileSink$fromFile_closure: function _FileSink__FileSink$fromFile_closure(t0, t1, t2, t3) {
var _ = this;
_._box_0 = t0;
_.file = t1;
_._node_get = t2;
_.mode = t3;
},
_FileSink_addStream_finish: function _FileSink_addStream_finish(t0) {
this.$this = t0;
},
_FileSink_addStream_closure: function _FileSink_addStream_closure(t0) {
this.$this = t0;
},
_FileSink_addStream_closure0: function _FileSink_addStream_closure0(t0, t1) {
this.$this = t0;
this.finish = t1;
},
_FileSink_close_closure: function _FileSink_close_closure(t0) {
this.$this = t0;
},
_FileSink_close_closure0: function _FileSink_close_closure0(t0) {
this.$this = t0;
},
_FileSink__addData_closure: function _FileSink__addData_closure(t0) {
this.data = t0;
},
PlatformFile: function PlatformFile(t0, t1, t2, t3) {
var _ = this;
_.path = t0;
_.name = t1;
_.bytes = t2;
_.size = t3;
},
CupertinoIconThemeData: function CupertinoIconThemeData(t0, t1, t2) {
this.color = t0;
this._opacity = t1;
this.size = t2;
},
_CupertinoIconThemeData_IconThemeData_Diagnosticable: function _CupertinoIconThemeData_IconThemeData_Diagnosticable() {
},
TargetPlatform: function TargetPlatform(t0) {
this._platform$_name = t0;
},
LongPressGestureRecognizer$: function(debugOwner, duration, kind, postAcceptSlopTolerance) {
var t1 = duration == null ? C.Duration_500000 : duration,
t2 = type$.int;
return new T.LongPressGestureRecognizer(t1, postAcceptSlopTolerance, C.GestureRecognizerState_0, P.LinkedHashMap_LinkedHashMap$_empty(t2, type$.GestureArenaEntry), P.HashSet_HashSet(t2), debugOwner, kind, P.LinkedHashMap_LinkedHashMap$_empty(t2, type$.PointerDeviceKind));
},
LongPressStartDetails: function LongPressStartDetails(t0, t1) {
this.globalPosition = t0;
this.localPosition = t1;
},
LongPressMoveUpdateDetails: function LongPressMoveUpdateDetails(t0, t1, t2) {
this.globalPosition = t0;
this.localPosition = t1;
this.offsetFromOrigin = t2;
},
LongPressEndDetails: function LongPressEndDetails(t0, t1) {
this.localPosition = t0;
this.velocity = t1;
},
LongPressGestureRecognizer: function LongPressGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._longPressAccepted = false;
_._velocityTracker = _.onSecondaryLongPressEnd = _.onSecondaryLongPressUp = _.onSecondaryLongPressMoveUpdate = _.onSecondaryLongPressStart = _.onSecondaryLongPress = _.onLongPressEnd = _.onLongPressUp = _.onLongPressMoveUpdate = _.onLongPressStart = _.onLongPress = _._long_press$_initialButtons = _._longPressOrigin = null;
_.deadline = t0;
_.postAcceptSlopTolerance = t1;
_.state = t2;
_.initialPosition = _.primaryPointer = null;
_._gestureAccepted = false;
_._recognizer$_timer = null;
_._recognizer$_entries = t3;
_._trackedPointers = t4;
_._team = null;
_.debugOwner = t5;
_._kindFilter = t6;
_._pointerToKind = t7;
},
LongPressGestureRecognizer__checkLongPressStart_closure: function LongPressGestureRecognizer__checkLongPressStart_closure(t0, t1) {
this.$this = t0;
this.details = t1;
},
LongPressGestureRecognizer__checkLongPressMoveUpdate_closure: function LongPressGestureRecognizer__checkLongPressMoveUpdate_closure(t0, t1) {
this.$this = t0;
this.details = t1;
},
LongPressGestureRecognizer__checkLongPressEnd_closure: function LongPressGestureRecognizer__checkLongPressEnd_closure(t0, t1) {
this.$this = t0;
this.details = t1;
},
ElevatedButtonThemeData_lerp: function(a, b, t) {
var t1 = a == null;
if (t1 && b == null)
return null;
t1 = t1 ? null : a.style;
return new T.ElevatedButtonThemeData(A.ButtonStyle_lerp(t1, b == null ? null : b.style, t));
},
ElevatedButtonThemeData: function ElevatedButtonThemeData(t0) {
this.style = t0;
},
_ElevatedButtonThemeData_Object_Diagnosticable: function _ElevatedButtonThemeData_Object_Diagnosticable() {
},
RadioThemeData__lerpProperties: function(a, b, t, lerpFunction, $T) {
if (a == null && b == null)
return null;
return new T._LerpProperties0(a, b, t, lerpFunction, $T._eval$1("_LerpProperties0<0>"));
},
RadioThemeData: function RadioThemeData(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.mouseCursor = t0;
_.fillColor = t1;
_.overlayColor = t2;
_.splashRadius = t3;
_.materialTapTargetSize = t4;
_.visualDensity = t5;
},
_LerpProperties0: function _LerpProperties0(t0, t1, t2, t3, t4) {
var _ = this;
_.a = t0;
_.b = t1;
_.t = t2;
_.lerpFunction = t3;
_.$ti = t4;
},
_RadioThemeData_Object_Diagnosticable: function _RadioThemeData_Object_Diagnosticable() {
},
UnderlineTabIndicator: function UnderlineTabIndicator(t0, t1) {
this.borderSide = t0;
this.insets = t1;
},
_UnderlinePainter: function _UnderlinePainter(t0, t1) {
this.decoration = t0;
this.onChanged = t1;
},
TextButtonThemeData_lerp: function(a, b, t) {
var t1 = a == null;
if (t1 && b == null)
return null;
t1 = t1 ? null : a.style;
return new T.TextButtonThemeData(A.ButtonStyle_lerp(t1, b == null ? null : b.style, t));
},
TextButtonThemeData: function TextButtonThemeData(t0) {
this.style = t0;
},
_TextButtonThemeData_Object_Diagnosticable: function _TextButtonThemeData_Object_Diagnosticable() {
},
TooltipThemeData_lerp: function(a, b, t) {
var t2, t3, t4, t5, t6, t7, t8, t9, _null = null,
t1 = a == null;
if (t1 && b == null)
return _null;
t2 = t1 ? _null : a.height;
t3 = b == null;
t2 = P.lerpDouble(t2, t3 ? _null : b.height, t);
t4 = t1 ? _null : a.padding;
t4 = V.EdgeInsetsGeometry_lerp(t4, t3 ? _null : b.padding, t);
t5 = t1 ? _null : a.margin;
t5 = V.EdgeInsetsGeometry_lerp(t5, t3 ? _null : b.margin, t);
t6 = t1 ? _null : a.verticalOffset;
t6 = P.lerpDouble(t6, t3 ? _null : b.verticalOffset, t);
t7 = t < 0.5;
if (t7)
t8 = t1 ? _null : a.preferBelow;
else
t8 = t3 ? _null : b.preferBelow;
if (t7)
t7 = t1 ? _null : a.excludeFromSemantics;
else
t7 = t3 ? _null : b.excludeFromSemantics;
t9 = t1 ? _null : a.decoration;
t9 = Z.Decoration_lerp(t9, t3 ? _null : b.decoration, t);
t1 = t1 ? _null : a.textStyle;
return new T.TooltipThemeData(t2, t4, t5, t6, t8, t7, t9, A.TextStyle_lerp(t1, t3 ? _null : b.textStyle, t));
},
TooltipThemeData: function TooltipThemeData(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.height = t0;
_.padding = t1;
_.margin = t2;
_.verticalOffset = t3;
_.preferBelow = t4;
_.excludeFromSemantics = t5;
_.decoration = t6;
_.textStyle = t7;
},
_TooltipThemeData_Object_Diagnosticable: function _TooltipThemeData_Object_Diagnosticable() {
},
Simulation: function Simulation() {
},
DebugOverflowIndicatorMixin: function DebugOverflowIndicatorMixin() {
},
PhysicalModelLayer$: function() {
return new T.PhysicalModelLayer(C.Clip_0);
},
FollowerLayer__collectTransformForLayerChain: function(layers) {
var index, t1,
result = new E.Matrix4(new Float64Array(16));
result.setIdentity$0();
for (index = layers.length - 1; index > 0; --index) {
t1 = layers[index];
if (t1 != null)
t1.applyTransform$2(layers[index - 1], result);
}
return result;
},
FollowerLayer__pathsToCommonAncestor: function(a, b, ancestorsA, ancestorsB) {
var t1, t2;
if (a == null || b == null)
return null;
if (a === b)
return a;
t1 = a._node$_depth;
t2 = b._node$_depth;
if (t1 < t2) {
t1 = type$.nullable_ContainerLayer;
ancestorsB.push(t1._as(B.AbstractNode.prototype.get$parent.call(b, b)));
return T.FollowerLayer__pathsToCommonAncestor(a, t1._as(B.AbstractNode.prototype.get$parent.call(b, b)), ancestorsA, ancestorsB);
} else if (t1 > t2) {
t1 = type$.nullable_ContainerLayer;
ancestorsA.push(t1._as(B.AbstractNode.prototype.get$parent.call(a, a)));
return T.FollowerLayer__pathsToCommonAncestor(t1._as(B.AbstractNode.prototype.get$parent.call(a, a)), b, ancestorsA, ancestorsB);
}
t1 = type$.nullable_ContainerLayer;
ancestorsA.push(t1._as(B.AbstractNode.prototype.get$parent.call(a, a)));
ancestorsB.push(t1._as(B.AbstractNode.prototype.get$parent.call(b, b)));
return T.FollowerLayer__pathsToCommonAncestor(t1._as(B.AbstractNode.prototype.get$parent.call(a, a)), t1._as(B.AbstractNode.prototype.get$parent.call(b, b)), ancestorsA, ancestorsB);
},
AnnotationEntry: function AnnotationEntry(t0, t1, t2) {
this.annotation = t0;
this.localPosition = t1;
this.$ti = t2;
},
AnnotationResult: function AnnotationResult(t0, t1) {
this._layer$_entries = t0;
this.$ti = t1;
},
Layer: function Layer() {
},
PictureLayer: function PictureLayer(t0) {
var _ = this;
_.canvasBounds = t0;
_._picture = null;
_._willChangeHint = _._isComplexHint = false;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
PlatformViewLayer: function PlatformViewLayer(t0, t1) {
var _ = this;
_.rect = t0;
_.viewId = t1;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
PerformanceOverlayLayer: function PerformanceOverlayLayer(t0, t1, t2, t3, t4) {
var _ = this;
_._overlayRect = t0;
_.optionsMask = t1;
_.rasterizerThreshold = t2;
_.checkerboardRasterCacheImages = t3;
_.checkerboardOffscreenLayers = t4;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
ContainerLayer: function ContainerLayer() {
},
OffsetLayer: function OffsetLayer(t0) {
var _ = this;
_._layer$_offset = t0;
_._lastChild = _._firstChild = null;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
ClipRectLayer: function ClipRectLayer(t0) {
var _ = this;
_._clipRect = null;
_._layer$_clipBehavior = t0;
_._lastChild = _._firstChild = null;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
ClipRRectLayer: function ClipRRectLayer(t0) {
var _ = this;
_._clipRRect = null;
_._layer$_clipBehavior = t0;
_._lastChild = _._firstChild = null;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
ClipPathLayer: function ClipPathLayer(t0) {
var _ = this;
_._clipPath = null;
_._layer$_clipBehavior = t0;
_._lastChild = _._firstChild = null;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
TransformLayer: function TransformLayer(t0, t1) {
var _ = this;
_._layer$_transform = t0;
_._invertedTransform = _._lastEffectiveTransform = null;
_._inverseDirty = true;
_._layer$_offset = t1;
_._lastChild = _._firstChild = null;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
OpacityLayer: function OpacityLayer(t0) {
var _ = this;
_._layer$_alpha = null;
_._layer$_offset = t0;
_._lastChild = _._firstChild = null;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
PhysicalModelLayer: function PhysicalModelLayer(t0) {
var _ = this;
_._clipPath = null;
_._layer$_clipBehavior = t0;
_._lastChild = _._firstChild = _._layer$_shadowColor = _._layer$_color = _._layer$_elevation = null;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
LayerLink: function LayerLink() {
this.leaderSize = this._leader = null;
},
LeaderLayer: function LeaderLayer(t0, t1) {
var _ = this;
_._layer$_link = t0;
_.offset = t1;
_._lastChild = _._firstChild = _._lastOffset = null;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
FollowerLayer: function FollowerLayer(t0, t1, t2, t3) {
var _ = this;
_._layer$_link = t0;
_.showWhenUnlinked = t1;
_.unlinkedOffset = t2;
_.linkedOffset = t3;
_._invertedTransform = _._lastTransform = _._lastOffset = null;
_._inverseDirty = true;
_._lastChild = _._firstChild = null;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
AnnotatedRegionLayer: function AnnotatedRegionLayer(t0, t1, t2, t3) {
var _ = this;
_.value = t0;
_.size = t1;
_.offset = t2;
_._lastChild = _._firstChild = null;
_._needsAddToScene = true;
_.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
_.$ti = t3;
},
_Layer_AbstractNode_DiagnosticableTreeMixin: function _Layer_AbstractNode_DiagnosticableTreeMixin() {
},
RenderShiftedBox: function RenderShiftedBox() {
},
RenderShiftedBox_hitTestChildren_closure: function RenderShiftedBox_hitTestChildren_closure(t0, t1, t2) {
this.$this = t0;
this.position = t1;
this.childParentData = t2;
},
RenderPadding: function RenderPadding(t0, t1, t2) {
var _ = this;
_._shifted_box$_resolvedPadding = null;
_._shifted_box$_padding = t0;
_._shifted_box$_textDirection = t1;
_.RenderObjectWithChildMixin__child = t2;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
RenderAligningShiftedBox: function RenderAligningShiftedBox() {
},
RenderPositionedBox: function RenderPositionedBox(t0, t1, t2, t3, t4) {
var _ = this;
_._widthFactor = t0;
_._heightFactor = t1;
_._shifted_box$_resolvedAlignment = null;
_._shifted_box$_alignment = t2;
_._shifted_box$_textDirection = t3;
_.RenderObjectWithChildMixin__child = t4;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
RenderFractionallySizedOverflowBox: function RenderFractionallySizedOverflowBox(t0, t1, t2, t3, t4) {
var _ = this;
_._widthFactor = t0;
_._heightFactor = t1;
_._shifted_box$_resolvedAlignment = null;
_._shifted_box$_alignment = t2;
_._shifted_box$_textDirection = t3;
_.RenderObjectWithChildMixin__child = t4;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
SingleChildLayoutDelegate: function SingleChildLayoutDelegate() {
},
RenderCustomSingleChildLayoutBox: function RenderCustomSingleChildLayoutBox(t0, t1) {
var _ = this;
_._shifted_box$_delegate = t0;
_.RenderObjectWithChildMixin__child = t1;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
_RenderShiftedBox_RenderBox_RenderObjectWithChildMixin: function _RenderShiftedBox_RenderBox_RenderObjectWithChildMixin() {
},
RenderSliverEdgeInsetsPadding: function RenderSliverEdgeInsetsPadding() {
},
RenderSliverPadding: function RenderSliverPadding(t0, t1, t2) {
var _ = this;
_._resolvedPadding = null;
_._sliver_padding$_padding = t0;
_._sliver_padding$_textDirection = t1;
_.RenderObjectWithChildMixin__child = t2;
_.debugCreator = _.parentData = _._geometry = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
_RenderSliverEdgeInsetsPadding_RenderSliver_RenderObjectWithChildMixin: function _RenderSliverEdgeInsetsPadding_RenderSliver_RenderObjectWithChildMixin() {
},
Clipboard_setData: function(data) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.void);
var $async$Clipboard_setData = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
$async$goto = 2;
return P._asyncAwait(C.OptionalMethodChannel_0.invokeMethod$1$2("Clipboard.setData", P.LinkedHashMap_LinkedHashMap$_literal(["text", data.text], type$.String, type$.dynamic), type$.void), $async$Clipboard_setData);
case 2:
// returning from await.
// implicit return
return P._asyncReturn(null, $async$completer);
}
});
return P._asyncStartSync($async$Clipboard_setData, $async$completer);
},
Clipboard_getData: function(format) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.nullable_ClipboardData),
$async$returnValue, result;
var $async$Clipboard_getData = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
$async$goto = 3;
return P._asyncAwait(C.OptionalMethodChannel_0.invokeMethod$1$2("Clipboard.getData", format, type$.Map_String_dynamic), $async$Clipboard_getData);
case 3:
// returning from await.
result = $async$result;
if (result == null) {
$async$returnValue = null;
// goto return
$async$goto = 1;
break;
}
$async$returnValue = new T.ClipboardData(H._asStringQ(J.$index$asx(result, "text")));
// goto return
$async$goto = 1;
break;
case 1:
// return
return P._asyncReturn($async$returnValue, $async$completer);
}
});
return P._asyncStartSync($async$Clipboard_getData, $async$completer);
},
ClipboardData: function ClipboardData(t0) {
this.text = t0;
},
Directionality$: function(child, textDirection) {
return new T.Directionality(textDirection, child, null);
},
Directionality_maybeOf: function(context) {
var widget = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality);
return widget == null ? null : widget.textDirection;
},
Opacity$: function(alwaysIncludeSemantics, child, opacity) {
return new T.Opacity(opacity, false, child, null);
},
CustomPaint$: function(child, foregroundPainter, key, painter, size) {
return new T.CustomPaint(painter, foregroundPainter, size, child, key);
},
ClipRect$: function(child) {
return new T.ClipRect(child, null);
},
ClipRRect$: function(borderRadius, child) {
return new T.ClipRRect(borderRadius, child, null);
},
ClipPath$: function(child, clipBehavior, clipper) {
return new T.ClipPath(clipper, clipBehavior, child, null);
},
PhysicalShape$: function(child, clipBehavior, clipper, color, elevation, shadowColor) {
return new T.PhysicalShape(clipper, clipBehavior, elevation, color, shadowColor, child, null);
},
Transform$: function(alignment, child, transform, transformHitTests) {
return new T.Transform(transform, alignment, transformHitTests, child, null);
},
Transform$rotate: function(angle, child) {
return new T.Transform(E.Matrix4_Matrix4$rotationZ(angle), C.Alignment_0_0, true, child, null);
},
CompositedTransformFollower$: function(child, link, offset, showWhenUnlinked, targetAnchor) {
return new T.CompositedTransformFollower(link, false, targetAnchor, offset, child, null);
},
FittedBox$: function(child) {
return new T.FittedBox(child, null);
},
FractionalTranslation$: function(child, transformHitTests, translation) {
return new T.FractionalTranslation(translation, transformHitTests, child, null);
},
Center$: function(child, heightFactor, widthFactor) {
return new T.Center(C.Alignment_0_0, widthFactor, heightFactor, child, null);
},
LayoutId$: function(child, id) {
return new T.LayoutId(id, child, new D.ValueKey(id, type$.ValueKey_Object));
},
SizedBox$: function(child, height, width) {
return new T.SizedBox(width, height, child, null);
},
SizedBox$fromSize: function(child, size) {
return new T.SizedBox(size._dx, size._dy, child, null);
},
FractionallySizedBox$: function(alignment, child, heightFactor, widthFactor) {
return new T.FractionallySizedBox(widthFactor, heightFactor, alignment, child, null);
},
LimitedBox$: function(child, maxHeight, maxWidth) {
return new T.LimitedBox(maxWidth, maxHeight, child, null);
},
IntrinsicWidth$: function(child, stepWidth) {
return new T.IntrinsicWidth(stepWidth, child, null);
},
getAxisDirectionFromAxisReverseAndDirectionality: function(context, axis, reverse) {
var t1, axisDirection;
switch (axis) {
case C.Axis_0:
t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality);
t1.toString;
axisDirection = G.textDirectionToAxisDirection(t1.textDirection);
return reverse ? G.flipAxisDirection(axisDirection) : axisDirection;
case C.Axis_1:
return reverse ? C.AxisDirection_0 : C.AxisDirection_2;
default:
throw H.wrapException(H.ReachabilityError$(string$.x60null_c));
}
},
ListBody$: function(children, mainAxis) {
return new T.ListBody(mainAxis, children, null);
},
Stack$: function(alignment, children, clipBehavior, fit, key, textDirection) {
return new T.Stack(alignment, textDirection, fit, clipBehavior, children, key);
},
Positioned$: function(bottom, child, height, key, left, right, $top, width) {
return new T.Positioned(left, $top, right, bottom, width, height, child, key);
},
Positioned$fill: function(child) {
return new T.Positioned(0, 0, 0, 0, null, null, child, null);
},
Positioned_Positioned$directional: function(bottom, child, end, height, start, textDirection, $top, width) {
var right, left;
switch (textDirection) {
case C.TextDirection_0:
right = start;
left = end;
break;
case C.TextDirection_1:
right = end;
left = start;
break;
default:
throw H.wrapException(H.ReachabilityError$(string$.x60null_c));
}
return T.Positioned$(bottom, child, height, null, left, right, $top, width);
},
Flex$: function(children, crossAxisAlignment, direction, key, mainAxisAlignment, mainAxisSize, textBaseline, textDirection, verticalDirection) {
return new T.Flex(direction, mainAxisAlignment, mainAxisSize, crossAxisAlignment, textDirection, verticalDirection, textBaseline, children, key);
},
Row$: function(children, crossAxisAlignment, mainAxisAlignment, mainAxisSize, textDirection) {
return new T.Row(C.Axis_0, mainAxisAlignment, mainAxisSize, crossAxisAlignment, textDirection, C.VerticalDirection_1, null, children, null);
},
Column$: function(children, crossAxisAlignment, key, mainAxisAlignment, mainAxisSize, verticalDirection) {
return new T.Column(C.Axis_1, mainAxisAlignment, mainAxisSize, crossAxisAlignment, null, verticalDirection, null, children, key);
},
Expanded$: function(child, flex) {
return new T.Expanded(flex, C.FlexFit_0, child, null);
},
RichText$: function(locale, maxLines, overflow, softWrap, strutStyle, text, textAlign, textDirection, textHeightBehavior, textScaleFactor, textWidthBasis) {
return new T.RichText(text, textAlign, textDirection, softWrap, overflow, textScaleFactor, maxLines, locale, strutStyle, textWidthBasis, textHeightBehavior, T.RichText__extractChildren(text), null);
},
RichText__extractChildren: function(span) {
var result, t1 = {};
t1.index = 0;
result = H.setRuntimeTypeInfo([], type$.JSArray_Widget);
span.visitChildren$1(new T.RichText__extractChildren_closure(t1, result));
return result;
},
Listener$: function(behavior, child, onPointerCancel, onPointerDown, onPointerMove, onPointerSignal, onPointerUp) {
return new T.Listener(onPointerDown, onPointerMove, onPointerUp, onPointerCancel, onPointerSignal, behavior, child, null);
},
AbsorbPointer$: function(absorbing, child) {
return new T.AbsorbPointer(absorbing, child, null);
},
BlockSemantics$: function(child) {
return new T.BlockSemantics(child, null);
},
KeyedSubtree_KeyedSubtree$wrap: function(child, childIndex) {
var t1 = child.key;
return new T.KeyedSubtree(child, t1 != null ? new D.ValueKey(t1, type$.ValueKey_Key) : new D.ValueKey(childIndex, type$.ValueKey_int));
},
KeyedSubtree_ensureUniqueKeysForList: function(items) {
var itemsWithUniqueKeys, t2, t3, itemIndex, _i, item, t4,
t1 = items.length;
if (t1 === 0)
return items;
itemsWithUniqueKeys = H.setRuntimeTypeInfo([], type$.JSArray_Widget);
for (t1 = items.length, t2 = type$.ValueKey_int, t3 = type$.ValueKey_Key, itemIndex = 0, _i = 0; _i < items.length; items.length === t1 || (0, H.throwConcurrentModificationError)(items), ++_i) {
item = items[_i];
t4 = item.key;
itemsWithUniqueKeys.push(new T.KeyedSubtree(item, t4 != null ? new D.ValueKey(t4, t3) : new D.ValueKey(itemIndex, t2)));
++itemIndex;
}
return itemsWithUniqueKeys;
},
Directionality: function Directionality(t0, t1, t2) {
this.textDirection = t0;
this.child = t1;
this.key = t2;
},
Opacity: function Opacity(t0, t1, t2, t3) {
var _ = this;
_.opacity = t0;
_.alwaysIncludeSemantics = t1;
_.child = t2;
_.key = t3;
},
CustomPaint: function CustomPaint(t0, t1, t2, t3, t4) {
var _ = this;
_.painter = t0;
_.foregroundPainter = t1;
_.size = t2;
_.child = t3;
_.key = t4;
},
ClipRect: function ClipRect(t0, t1) {
this.child = t0;
this.key = t1;
},
ClipRRect: function ClipRRect(t0, t1, t2) {
this.borderRadius = t0;
this.child = t1;
this.key = t2;
},
ClipOval: function ClipOval(t0, t1) {
this.child = t0;
this.key = t1;
},
ClipPath: function ClipPath(t0, t1, t2, t3) {
var _ = this;
_.clipper = t0;
_.clipBehavior = t1;
_.child = t2;
_.key = t3;
},
PhysicalModel: function PhysicalModel(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.shape = t0;
_.clipBehavior = t1;
_.borderRadius = t2;
_.elevation = t3;
_.color = t4;
_.shadowColor = t5;
_.child = t6;
_.key = t7;
},
PhysicalShape: function PhysicalShape(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.clipper = t0;
_.clipBehavior = t1;
_.elevation = t2;
_.color = t3;
_.shadowColor = t4;
_.child = t5;
_.key = t6;
},
Transform: function Transform(t0, t1, t2, t3, t4) {
var _ = this;
_.transform = t0;
_.alignment = t1;
_.transformHitTests = t2;
_.child = t3;
_.key = t4;
},
CompositedTransformTarget: function CompositedTransformTarget(t0, t1, t2) {
this.link = t0;
this.child = t1;
this.key = t2;
},
CompositedTransformFollower: function CompositedTransformFollower(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.link = t0;
_.showWhenUnlinked = t1;
_.targetAnchor = t2;
_.offset = t3;
_.child = t4;
_.key = t5;
},
FittedBox: function FittedBox(t0, t1) {
this.child = t0;
this.key = t1;
},
FractionalTranslation: function FractionalTranslation(t0, t1, t2, t3) {
var _ = this;
_.translation = t0;
_.transformHitTests = t1;
_.child = t2;
_.key = t3;
},
Padding: function Padding(t0, t1, t2) {
this.padding = t0;
this.child = t1;
this.key = t2;
},
Align: function Align(t0, t1, t2, t3, t4) {
var _ = this;
_.alignment = t0;
_.widthFactor = t1;
_.heightFactor = t2;
_.child = t3;
_.key = t4;
},
Center: function Center(t0, t1, t2, t3, t4) {
var _ = this;
_.alignment = t0;
_.widthFactor = t1;
_.heightFactor = t2;
_.child = t3;
_.key = t4;
},
CustomSingleChildLayout: function CustomSingleChildLayout(t0, t1, t2) {
this.delegate = t0;
this.child = t1;
this.key = t2;
},
LayoutId: function LayoutId(t0, t1, t2) {
this.id = t0;
this.child = t1;
this.key = t2;
},
CustomMultiChildLayout: function CustomMultiChildLayout(t0, t1, t2) {
this.delegate = t0;
this.children = t1;
this.key = t2;
},
SizedBox: function SizedBox(t0, t1, t2, t3) {
var _ = this;
_.width = t0;
_.height = t1;
_.child = t2;
_.key = t3;
},
ConstrainedBox: function ConstrainedBox(t0, t1, t2) {
this.constraints = t0;
this.child = t1;
this.key = t2;
},
FractionallySizedBox: function FractionallySizedBox(t0, t1, t2, t3, t4) {
var _ = this;
_.widthFactor = t0;
_.heightFactor = t1;
_.alignment = t2;
_.child = t3;
_.key = t4;
},
LimitedBox: function LimitedBox(t0, t1, t2, t3) {
var _ = this;
_.maxWidth = t0;
_.maxHeight = t1;
_.child = t2;
_.key = t3;
},
Offstage: function Offstage(t0, t1, t2) {
this.offstage = t0;
this.child = t1;
this.key = t2;
},
_OffstageElement: function _OffstageElement(t0, t1, t2, t3) {
var _ = this;
_._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = _._framework$_child = null;
_._cachedHash = t0;
_._slot = null;
_.__Element__depth = $;
_._widget = t1;
_._owner = null;
_._lifecycleState = t2;
_._debugForgottenChildrenWithGlobalKey = t3;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
},
AspectRatio: function AspectRatio(t0, t1, t2) {
this.aspectRatio = t0;
this.child = t1;
this.key = t2;
},
IntrinsicWidth: function IntrinsicWidth(t0, t1, t2) {
this.stepWidth = t0;
this.child = t1;
this.key = t2;
},
IntrinsicHeight: function IntrinsicHeight(t0, t1) {
this.child = t0;
this.key = t1;
},
SliverPadding: function SliverPadding(t0, t1, t2) {
this.padding = t0;
this.child = t1;
this.key = t2;
},
ListBody: function ListBody(t0, t1, t2) {
this.mainAxis = t0;
this.children = t1;
this.key = t2;
},
Stack: function Stack(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.alignment = t0;
_.textDirection = t1;
_.fit = t2;
_.clipBehavior = t3;
_.children = t4;
_.key = t5;
},
IndexedStack: function IndexedStack(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.index = t0;
_.alignment = t1;
_.textDirection = t2;
_.fit = t3;
_.clipBehavior = t4;
_.children = t5;
_.key = t6;
},
Positioned: function Positioned(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.left = t0;
_.top = t1;
_.right = t2;
_.bottom = t3;
_.width = t4;
_.height = t5;
_.child = t6;
_.key = t7;
},
PositionedDirectional: function PositionedDirectional(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.start = t0;
_.top = t1;
_.bottom = t2;
_.width = t3;
_.child = t4;
_.key = t5;
},
Flex: function Flex(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.direction = t0;
_.mainAxisAlignment = t1;
_.mainAxisSize = t2;
_.crossAxisAlignment = t3;
_.textDirection = t4;
_.verticalDirection = t5;
_.textBaseline = t6;
_.children = t7;
_.key = t8;
},
Row: function Row(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.direction = t0;
_.mainAxisAlignment = t1;
_.mainAxisSize = t2;
_.crossAxisAlignment = t3;
_.textDirection = t4;
_.verticalDirection = t5;
_.textBaseline = t6;
_.children = t7;
_.key = t8;
},
Column: function Column(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.direction = t0;
_.mainAxisAlignment = t1;
_.mainAxisSize = t2;
_.crossAxisAlignment = t3;
_.textDirection = t4;
_.verticalDirection = t5;
_.textBaseline = t6;
_.children = t7;
_.key = t8;
},
Flexible: function Flexible(t0, t1, t2, t3) {
var _ = this;
_.flex = t0;
_.fit = t1;
_.child = t2;
_.key = t3;
},
Expanded: function Expanded(t0, t1, t2, t3) {
var _ = this;
_.flex = t0;
_.fit = t1;
_.child = t2;
_.key = t3;
},
Wrap: function Wrap(t0, t1, t2) {
this.crossAxisAlignment = t0;
this.children = t1;
this.key = t2;
},
RichText: function RichText(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
var _ = this;
_.text = t0;
_.textAlign = t1;
_.textDirection = t2;
_.softWrap = t3;
_.overflow = t4;
_.textScaleFactor = t5;
_.maxLines = t6;
_.locale = t7;
_.strutStyle = t8;
_.textWidthBasis = t9;
_.textHeightBehavior = t10;
_.children = t11;
_.key = t12;
},
RichText__extractChildren_closure: function RichText__extractChildren_closure(t0, t1) {
this._box_0 = t0;
this.result = t1;
},
RawImage: function RawImage(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
var _ = this;
_.image = t0;
_.debugImageLabel = t1;
_.width = t2;
_.height = t3;
_.scale = t4;
_.color = t5;
_.filterQuality = t6;
_.colorBlendMode = t7;
_.fit = t8;
_.alignment = t9;
_.repeat = t10;
_.centerSlice = t11;
_.matchTextDirection = t12;
_.invertColors = t13;
_.isAntiAlias = t14;
_.key = t15;
},
Listener: function Listener(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.onPointerDown = t0;
_.onPointerMove = t1;
_.onPointerUp = t2;
_.onPointerCancel = t3;
_.onPointerSignal = t4;
_.behavior = t5;
_.child = t6;
_.key = t7;
},
MouseRegion: function MouseRegion(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.onEnter = t0;
_.onHover = t1;
_.onExit = t2;
_.cursor = t3;
_.opaque = t4;
_.child = t5;
_.key = t6;
},
_MouseRegionState: function _MouseRegionState(t0) {
this._widget = null;
this._debugLifecycleState = t0;
this._framework$_element = null;
},
_RawMouseRegion: function _RawMouseRegion(t0, t1, t2) {
this.owner = t0;
this.child = t1;
this.key = t2;
},
RepaintBoundary: function RepaintBoundary(t0, t1) {
this.child = t0;
this.key = t1;
},
IgnorePointer: function IgnorePointer(t0, t1, t2, t3) {
var _ = this;
_.ignoring = t0;
_.ignoringSemantics = t1;
_.child = t2;
_.key = t3;
},
AbsorbPointer: function AbsorbPointer(t0, t1, t2) {
this.absorbing = t0;
this.child = t1;
this.key = t2;
},
Semantics: function Semantics(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.properties = t0;
_.container = t1;
_.explicitChildNodes = t2;
_.excludeSemantics = t3;
_.child = t4;
_.key = t5;
},
MergeSemantics: function MergeSemantics(t0, t1) {
this.child = t0;
this.key = t1;
},
BlockSemantics: function BlockSemantics(t0, t1) {
this.child = t0;
this.key = t1;
},
ExcludeSemantics: function ExcludeSemantics(t0, t1, t2) {
this.excluding = t0;
this.child = t1;
this.key = t2;
},
IndexedSemantics: function IndexedSemantics(t0, t1, t2) {
this.index = t0;
this.child = t1;
this.key = t2;
},
KeyedSubtree: function KeyedSubtree(t0, t1) {
this.child = t0;
this.key = t1;
},
Builder: function Builder(t0, t1) {
this.builder = t0;
this.key = t1;
},
ColoredBox: function ColoredBox(t0, t1, t2) {
this.color = t0;
this.child = t1;
this.key = t2;
},
_RenderColoredBox: function _RenderColoredBox(t0, t1, t2) {
var _ = this;
_._basic$_color = t0;
_.behavior = t1;
_.RenderObjectWithChildMixin__child = t2;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
Hero$: function(child, createRectTween, flightShuttleBuilder, placeholderBuilder, tag, transitionOnUserGestures) {
return new T.Hero(tag, createRectTween, child, flightShuttleBuilder, placeholderBuilder, false, null);
},
Hero__allHeroesFor: function(context, isUserGestureTransition, $navigator) {
var result = P.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$._HeroState);
context.visitChildren$1(new T.Hero__allHeroesFor_visitor($navigator, new T.Hero__allHeroesFor_inviteHero(result, isUserGestureTransition)));
return result;
},
_HeroFlightManifest__boundingBoxFor: function(context, ancestorContext) {
var t2,
t1 = context.get$renderObject();
t1.toString;
type$.RenderBox._as(t1);
t2 = t1.getTransformTo$1(0, ancestorContext == null ? null : ancestorContext.get$renderObject());
t1 = t1._box$_size;
return T.MatrixUtils_transformRect(t2, new P.Rect(0, 0, 0 + t1._dx, 0 + t1._dy));
},
HeroFlightDirection: function HeroFlightDirection(t0) {
this._heroes$_name = t0;
},
Hero: function Hero(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.tag = t0;
_.createRectTween = t1;
_.child = t2;
_.flightShuttleBuilder = t3;
_.placeholderBuilder = t4;
_.transitionOnUserGestures = t5;
_.key = t6;
},
Hero__allHeroesFor_inviteHero: function Hero__allHeroesFor_inviteHero(t0, t1) {
this.result = t0;
this.isUserGestureTransition = t1;
},
Hero__allHeroesFor_visitor: function Hero__allHeroesFor_visitor(t0, t1) {
this.navigator = t0;
this.inviteHero = t1;
},
_HeroState: function _HeroState(t0, t1) {
var _ = this;
_._heroes$_key = t0;
_._placeholderSize = null;
_._shouldIncludeChild = true;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_HeroState_startFlight_closure: function _HeroState_startFlight_closure(t0, t1) {
this.$this = t0;
this.box = t1;
},
_HeroState_endFlight_closure: function _HeroState_endFlight_closure() {
},
_HeroFlightManifest: function _HeroFlightManifest(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.type = t0;
_.overlay = t1;
_.navigatorSize = t2;
_.fromRoute = t3;
_.toRoute = t4;
_.fromHero = t5;
_.toHero = t6;
_.createRectTween = t7;
_.shuttleBuilder = t8;
_.isUserGestureTransition = t9;
_.isDiverted = t10;
_.___HeroFlightManifest_isValid = _.___HeroFlightManifest_toHeroLocation = _.___HeroFlightManifest_fromHeroLocation = $;
},
_HeroFlight: function _HeroFlight(t0, t1) {
var _ = this;
_.onFlightEnded = t0;
_.___HeroFlight_heroRectTween = $;
_.shuttle = null;
_._heroOpacity = t1;
_.___HeroFlight_manifest = _.___HeroFlight__proxyAnimation = $;
_.overlayEntry = null;
_._scheduledPerformAnimtationUpdate = _._aborted = false;
},
_HeroFlight__buildOverlay_closure: function _HeroFlight__buildOverlay_closure(t0) {
this.$this = t0;
},
_HeroFlight__handleAnimationUpdate_delayedPerformAnimtationUpdate: function _HeroFlight__handleAnimationUpdate_delayedPerformAnimtationUpdate(t0, t1) {
this.$this = t0;
this.navigator = t1;
},
HeroController: function HeroController(t0, t1) {
this.createRectTween = t0;
this._flights = t1;
this._navigator$_navigator = null;
},
HeroController_didStopUserGesture_isInvalidFlight: function HeroController_didStopUserGesture_isInvalidFlight() {
},
HeroController__maybeStartHeroTransition_closure: function HeroController__maybeStartHeroTransition_closure(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.$this = t0;
_.from = t1;
_.to = t2;
_.animation = t3;
_.flightType = t4;
_.isUserGestureTransition = t5;
},
IconThemeData_lerp: function(a, b, t) {
var t4, _null = null,
t1 = a == null,
t2 = t1 ? _null : a.color,
t3 = b == null;
t2 = P.Color_lerp(t2, t3 ? _null : b.color, t);
t4 = t1 ? _null : a.get$opacity(a);
t4 = P.lerpDouble(t4, t3 ? _null : b.get$opacity(b), t);
t1 = t1 ? _null : a.size;
return new T.IconThemeData(t2, t4, P.lerpDouble(t1, t3 ? _null : b.size, t));
},
IconThemeData: function IconThemeData(t0, t1, t2) {
this.color = t0;
this._opacity = t1;
this.size = t2;
},
_IconThemeData_Object_Diagnosticable: function _IconThemeData_Object_Diagnosticable() {
},
ModalRoute_of: function(context, $T) {
var widget = context.dependOnInheritedWidgetOfExactType$1$0(type$._ModalScopeStatus),
t1 = widget == null ? null : widget.route;
return $T._eval$1("ModalRoute<0>?")._as(t1);
},
OverlayRoute: function OverlayRoute() {
},
TransitionRoute: function TransitionRoute() {
},
TransitionRoute__updateSecondaryAnimation__jumpOnAnimationEnd: function TransitionRoute__updateSecondaryAnimation__jumpOnAnimationEnd(t0, t1, t2) {
this.$this = t0;
this.nextTrain = t1;
this.nextRoute = t2;
},
TransitionRoute__updateSecondaryAnimation_closure: function TransitionRoute__updateSecondaryAnimation_closure(t0, t1, t2) {
this._box_0 = t0;
this.nextTrain = t1;
this._jumpOnAnimationEnd = t2;
},
TransitionRoute__updateSecondaryAnimation_closure0: function TransitionRoute__updateSecondaryAnimation_closure0(t0, t1, t2) {
this._box_0 = t0;
this.$this = t1;
this.nextRoute = t2;
},
TransitionRoute__setSecondaryAnimation_closure: function TransitionRoute__setSecondaryAnimation_closure(t0, t1) {
this.$this = t0;
this.animation = t1;
},
LocalHistoryEntry: function LocalHistoryEntry(t0) {
this.onRemove = t0;
this._routes$_owner = null;
},
LocalHistoryRoute: function LocalHistoryRoute() {
},
LocalHistoryRoute_removeLocalHistoryEntry_closure: function LocalHistoryRoute_removeLocalHistoryEntry_closure(t0) {
this.$this = t0;
},
_DismissModalAction: function _DismissModalAction(t0, t1) {
this.context = t0;
this._actions$_listeners = t1;
},
_ModalScopeStatus: function _ModalScopeStatus(t0, t1, t2, t3, t4) {
var _ = this;
_.isCurrent = t0;
_.canPop = t1;
_.route = t2;
_.child = t3;
_.key = t4;
},
_ModalScope: function _ModalScope(t0, t1, t2) {
this.route = t0;
this.key = t1;
this.$ti = t2;
},
_ModalScopeState: function _ModalScopeState(t0, t1, t2, t3) {
var _ = this;
_._page = null;
_.___ModalScopeState__listenable = $;
_.focusScopeNode = t0;
_.primaryScrollController = t1;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
_.$ti = t3;
},
_ModalScopeState__forceRebuildPage_closure: function _ModalScopeState__forceRebuildPage_closure(t0) {
this.$this = t0;
},
_ModalScopeState_build_closure: function _ModalScopeState_build_closure(t0) {
this.$this = t0;
},
_ModalScopeState_build_closure0: function _ModalScopeState_build_closure0(t0) {
this.$this = t0;
},
_ModalScopeState_build__closure0: function _ModalScopeState_build__closure0(t0) {
this.$this = t0;
},
_ModalScopeState_build___closure: function _ModalScopeState_build___closure(t0) {
this.$this = t0;
},
_ModalScopeState_build__closure: function _ModalScopeState_build__closure(t0) {
this.$this = t0;
},
ModalRoute: function ModalRoute() {
},
ModalRoute_offstage_closure: function ModalRoute_offstage_closure(t0, t1) {
this.$this = t0;
this.value = t1;
},
ModalRoute_changedInternalState_closure: function ModalRoute_changedInternalState_closure() {
},
PopupRoute: function PopupRoute() {
},
RouteObserver: function RouteObserver() {
},
RawDialogRoute: function RawDialogRoute() {
},
_ModalRoute_TransitionRoute_LocalHistoryRoute: function _ModalRoute_TransitionRoute_LocalHistoryRoute() {
},
CacheObject$: function(url, eTag, id, key, $length, relativePath, touched, validTill) {
return new T.CacheObject(id, url, key == null ? url : key, relativePath, validTill, eTag, $length, touched);
},
CacheObject: function CacheObject(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.id = t0;
_.url = t1;
_.key = t2;
_.relativePath = t3;
_.validTill = t4;
_.eTag = t5;
_.length = t6;
_.touched = t7;
},
BaseResponse: function BaseResponse() {
},
Intl_pluralLogic: function(howMany, few, locale, many, one, other, two, zero) {
var t1,
truncated = C.JSInt_methods.toInt$0(howMany);
if (truncated === howMany)
howMany = truncated;
if (howMany === 0 && zero != null)
return zero;
if (howMany === 1 && one != null)
return one;
if (howMany === 2 && two != null)
return two;
switch (T.Intl__pluralRule(locale, howMany, null).call$0()) {
case C.PluralCase_0:
return zero == null ? other : zero;
case C.PluralCase_1:
return one == null ? other : one;
case C.PluralCase_2:
t1 = two == null ? few : two;
return t1 == null ? other : t1;
case C.PluralCase_3:
return few == null ? other : few;
case C.PluralCase_4:
return many == null ? other : many;
case C.PluralCase_5:
return other;
default:
throw H.wrapException(P.ArgumentError$value(howMany, "howMany", "Invalid plural argument"));
}
},
Intl__pluralRule: function(locale, howMany, precision) {
var str, result, t1, base, verifiedLocale;
$._n = howMany;
$._precision = precision;
$._i = C.JSInt_methods.round$0(howMany);
str = "" + howMany;
result = C.JSString_methods.indexOf$1(str, ".");
t1 = result === -1 ? 0 : str.length - result - 1;
t1 = Math.min(t1, 3);
$._v = t1;
base = H._asIntS(Math.pow(10, t1));
t1 = C.JSInt_methods.$mod(C.JSInt_methods.floor$0(howMany * base), base);
$._f = t1;
E._updateWT(t1, $._v);
verifiedLocale = X.verifiedLocale(locale, E.plural_rules__localeHasPluralRules$closure(), new T.Intl__pluralRule_closure());
if ($.Intl__cachedPluralLocale == verifiedLocale) {
t1 = $.Intl__cachedPluralRule;
t1.toString;
return t1;
} else {
t1 = $.pluralRules.$index(0, verifiedLocale);
$.Intl__cachedPluralRule = t1;
$.Intl__cachedPluralLocale = verifiedLocale;
t1.toString;
return t1;
}
},
Intl__pluralRule_closure: function Intl__pluralRule_closure() {
},
ClientEntity_ClientEntity: function(id, state, user) {
var t1, t2, t3, t4, t5, t6, t7, t8, _null = null;
if (id == null) {
t1 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t1;
t1 = "" + t1;
} else
t1 = id;
t2 = G.SettingsEntity_SettingsEntity(_null, _null, _null);
t3 = D.BuiltList_BuiltList$from(H.setRuntimeTypeInfo([T.ContactEntity_ContactEntity().rebuild$1(new T.ClientEntity_ClientEntity_closure())], type$.JSArray_legacy_ContactEntity), type$.legacy_ContactEntity);
t4 = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_ActivityEntity);
t5 = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_LedgerEntity);
t6 = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_GatewayTokenEntity);
t7 = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_SystemLogEntity);
t8 = user == null ? _null : user.id;
if (t8 == null)
t8 = "";
return T._$ClientEntity$_(t4, "", "", 0, t8, 0, "", "", t3, "", 0, "", 0, "", "", "", "", "", D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_DocumentEntity), t6, "", t1, "", "", false, false, 0, t5, 0, "", "", 0, "", "", "", "", t2, "", "", "", "", "", "", "", "", t7, 0, "", "");
},
ContactEntity_ContactEntity: function() {
var t1 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t1;
return T._$ContactEntity$_(0, "", "", 0, "", "", "", "", "", "", "", "" + t1, false, false, false, 0, "", "", "", "", true, 0);
},
_$ClientEntity$_: function(activities, address1, address2, archivedAt, assignedUserId, balance, city, clientHash, contacts, countryId, createdAt, createdUserId, creditBalance, customValue1, customValue2, customValue3, customValue4, displayName, documents, gatewayTokens, groupId, id, idNumber, industryId, isChanged, isDeleted, lastLogin, ledger, loadedAt, $name, number, paidToDate, phone, postalCode, privateNotes, publicNotes, settings, shippingAddress1, shippingAddress2, shippingCity, shippingCountryId, shippingPostalCode, shippingState, sizeId, state, systemLogs, updatedAt, vatNumber, website) {
var _s12_ = "ClientEntity";
if (settings == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "settings"));
if (contacts == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "contacts"));
if (activities == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "activities"));
if (ledger == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "ledger"));
if (gatewayTokens == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "gatewayTokens"));
if (documents == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "documents"));
if (systemLogs == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "systemLogs"));
return new T._$ClientEntity(groupId, loadedAt, $name, displayName, balance, creditBalance, paidToDate, clientHash, address1, address2, city, state, postalCode, countryId, phone, privateNotes, publicNotes, website, industryId, sizeId, vatNumber, idNumber, number, shippingAddress1, shippingAddress2, shippingCity, shippingState, shippingPostalCode, shippingCountryId, settings, lastLogin, customValue1, customValue2, customValue3, customValue4, contacts, activities, ledger, gatewayTokens, documents, systemLogs, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
},
_$ContactEntity$_: function(archivedAt, assignedUserId, contactKey, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, email, firstName, id, isChanged, isDeleted, isPrimary, lastLogin, lastName, link, password, phone, sendEmail, updatedAt) {
return new T._$ContactEntity(firstName, lastName, email, password, phone, contactKey, isPrimary, sendEmail, customValue1, customValue2, customValue3, customValue4, lastLogin, link, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
},
ClientListResponse: function ClientListResponse() {
},
ClientItemResponse: function ClientItemResponse() {
},
ClientEntity: function ClientEntity() {
},
ClientEntity_ClientEntity_closure: function ClientEntity_ClientEntity_closure() {
},
ClientEntity_getActivities_closure: function ClientEntity_getActivities_closure(t0, t1) {
this.invoiceId = t0;
this.typeId = t1;
},
ClientEntity_primaryContact_closure: function ClientEntity_primaryContact_closure() {
},
ClientEntity_primaryContact_closure0: function ClientEntity_primaryContact_closure0() {
},
ClientEntity_emailContacts_closure: function ClientEntity_emailContacts_closure() {
},
ClientEntity_hasEmailAddress_closure: function ClientEntity_hasEmailAddress_closure() {
},
ContactEntity: function ContactEntity() {
},
_$ClientListResponseSerializer: function _$ClientListResponseSerializer() {
},
_$ClientItemResponseSerializer: function _$ClientItemResponseSerializer() {
},
_$ClientEntitySerializer: function _$ClientEntitySerializer() {
},
_$ContactEntitySerializer: function _$ContactEntitySerializer() {
},
_$ClientListResponse: function _$ClientListResponse(t0) {
this.data = t0;
this._client_model$__hashCode = null;
},
ClientListResponseBuilder: function ClientListResponseBuilder() {
this._client_model$_data = this._client_model$_$v = null;
},
_$ClientItemResponse: function _$ClientItemResponse(t0) {
this.data = t0;
this._client_model$__hashCode = null;
},
ClientItemResponseBuilder: function ClientItemResponseBuilder() {
this._client_model$_data = this._client_model$_$v = null;
},
_$ClientEntity: function _$ClientEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48) {
var _ = this;
_.groupId = t0;
_.loadedAt = t1;
_.name = t2;
_.displayName = t3;
_.balance = t4;
_.creditBalance = t5;
_.paidToDate = t6;
_.clientHash = t7;
_.address1 = t8;
_.address2 = t9;
_.city = t10;
_.state = t11;
_.postalCode = t12;
_.countryId = t13;
_.phone = t14;
_.privateNotes = t15;
_.publicNotes = t16;
_.website = t17;
_.industryId = t18;
_.sizeId = t19;
_.vatNumber = t20;
_.idNumber = t21;
_.number = t22;
_.shippingAddress1 = t23;
_.shippingAddress2 = t24;
_.shippingCity = t25;
_.shippingState = t26;
_.shippingPostalCode = t27;
_.shippingCountryId = t28;
_.settings = t29;
_.lastLogin = t30;
_.customValue1 = t31;
_.customValue2 = t32;
_.customValue3 = t33;
_.customValue4 = t34;
_.contacts = t35;
_.activities = t36;
_.ledger = t37;
_.gatewayTokens = t38;
_.documents = t39;
_.systemLogs = t40;
_.isChanged = t41;
_.createdAt = t42;
_.updatedAt = t43;
_.archivedAt = t44;
_.isDeleted = t45;
_.createdUserId = t46;
_.assignedUserId = t47;
_.id = t48;
_._client_model$__hashCode = null;
},
ClientEntityBuilder: function ClientEntityBuilder() {
var _ = this;
_._shippingCountryId = _._shippingPostalCode = _._shippingState = _._shippingCity = _._shippingAddress2 = _._shippingAddress1 = _._number = _._idNumber = _._vatNumber = _._sizeId = _._industryId = _._website = _._publicNotes = _._privateNotes = _._client_model$_phone = _._countryId = _._postalCode = _._client_model$_state = _._city = _._address2 = _._address1 = _._clientHash = _._paidToDate = _._creditBalance = _._balance = _._displayName = _._client_model$_name = _._loadedAt = _._groupId = _._client_model$_$v = null;
_._client_model$_id = _._client_model$_assignedUserId = _._client_model$_createdUserId = _._client_model$_isDeleted = _._client_model$_archivedAt = _._client_model$_updatedAt = _._client_model$_createdAt = _._client_model$_isChanged = _._systemLogs = _._client_model$_documents = _._gatewayTokens = _._ledger = _._activities = _._contacts = _._client_model$_customValue4 = _._client_model$_customValue3 = _._client_model$_customValue2 = _._client_model$_customValue1 = _._lastLogin = _._client_model$_settings = null;
},
_$ContactEntity: function _$ContactEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) {
var _ = this;
_.firstName = t0;
_.lastName = t1;
_.email = t2;
_.password = t3;
_.phone = t4;
_.contactKey = t5;
_.isPrimary = t6;
_.sendEmail = t7;
_.customValue1 = t8;
_.customValue2 = t9;
_.customValue3 = t10;
_.customValue4 = t11;
_.lastLogin = t12;
_.link = t13;
_.isChanged = t14;
_.createdAt = t15;
_.updatedAt = t16;
_.archivedAt = t17;
_.isDeleted = t18;
_.createdUserId = t19;
_.assignedUserId = t20;
_.id = t21;
_._client_model$__hashCode = null;
},
ContactEntityBuilder: function ContactEntityBuilder() {
var _ = this;
_._client_model$_id = _._client_model$_assignedUserId = _._client_model$_createdUserId = _._client_model$_isDeleted = _._client_model$_archivedAt = _._client_model$_updatedAt = _._client_model$_createdAt = _._client_model$_isChanged = _._link = _._lastLogin = _._client_model$_customValue4 = _._client_model$_customValue3 = _._client_model$_customValue2 = _._client_model$_customValue1 = _._client_model$_sendEmail = _._client_model$_isPrimary = _._contactKey = _._client_model$_phone = _._client_model$_password = _._client_model$_email = _._client_model$_lastName = _._client_model$_firstName = _._client_model$_$v = null;
},
_ClientEntity_Object_BaseEntity: function _ClientEntity_Object_BaseEntity() {
},
_ClientEntity_Object_BaseEntity_SelectableEntity: function _ClientEntity_Object_BaseEntity_SelectableEntity() {
},
_ContactEntity_Object_BaseEntity: function _ContactEntity_Object_BaseEntity() {
},
_ContactEntity_Object_BaseEntity_SelectableEntity: function _ContactEntity_Object_BaseEntity_SelectableEntity() {
},
_$typeValueOf: function($name) {
switch ($name) {
case "dashboard":
return C.EntityType_dashboard;
case "reports":
return C.EntityType_reports;
case "settings":
return C.EntityType_settings;
case "taxRate":
return C.EntityType_taxRate;
case "companyGateway":
return C.EntityType_companyGateway;
case "invoice":
return C.EntityType_invoice;
case "recurringInvoice":
return C.EntityType_recurringInvoice;
case "quote":
return C.EntityType_quote;
case "product":
return C.EntityType_product;
case "client":
return C.EntityType_client;
case "task":
return C.EntityType_task;
case "project":
return C.EntityType_project;
case "expense":
return C.EntityType_expense;
case "expenseCategory":
return C.EntityType_expenseCategory;
case "vendor":
return C.EntityType_vendor;
case "credit":
return C.EntityType_credit;
case "payment":
return C.EntityType_payment;
case "group":
return C.EntityType_group;
case "user":
return C.EntityType_user;
case "company":
return C.EntityType_company;
case "gateway":
return C.EntityType_gateway;
case "gatewayToken":
return C.EntityType_gatewayToken;
case "invoiceItem":
return C.EntityType_invoiceItem;
case "design":
return C.EntityType_design;
case "recurringExpense":
return C.EntityType_recurringExpense;
case "recurringQuote":
return C.EntityType_recurringQuote;
case "subscription":
return C.EntityType_subscription;
case "webhook":
return C.EntityType_webhook;
case "token":
return C.EntityType_token;
case "paymentTerm":
return C.EntityType_paymentTerm;
case "quoteItem":
return C.EntityType_quoteItem;
case "contact":
return C.EntityType_contact;
case "vendorContact":
return C.EntityType_vendorContact;
case "country":
return C.EntityType_country;
case "currency":
return C.EntityType_currency;
case "language":
return C.EntityType_language;
case "industry":
return C.EntityType_industry;
case "size":
return C.EntityType_size;
case "paymentType":
return C.EntityType_paymentType;
case "taskStatus":
return C.EntityType_taskStatus;
case "document":
return C.EntityType_document;
case "timezone":
return C.EntityType_timezone;
case "dateFormat":
return C.EntityType_dateFormat;
case "font":
return C.EntityType_font;
default:
throw H.wrapException(P.ArgumentError$($name));
}
},
_$valueOf: function($name) {
switch ($name) {
case "active":
return C.EntityState_active;
case "archived":
return C.EntityState_archived;
case "deleted":
return C.EntityState_deleted;
default:
throw H.wrapException(P.ArgumentError$($name));
}
},
_$templateValueOf: function($name) {
switch ($name) {
case "invoice":
return C.EmailTemplate_invoice;
case "quote":
return C.EmailTemplate_quote;
case "payment":
return C.EmailTemplate_payment;
case "payment_partial":
return C.EmailTemplate_payment_partial;
case "credit":
return C.EmailTemplate_credit;
case "statement":
return C.EmailTemplate_statement;
case "reminder1":
return C.EmailTemplate_reminder1;
case "reminder2":
return C.EmailTemplate_reminder2;
case "reminder3":
return C.EmailTemplate_reminder3;
case "reminder_endless":
return C.EmailTemplate_reminder_endless;
case "custom1":
return C.EmailTemplate_custom1;
case "custom2":
return C.EmailTemplate_custom2;
case "custom3":
return C.EmailTemplate_custom3;
default:
throw H.wrapException(P.ArgumentError$($name));
}
},
EntityType: function EntityType(t0) {
this.name = t0;
},
EntityState: function EntityState(t0) {
this.name = t0;
},
EmailTemplate: function EmailTemplate(t0) {
this.name = t0;
},
UserPermission: function UserPermission(t0) {
this.name = t0;
},
EntityStatus: function EntityStatus() {
},
EntityStats: function EntityStats(t0, t1) {
this.countActive = t0;
this.countArchived = t1;
},
SelectableEntity: function SelectableEntity() {
},
BaseEntity: function BaseEntity() {
},
BelongsToClient: function BelongsToClient() {
},
LoginResponse: function LoginResponse() {
},
ActivityEntity: function ActivityEntity() {
},
ActivityEntity_getDescription_closure: function ActivityEntity_getDescription_closure(t0) {
this.$this = t0;
},
ActivityEntity_getDescription_closure0: function ActivityEntity_getDescription_closure0() {
},
LedgerEntity: function LedgerEntity() {
},
_$EntityTypeSerializer: function _$EntityTypeSerializer() {
},
_$EntityStateSerializer: function _$EntityStateSerializer() {
},
_$EmailTemplateSerializer: function _$EmailTemplateSerializer() {
},
_$LoginResponseSerializer: function _$LoginResponseSerializer() {
},
_$ActivityEntitySerializer: function _$ActivityEntitySerializer() {
},
_$LedgerEntitySerializer: function _$LedgerEntitySerializer() {
},
_$LoginResponse: function _$LoginResponse(t0, t1) {
this.userCompanies = t0;
this.$static = t1;
this._entities$__hashCode = null;
},
LoginResponseBuilder: function LoginResponseBuilder() {
this._static = this._userCompanies = this._entities$_$v = null;
},
_$ActivityEntity: function _$ActivityEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) {
var _ = this;
_.notes = t0;
_.key = t1;
_.activityTypeId = t2;
_.clientId = t3;
_.userId = t4;
_.invoiceId = t5;
_.recurringInvoiceId = t6;
_.quoteId = t7;
_.paymentId = t8;
_.creditId = t9;
_.updatedAt = t10;
_.expenseId = t11;
_.isSystem = t12;
_.ip = t13;
_.contactId = t14;
_.taskId = t15;
_.projectId = t16;
_.vendorId = t17;
_.tokenId = t18;
_.history = t19;
_._entities$__hashCode = null;
},
ActivityEntityBuilder: function ActivityEntityBuilder() {
var _ = this;
_._entities$_history = _._tokenId = _._entities$_vendorId = _._entities$_projectId = _._entities$_taskId = _._entities$_contactId = _._ip = _._entities$_isSystem = _._entities$_expenseId = _._entities$_updatedAt = _._entities$_creditId = _._paymentId = _._quoteId = _._recurringInvoiceId = _._entities$_invoiceId = _._entities$_userId = _._entities$_clientId = _._activityTypeId = _._entities$_key = _._entities$_notes = _._entities$_$v = null;
},
_$LedgerEntity: function _$LedgerEntity(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.notes = t0;
_.balance = t1;
_.adjustment = t2;
_.createdAt = t3;
_.invoiceId = t4;
_.creditId = t5;
_.paymentId = t6;
_._entities$__hashCode = null;
},
LedgerEntityBuilder: function LedgerEntityBuilder() {
var _ = this;
_._paymentId = _._entities$_creditId = _._entities$_invoiceId = _._entities$_createdAt = _._adjustment = _._entities$_balance = _._entities$_notes = _._entities$_$v = null;
},
TaxRateEntity_TaxRateEntity: function(id, $name, rate, state) {
var t2,
t1 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t1;
t1 = "" + t1;
t2 = $name == null ? "" : $name;
return T._$TaxRateEntity$_(0, "", 0, "", t1, false, false, t2, rate == null ? 0 : rate, 0);
},
_$TaxRateEntity$_: function(archivedAt, assignedUserId, createdAt, createdUserId, id, isChanged, isDeleted, $name, rate, updatedAt) {
return new T._$TaxRateEntity($name, rate, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
},
TaxRateListResponse: function TaxRateListResponse() {
},
TaxRateItemResponse: function TaxRateItemResponse() {
},
TaxRateEntity: function TaxRateEntity() {
},
_$TaxRateListResponseSerializer: function _$TaxRateListResponseSerializer() {
},
_$TaxRateItemResponseSerializer: function _$TaxRateItemResponseSerializer() {
},
_$TaxRateEntitySerializer: function _$TaxRateEntitySerializer() {
},
_$TaxRateListResponse: function _$TaxRateListResponse(t0) {
this.data = t0;
this._tax_rate_model$__hashCode = null;
},
TaxRateListResponseBuilder: function TaxRateListResponseBuilder() {
this._tax_rate_model$_data = this._tax_rate_model$_$v = null;
},
_$TaxRateItemResponse: function _$TaxRateItemResponse(t0) {
this.data = t0;
this._tax_rate_model$__hashCode = null;
},
TaxRateItemResponseBuilder: function TaxRateItemResponseBuilder() {
this._tax_rate_model$_data = this._tax_rate_model$_$v = null;
},
_$TaxRateEntity: function _$TaxRateEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.name = t0;
_.rate = t1;
_.isChanged = t2;
_.createdAt = t3;
_.updatedAt = t4;
_.archivedAt = t5;
_.isDeleted = t6;
_.createdUserId = t7;
_.assignedUserId = t8;
_.id = t9;
_._tax_rate_model$__hashCode = null;
},
TaxRateEntityBuilder: function TaxRateEntityBuilder() {
var _ = this;
_._tax_rate_model$_id = _._tax_rate_model$_assignedUserId = _._tax_rate_model$_createdUserId = _._tax_rate_model$_isDeleted = _._tax_rate_model$_archivedAt = _._tax_rate_model$_updatedAt = _._tax_rate_model$_createdAt = _._tax_rate_model$_isChanged = _._tax_rate_model$_rate = _._tax_rate_model$_name = _._tax_rate_model$_$v = null;
},
_TaxRateEntity_Object_BaseEntity: function _TaxRateEntity_Object_BaseEntity() {
},
_TaxRateEntity_Object_BaseEntity_SelectableEntity: function _TaxRateEntity_Object_BaseEntity_SelectableEntity() {
},
CreditRepository: function CreditRepository() {
},
CreditRepository_saveData_closure: function CreditRepository_saveData_closure() {
},
InvoiceRepository: function InvoiceRepository() {
},
InvoiceRepository_saveData_closure: function InvoiceRepository_saveData_closure() {
},
AppState_AppState: function(currentRoute, prefState, referralCode, reportErrors, url) {
var t2, _list, i, i0, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, _null = null, _s4_ = "name", _s6_ = "number",
t1 = url == null ? "" : url;
t1 = Z._$AuthState$_("", false, false, 0, referralCode == null ? "" : referralCode, t1);
t2 = B.StaticState_StaticState();
_list = J.JSArray_JSArray$allocateGrowable(10, type$.legacy_int);
for (i = 0; i < 10; i = i0) {
i0 = i + 1;
_list[i] = i0;
}
t3 = H._arrayInstanceType(_list)._eval$1("MappedListIterable<1,UserCompanyState*>");
t3 = D.BuiltList_BuiltList$from(P.List_List$of(new H.MappedListIterable(_list, new T.AppState_AppState_closure(reportErrors), t3), true, t3._eval$1("ListIterable.E")), type$.legacy_UserCompanyState);
t4 = prefState == null;
t5 = t4 ? _null : prefState.sortFields;
t6 = currentRoute == null ? "/login" : currentRoute;
t7 = type$.legacy_EntityType;
t8 = D.BuiltList_BuiltList$from(C.List_empty, t7);
t9 = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_BaseEntity);
t10 = Y.convertDateTimeToSqlDate(_null);
t10 = Y._$DashboardUISettings$_(Y.convertDateTimeToSqlDate(_null), "", C.DateRangeComparison_previousPeriod, "-1", t10, "", C.DateRange_last30Days, true, true, 0);
t10 = Y._$DashboardUIState$_(A.BuiltMap_BuiltMap(C.Map_empty0, t7, type$.legacy_BuiltList_legacy_String), C.EntityType_invoice, t10, true);
t7 = A.CompanyEntity_CompanyEntity();
t11 = T.ClientEntity_ClientEntity(_null, _null, _null);
t12 = Q.GroupEntity_GroupEntity(_null, _null);
t13 = B.UserEntity_UserEntity(_null, _null, _null);
t14 = T.ClientEntity_ClientEntity(_null, _null, _null);
t15 = Q.GroupEntity_GroupEntity(_null, _null);
t16 = A.CompanyEntity_CompanyEntity();
t17 = B.UserEntity_UserEntity(_null, _null, _null);
t7 = B._$SettingsUIState$_(t11, t7, C.EntityType_company, _null, 0, t12, false, t14, t16, t15, t17, "company_details", C.EmailTemplate_invoice, 0, 0, t13);
t11 = G.ReportsUIState_ReportsUIState();
t5 = t5._map$_map;
t12 = J.getInterceptor$asx(t5);
t13 = t12.$index(t5, C.EntityType_product);
t14 = t13 == null;
t15 = t14 ? _null : t13.field;
if (t15 == null)
t15 = "product_key";
t13 = Q.ListUIState_ListUIState(t15, t14 ? _null : t13.ascending);
t13 = Y._$ProductUIState$_(_null, A.ProductEntity_ProductEntity(_null, _null), _null, t13, _null, "", 0);
t15 = t12.$index(t5, C.EntityType_client);
t14 = t15 == null;
t16 = t14 ? _null : t15.field;
if (t16 == null)
t16 = _s4_;
t15 = Q.ListUIState_ListUIState(t16, t14 ? _null : t15.ascending);
t15 = F._$ClientUIState$_(_null, T.ClientEntity_ClientEntity(_null, _null, _null), T.ContactEntity_ContactEntity(), _null, t15, _null, _null, 0);
t16 = t12.$index(t5, C.EntityType_invoice);
t14 = t16 == null;
t17 = t14 ? _null : t16.field;
if (t17 == null)
t17 = _s6_;
t14 = t14 ? _null : t16.ascending;
t14 = Q.ListUIState_ListUIState(t17, t14 === true);
t14 = B._$InvoiceUIState$_(_null, Q.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null), _null, _null, _null, t14, _null, "", 0);
t16 = t12.$index(t5, C.EntityType_subscription);
t17 = t16 == null;
t18 = t17 ? _null : t16.field;
if (t18 == null)
t18 = "created_at";
t16 = Q.ListUIState_ListUIState(t18, t17 ? _null : t16.ascending);
t16 = M._$SubscriptionUIState$_(_null, X.SubscriptionEntity_SubscriptionEntity(_null, _null), _null, t16, _null, "", 0);
t18 = t12.$index(t5, C.EntityType_taskStatus);
t17 = t18 == null;
t19 = t17 ? _null : t18.field;
if (t19 == null)
t19 = "order";
t18 = Q.ListUIState_ListUIState(t19, t17 ? _null : t18.ascending);
t18 = L._$TaskStatusUIState$_(_null, S.TaskStatusEntity_TaskStatusEntity(_null, _null), _null, t18, _null, "", 0);
t19 = t12.$index(t5, C.EntityType_expenseCategory);
t17 = t19 == null;
t20 = t17 ? _null : t19.field;
if (t20 == null)
t20 = _s4_;
t19 = Q.ListUIState_ListUIState(t20, t17 ? _null : t19.ascending);
t19 = Q._$ExpenseCategoryUIState$_(_null, R.ExpenseCategoryEntity_ExpenseCategoryEntity(_null, _null), _null, t19, _null, "", 0);
t20 = t12.$index(t5, C.EntityType_recurringInvoice);
t17 = t20 == null;
t21 = t17 ? _null : t20.field;
if (t21 == null)
t21 = _s6_;
t17 = t17 ? _null : t20.ascending;
t17 = Q.ListUIState_ListUIState(t21, t17 === true);
t17 = Q._$RecurringInvoiceUIState$_(_null, Q.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null), _null, _null, _null, t17, _null, "", 0);
t20 = t12.$index(t5, C.EntityType_webhook);
t21 = t20 == null;
t22 = t21 ? _null : t20.field;
if (t22 == null)
t22 = "target_url";
t20 = Q.ListUIState_ListUIState(t22, t21 ? _null : t20.ascending);
t20 = V._$WebhookUIState$_(_null, E.WebhookEntity_WebhookEntity(_null, _null), _null, t20, _null, "", 0);
t22 = t12.$index(t5, C.EntityType_token);
t21 = t22 == null;
t23 = t21 ? _null : t22.field;
if (t23 == null)
t23 = _s4_;
t22 = Q.ListUIState_ListUIState(t23, t21 ? _null : t22.ascending);
t22 = N._$TokenUIState$_(_null, D.TokenEntity_TokenEntity(_null, _null), _null, t22, _null, "", 0);
t23 = t12.$index(t5, C.EntityType_paymentTerm);
t21 = t23 == null;
t24 = t21 ? _null : t23.field;
if (t24 == null)
t24 = _s4_;
t23 = Q.ListUIState_ListUIState(t24, t21 ? _null : t23.ascending);
t23 = N._$PaymentTermUIState$_(_null, X.PaymentTermEntity_PaymentTermEntity(_null, _null), _null, t23, _null, "", 0);
t24 = t12.$index(t5, C.EntityType_design);
t21 = t24 == null;
t25 = t21 ? _null : t24.field;
if (t25 == null)
t25 = _s4_;
t24 = Q.ListUIState_ListUIState(t25, t21 ? _null : t24.ascending);
t24 = Y._$DesignUIState$_(_null, D.DesignEntity_DesignEntity(_null, _null, _null), _null, t24, _null, "", 0);
t25 = t12.$index(t5, C.EntityType_credit);
t21 = t25 == null;
t26 = t21 ? _null : t25.field;
if (t26 == null)
t26 = _s6_;
t21 = t21 ? _null : t25.ascending;
t21 = Q.ListUIState_ListUIState(t26, t21 === true);
t21 = G._$CreditUIState$_(_null, Q.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null), _null, _null, _null, t21, _null, "", 0);
t25 = t12.$index(t5, C.EntityType_user);
t26 = t25 == null;
t27 = t26 ? _null : t25.field;
if (t27 == null)
t27 = "first_name";
t25 = Q.ListUIState_ListUIState(t27, t26 ? _null : t25.ascending);
t25 = Q._$UserUIState$_(_null, B.UserEntity_UserEntity(_null, _null, _null), _null, t25, _null, "", 0);
t27 = t12.$index(t5, C.EntityType_taxRate);
t26 = t27 == null;
t28 = t26 ? _null : t27.field;
if (t28 == null)
t28 = _s4_;
t27 = Q.ListUIState_ListUIState(t28, t26 ? _null : t27.ascending);
t27 = Q._$TaxRateUIState$_(_null, T.TaxRateEntity_TaxRateEntity(_null, _null, _null, _null), _null, t27, _null, "", 0);
t28 = t12.$index(t5, C.EntityType_companyGateway);
t26 = t28 == null;
t29 = t26 ? _null : t28.field;
if (t29 == null)
t29 = _s4_;
t28 = Q.ListUIState_ListUIState(t29, t26 ? _null : t28.ascending);
t28 = U._$CompanyGatewayUIState$_(_null, O.CompanyGatewayEntity_CompanyGatewayEntity(_null, _null), _null, t28, _null, "", 0);
t29 = t12.$index(t5, C.EntityType_group);
t26 = t29 == null;
t30 = t26 ? _null : t29.field;
if (t30 == null)
t30 = _s4_;
t29 = Q.ListUIState_ListUIState(t30, t26 ? _null : t29.ascending);
t29 = E._$GroupUIState$_(_null, Q.GroupEntity_GroupEntity(_null, _null), _null, t29, _null, "", 0);
t30 = t12.$index(t5, C.EntityType_document);
t26 = t30 == null;
t31 = t26 ? _null : t30.field;
if (t31 == null)
t31 = _s4_;
t30 = Q.ListUIState_ListUIState(t31, t26 ? _null : t30.ascending);
t30 = Q._$DocumentUIState$_(_null, D.DocumentEntity_DocumentEntity(_null), _null, t30, _null, "", 0);
t31 = t12.$index(t5, C.EntityType_expense);
t26 = t31 == null;
t32 = t26 ? _null : t31.field;
if (t32 == null)
t32 = _s6_;
t26 = t26 ? _null : t31.ascending;
t26 = Q.ListUIState_ListUIState(t32, t26 === true);
t26 = R._$ExpenseUIState$_(_null, M.ExpenseEntity_ExpenseEntity(_null, _null, _null, _null, _null, _null, _null), _null, t26, _null, "", 0);
t31 = t12.$index(t5, C.EntityType_vendor);
t32 = t31 == null;
t33 = t32 ? _null : t31.field;
if (t33 == null)
t33 = _s4_;
t31 = Q.ListUIState_ListUIState(t33, t32 ? _null : t31.ascending);
t31 = Y._$VendorUIState$_(_null, B.VendorEntity_VendorEntity(_null, _null, _null), B.VendorContactEntity_VendorContactEntity(), _null, t31, _null, "", 0);
t33 = t12.$index(t5, C.EntityType_task);
t32 = t33 == null;
t34 = t32 ? _null : t33.field;
if (t34 == null)
t34 = _s6_;
t32 = t32 ? _null : t33.ascending;
t32 = Q.ListUIState_ListUIState(t34, t32 === true);
t32 = M._$TaskUIState$_(_null, D.TaskEntity_TaskEntity(_null, _null, _null, _null, _null), _null, _null, t32, _null, "", 0);
t33 = t12.$index(t5, C.EntityType_project);
t34 = t33 == null;
t35 = t34 ? _null : t33.field;
if (t35 == null)
t35 = _s6_;
t33 = t34 ? _null : t33.ascending;
t33 = Q.ListUIState_ListUIState(t35, t33 === true);
t33 = D._$ProjectUIState$_(_null, A.ProjectEntity_ProjectEntity(_null, _null, _null, _null), _null, t33, _null, "", 0);
t34 = t12.$index(t5, C.EntityType_payment);
t35 = t34 == null;
t36 = t35 ? _null : t34.field;
if (t36 == null)
t36 = _s6_;
t34 = t35 ? _null : t34.ascending;
t34 = Q.ListUIState_ListUIState(t36, t34 === true);
t34 = L._$PaymentUIState$_(_null, F.PaymentEntity_PaymentEntity(_null, _null, _null), _null, t34, _null, "", 0);
t35 = t12.$index(t5, C.EntityType_quote);
t36 = t35 == null;
t37 = t36 ? _null : t35.field;
if (t37 == null)
t37 = _s6_;
t35 = t36 ? _null : t35.ascending;
t35 = Q.ListUIState_ListUIState(t37, t35 === true);
t35 = G._$QuoteUIState$_(_null, Q.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null), _null, _null, _null, t35, _null, "", 0);
t5 = t12.$index(t5, C.EntityType_recurringExpense);
t12 = t5 == null;
t36 = t12 ? _null : t5.field;
if (t36 == null)
t36 = _s6_;
t5 = Q.ListUIState_ListUIState(t36, t12 ? _null : t5.ascending);
t20 = U._$UIState$_(t15, t28, t21, t6, t10, t24, t30, t19, t26, _null, 0, t9, t29, t14, 0, t23, t34, t8, "", t13, t33, t35, K._$RecurringExpenseUIState$_(_null, M.ExpenseEntity_ExpenseEntity(_null, C.EntityType_recurringExpense, _null, _null, _null, _null, _null), _null, t5, _null, "", 0), t17, t11, 0, t7, t16, t18, t32, t27, t22, t25, t31, t20);
return T._$AppState$_(t1, false, false, false, "", t4 ? X.PrefState_PrefState() : prefState, t2, t20, t3);
},
_$AppState$_: function(authState, isLoading, isSaving, isTesting, lastError, prefState, staticState, uiState, userCompanyStates) {
var _s8_ = "AppState";
if (staticState == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "staticState"));
if (prefState == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "prefState"));
if (uiState == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "uiState"));
if (userCompanyStates == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "userCompanyStates"));
return new T._$AppState(isLoading, isSaving, isTesting, lastError, authState, staticState, prefState, uiState, userCompanyStates);
},
AppState: function AppState() {
},
AppState_AppState_closure: function AppState_AppState_closure(t0) {
this.reportErrors = t0;
},
AppState_companies_closure: function AppState_companies_closure() {
},
AppState_historyList_closure: function AppState_historyList_closure(t0) {
this.$this = t0;
},
Credentials: function Credentials(t0, t1) {
this.url = t0;
this.token = t1;
},
SelectionState: function SelectionState(t0, t1, t2) {
this.selectedId = t0;
this.filterEntityId = t1;
this.filterEntityType = t2;
},
_$AppStateSerializer: function _$AppStateSerializer() {
},
_$AppState: function _$AppState(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.isLoading = t0;
_.isSaving = t1;
_.isTesting = t2;
_.lastError = t3;
_.authState = t4;
_.staticState = t5;
_.prefState = t6;
_.uiState = t7;
_.userCompanyStates = t8;
_._app_state$__hashCode = null;
},
AppStateBuilder: function AppStateBuilder() {
var _ = this;
_._userCompanyStates = _._uiState = _._prefState = _._staticState = _._authState = _._lastError = _._isTesting = _._isSaving = _._isLoading = _._app_state$_$v = null;
},
companyReducer: function(state, action) {
var t1;
if (action instanceof E.DeleteCompanySuccess)
return B.UserCompanyState_UserCompanyState(false);
state.toString;
t1 = new B.UserCompanyStateBuilder();
t1._company_state$_$v = state;
new T.companyReducer_closure(state, action).call$1(t1);
return t1.build$0(0);
},
loadCompanySuccessReducer: function(company, action) {
var t1 = {},
userCompany = t1.userCompany = action.userCompany,
t2 = userCompany.settings == null ? t1.userCompany = userCompany.rebuild$1(new T.loadCompanySuccessReducer_closure()) : userCompany;
userCompany = t2.rebuild$1(new T.loadCompanySuccessReducer_closure0());
t1.userCompany = userCompany;
return t1.userCompany = userCompany.rebuild$1(new T.loadCompanySuccessReducer_closure1(t1));
},
saveCompanySuccessReducer: function(userCompany, action) {
var company, t1 = {};
t1.userCompany = userCompany;
company = action.company.rebuild$1(new T.saveCompanySuccessReducer_closure(t1));
return t1.userCompany = t1.userCompany.rebuild$1(new T.saveCompanySuccessReducer_closure0(company));
},
companyReducer_closure: function companyReducer_closure(t0, t1) {
this.state = t0;
this.action = t1;
},
userCompanyEntityReducer_closure: function userCompanyEntityReducer_closure() {
},
userCompanyEntityReducer__closure5: function userCompanyEntityReducer__closure5(t0, t1) {
this.action = t0;
this.settings = t1;
},
userCompanyEntityReducer___closure: function userCompanyEntityReducer___closure(t0, t1) {
this.action = t0;
this.settings = t1;
},
userCompanyEntityReducer__closure6: function userCompanyEntityReducer__closure6(t0) {
this.action = t0;
},
userCompanyEntityReducer_closure0: function userCompanyEntityReducer_closure0() {
},
userCompanyEntityReducer__closure4: function userCompanyEntityReducer__closure4(t0) {
this.action = t0;
},
userCompanyEntityReducer_closure1: function userCompanyEntityReducer_closure1() {
},
userCompanyEntityReducer__closure3: function userCompanyEntityReducer__closure3(t0) {
this.action = t0;
},
userCompanyEntityReducer_closure2: function userCompanyEntityReducer_closure2() {
},
userCompanyEntityReducer__closure2: function userCompanyEntityReducer__closure2(t0) {
this.action = t0;
},
userCompanyEntityReducer_closure3: function userCompanyEntityReducer_closure3() {
},
userCompanyEntityReducer__closure1: function userCompanyEntityReducer__closure1() {
},
userCompanyEntityReducer_closure4: function userCompanyEntityReducer_closure4() {
},
userCompanyEntityReducer__closure0: function userCompanyEntityReducer__closure0(t0) {
this.action = t0;
},
userCompanyEntityReducer_closure5: function userCompanyEntityReducer_closure5() {
},
userCompanyEntityReducer__closure: function userCompanyEntityReducer__closure(t0) {
this.action = t0;
},
loadCompanySuccessReducer_closure: function loadCompanySuccessReducer_closure() {
},
loadCompanySuccessReducer_closure0: function loadCompanySuccessReducer_closure0() {
},
loadCompanySuccessReducer_closure1: function loadCompanySuccessReducer_closure1(t0) {
this._box_0 = t0;
},
saveCompanySuccessReducer_closure: function saveCompanySuccessReducer_closure(t0) {
this._box_0 = t0;
},
saveCompanySuccessReducer_closure0: function saveCompanySuccessReducer_closure0(t0) {
this.company = t0;
},
lastUpdatedReducer_closure: function lastUpdatedReducer_closure() {
},
lastUpdatedReducer_closure0: function lastUpdatedReducer_closure0() {
},
filteredCompanyGatewaysSelector: function(companyGatewayMap, companyGatewayList, companyGatewayListState, companyGatewayIds, includeAll) {
var gatewaysIds,
t1 = J.where$1$ax(companyGatewayList._list, new T.filteredCompanyGatewaysSelector_closure(companyGatewayMap, companyGatewayListState)),
list = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
t1 = type$.WhereIterable_String;
gatewaysIds = P.List_List$of(new H.WhereIterable(H.setRuntimeTypeInfo((companyGatewayIds == null ? "" : companyGatewayIds).split(","), type$.JSArray_String), new T.filteredCompanyGatewaysSelector_closure0(companyGatewayMap, companyGatewayListState), t1), true, t1._eval$1("Iterable.E"));
if (includeAll)
C.JSArray_methods.forEach$1(list, new T.filteredCompanyGatewaysSelector_closure1(gatewaysIds));
return gatewaysIds;
},
calculateCompanyGatewayProcessed: function(companyGatewayId, paymentMap) {
var t1 = {};
t1.total = 0;
J.forEach$1$ax(paymentMap._map$_map, new T.calculateCompanyGatewayProcessed_closure(t1, companyGatewayId));
return t1.total;
},
clientStatsForCompanyGateway: function(companyGatewayId, clientMap) {
var t1 = {};
t1.countArchived = t1.countActive = 0;
J.forEach$1$ax(clientMap._map$_map, new T.clientStatsForCompanyGateway_closure(t1, companyGatewayId));
return new T.EntityStats(t1.countActive, t1.countArchived);
},
paymentStatsForCompanyGateway: function(companyGatewayId, paymentMap) {
var t1 = {};
t1.countArchived = t1.countActive = 0;
J.forEach$1$ax(paymentMap._map$_map, new T.paymentStatsForCompanyGateway_closure(t1, companyGatewayId));
return new T.EntityStats(t1.countActive, t1.countArchived);
},
memoizedFilteredCompanyGatewayList_closure: function memoizedFilteredCompanyGatewayList_closure() {
},
filteredCompanyGatewaysSelector_closure: function filteredCompanyGatewaysSelector_closure(t0, t1) {
this.companyGatewayMap = t0;
this.companyGatewayListState = t1;
},
filteredCompanyGatewaysSelector_closure0: function filteredCompanyGatewaysSelector_closure0(t0, t1) {
this.companyGatewayMap = t0;
this.companyGatewayListState = t1;
},
filteredCompanyGatewaysSelector_closure1: function filteredCompanyGatewaysSelector_closure1(t0) {
this.gatewaysIds = t0;
},
memoizedCalculateCompanyGatewayProcessed_closure: function memoizedCalculateCompanyGatewayProcessed_closure() {
},
calculateCompanyGatewayProcessed_closure: function calculateCompanyGatewayProcessed_closure(t0, t1) {
this._box_0 = t0;
this.companyGatewayId = t1;
},
memoizedClientStatsForCompanyGateway_closure: function memoizedClientStatsForCompanyGateway_closure() {
},
clientStatsForCompanyGateway_closure: function clientStatsForCompanyGateway_closure(t0, t1) {
this._box_0 = t0;
this.companyGatewayId = t1;
},
clientStatsForCompanyGateway__closure: function clientStatsForCompanyGateway__closure(t0) {
this.companyGatewayId = t0;
},
memoizedPaymentStatsForCompanyGateway_closure: function memoizedPaymentStatsForCompanyGateway_closure() {
},
paymentStatsForCompanyGateway_closure: function paymentStatsForCompanyGateway_closure(t0, t1) {
this._box_0 = t0;
this.companyGatewayId = t1;
},
handleExpenseAction: function(context, expenses, action) {
var t4, client, items, message, _i, _null = null, _s6_ = ":value",
_s12_ = "_dispatchers",
store = O.StoreProvider_of(context, type$.legacy_AppState),
state = store.get$_store$_state(),
t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization),
expense = type$.legacy_ExpenseEntity._as(C.JSArray_methods.get$first(expenses)),
t2 = H._arrayInstanceType(expenses),
t3 = t2._eval$1("MappedListIterable<1,String*>"),
expenseIds = P.List_List$of(new H.MappedListIterable(expenses, new T.handleExpenseAction_closure(), t3), true, t3._eval$1("ListIterable.E"));
t3 = state.userCompanyStates;
t4 = state.uiState.selectedCompanyIndex;
client = J.$index$asx(t3._list, t4).clientState.$get$1(0, expense.clientId);
switch (action) {
case C.EntityAction_edit:
M.editEntity(_null, context, expense, _null);
break;
case C.EntityAction_cloneToExpense:
M.createEntity(_null, _null, context, expense.get$clone(expense).rebuild$1(new T.handleExpenseAction_closure0()), _null, false);
break;
case C.EntityAction_cloneToRecurring:
M.createEntity(_null, _null, context, expense.get$clone(expense).rebuild$1(new T.handleExpenseAction_closure1()), _null, false);
break;
case C.EntityAction_invoiceExpense:
t1 = t2._eval$1("MappedIterable<1,InvoiceItemEntity*>");
items = P.List_List$of(new H.MappedIterable(new H.WhereIterable(expenses, new T.handleExpenseAction_closure2(), t2._eval$1("WhereIterable<1>")), new T.handleExpenseAction_closure3(context), t1), true, t1._eval$1("Iterable.E"));
if (items.length !== 0)
M.createEntity(_null, _null, context, Q.InvoiceEntity_InvoiceEntity(client, _null, _null, state, _null).rebuild$1(new T.handleExpenseAction_closure4(items)), _null, false);
break;
case C.EntityAction_restore:
t2 = expenseIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_expenses");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_expense");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new T.RestoreExpenseRequest(t1, expenseIds));
break;
case C.EntityAction_archive:
t2 = expenseIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_expenses");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_expense");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new T.ArchiveExpenseRequest(t1, expenseIds));
break;
case C.EntityAction_delete:
t2 = expenseIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_expenses");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_expense");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new T.DeleteExpenseRequest(t1, expenseIds));
break;
case C.EntityAction_toggleMultiselect:
if (store.get$_store$_state().uiState.expenseUIState.listUIState.selectedIds == null)
J.$index$asx(store.get$_dispatchers(), 0).call$1(new T.StartExpenseMultiselect());
t1 = expenses.length;
if (t1 === 0)
break;
for (_i = 0; _i < expenses.length; expenses.length === t1 || (0, H.throwConcurrentModificationError)(expenses), ++_i) {
expense = expenses[_i];
t2 = store.__Store__state;
t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI("_state")) : t2).uiState.expenseUIState.listUIState;
t3 = J.get$id$x(expense);
t2 = t2.selectedIds;
t2 = t2 != null && J.contains$1$asx(t2._list, t3);
t3 = store.__Store__dispatchers;
if (!t2)
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new T.AddToExpenseMultiselect(expense));
else
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new T.RemoveFromExpenseMultiselect(expense));
}
break;
case C.EntityAction_more:
L.showEntityActionsDialog(_null, H.setRuntimeTypeInfo([expense], type$.JSArray_legacy_BaseEntity), false);
break;
}
},
ViewExpenseList: function ViewExpenseList() {
},
ViewExpense: function ViewExpense(t0) {
this.expenseId = t0;
},
EditExpense: function EditExpense(t0) {
this.expense = t0;
},
UpdateExpense: function UpdateExpense(t0) {
this.expense = t0;
},
LoadExpense: function LoadExpense(t0, t1) {
this.completer = t0;
this.expenseId = t1;
},
LoadExpenses: function LoadExpenses() {
},
LoadExpenseRequest: function LoadExpenseRequest() {
},
LoadExpenseFailure: function LoadExpenseFailure(t0) {
this.error = t0;
},
LoadExpenseSuccess: function LoadExpenseSuccess(t0) {
this.expense = t0;
},
LoadExpensesRequest: function LoadExpensesRequest() {
},
LoadExpensesFailure: function LoadExpensesFailure(t0) {
this.error = t0;
},
LoadExpensesSuccess: function LoadExpensesSuccess(t0) {
this.expenses = t0;
},
SaveExpenseRequest: function SaveExpenseRequest(t0, t1) {
this.completer = t0;
this.expense = t1;
},
SaveExpenseSuccess: function SaveExpenseSuccess(t0) {
this.expense = t0;
},
AddExpenseSuccess: function AddExpenseSuccess(t0) {
this.expense = t0;
},
SaveExpenseFailure: function SaveExpenseFailure() {
},
ArchiveExpenseRequest: function ArchiveExpenseRequest(t0, t1) {
this.completer = t0;
this.expenseIds = t1;
},
ArchiveExpenseSuccess: function ArchiveExpenseSuccess(t0) {
this.expenses = t0;
},
ArchiveExpenseFailure: function ArchiveExpenseFailure() {
},
DeleteExpenseRequest: function DeleteExpenseRequest(t0, t1) {
this.completer = t0;
this.expenseIds = t1;
},
DeleteExpenseSuccess: function DeleteExpenseSuccess(t0) {
this.expenses = t0;
},
DeleteExpenseFailure: function DeleteExpenseFailure() {
},
RestoreExpenseRequest: function RestoreExpenseRequest(t0, t1) {
this.completer = t0;
this.expenseIds = t1;
},
RestoreExpenseSuccess: function RestoreExpenseSuccess(t0) {
this.expenses = t0;
},
RestoreExpenseFailure: function RestoreExpenseFailure() {
},
FilterExpenses: function FilterExpenses(t0) {
this.filter = t0;
},
SortExpenses: function SortExpenses(t0) {
this.field = t0;
},
FilterExpensesByState: function FilterExpensesByState(t0) {
this.state = t0;
},
FilterExpensesByStatus: function FilterExpensesByStatus(t0) {
this.status = t0;
},
FilterExpensesByCustom1: function FilterExpensesByCustom1(t0) {
this.value = t0;
},
FilterExpensesByCustom2: function FilterExpensesByCustom2(t0) {
this.value = t0;
},
FilterExpensesByCustom3: function FilterExpensesByCustom3(t0) {
this.value = t0;
},
FilterExpensesByCustom4: function FilterExpensesByCustom4(t0) {
this.value = t0;
},
handleExpenseAction_closure: function handleExpenseAction_closure() {
},
handleExpenseAction_closure0: function handleExpenseAction_closure0() {
},
handleExpenseAction_closure1: function handleExpenseAction_closure1() {
},
handleExpenseAction_closure2: function handleExpenseAction_closure2() {
},
handleExpenseAction_closure3: function handleExpenseAction_closure3(t0) {
this.context = t0;
},
handleExpenseAction_closure4: function handleExpenseAction_closure4(t0) {
this.items = t0;
},
StartExpenseMultiselect: function StartExpenseMultiselect() {
},
AddToExpenseMultiselect: function AddToExpenseMultiselect(t0) {
this.entity = t0;
},
RemoveFromExpenseMultiselect: function RemoveFromExpenseMultiselect(t0) {
this.entity = t0;
},
ClearExpenseMultiselect: function ClearExpenseMultiselect() {
},
SaveExpenseDocumentRequest: function SaveExpenseDocumentRequest(t0, t1, t2) {
this.completer = t0;
this.multipartFile = t1;
this.expense = t2;
},
SaveExpenseDocumentFailure: function SaveExpenseDocumentFailure() {
},
UpdateExpenseTab: function UpdateExpenseTab(t0) {
this.tabIndex = t0;
},
_editSubscription: function() {
return new T._editSubscription_closure();
},
_viewSubscription: function() {
return new T._viewSubscription_closure();
},
_viewSubscriptionList: function() {
return new T._viewSubscriptionList_closure();
},
_archiveSubscription: function(repository) {
return new T._archiveSubscription_closure(repository);
},
_deleteSubscription: function(repository) {
return new T._deleteSubscription_closure(repository);
},
_restoreSubscription: function(repository) {
return new T._restoreSubscription_closure(repository);
},
_saveSubscription: function(repository) {
return new T._saveSubscription_closure(repository);
},
_loadSubscription: function(repository) {
return new T._loadSubscription_closure(repository);
},
_loadSubscriptions: function(repository) {
return new T._loadSubscriptions_closure(repository);
},
_editSubscription_closure: function _editSubscription_closure() {
},
_viewSubscription_closure: function _viewSubscription_closure() {
},
_viewSubscriptionList_closure: function _viewSubscriptionList_closure() {
},
_viewSubscriptionList__closure: function _viewSubscriptionList__closure() {
},
_archiveSubscription_closure: function _archiveSubscription_closure(t0) {
this.repository = t0;
},
_archiveSubscription__closure: function _archiveSubscription__closure(t0) {
this.store = t0;
},
_archiveSubscription__closure0: function _archiveSubscription__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archiveSubscription__closure1: function _archiveSubscription__closure1(t0, t1, t2) {
this.store = t0;
this.prevSubscriptions = t1;
this.action = t2;
},
_deleteSubscription_closure: function _deleteSubscription_closure(t0) {
this.repository = t0;
},
_deleteSubscription__closure: function _deleteSubscription__closure(t0) {
this.store = t0;
},
_deleteSubscription__closure0: function _deleteSubscription__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_deleteSubscription__closure1: function _deleteSubscription__closure1(t0, t1, t2) {
this.store = t0;
this.prevSubscriptions = t1;
this.action = t2;
},
_restoreSubscription_closure: function _restoreSubscription_closure(t0) {
this.repository = t0;
},
_restoreSubscription__closure: function _restoreSubscription__closure(t0) {
this.store = t0;
},
_restoreSubscription__closure0: function _restoreSubscription__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restoreSubscription__closure1: function _restoreSubscription__closure1(t0, t1, t2) {
this.store = t0;
this.prevSubscriptions = t1;
this.action = t2;
},
_saveSubscription_closure: function _saveSubscription_closure(t0) {
this.repository = t0;
},
_saveSubscription__closure: function _saveSubscription__closure(t0, t1) {
this.action = t0;
this.store = t1;
},
_saveSubscription__closure0: function _saveSubscription__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadSubscription_closure: function _loadSubscription_closure(t0) {
this.repository = t0;
},
_loadSubscription__closure: function _loadSubscription__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadSubscription__closure0: function _loadSubscription__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadSubscriptions_closure: function _loadSubscriptions_closure(t0) {
this.repository = t0;
},
_loadSubscriptions__closure: function _loadSubscriptions__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadSubscriptions__closure0: function _loadSubscriptions__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_editTaxRate: function() {
return new T._editTaxRate_closure();
},
_viewTaxRate: function() {
return new T._viewTaxRate_closure();
},
_viewTaxRateList: function() {
return new T._viewTaxRateList_closure0();
},
_archiveTaxRate: function(repository) {
return new T._archiveTaxRate_closure(repository);
},
_deleteTaxRate: function(repository) {
return new T._deleteTaxRate_closure(repository);
},
_restoreTaxRate: function(repository) {
return new T._restoreTaxRate_closure(repository);
},
_saveTaxRate: function(repository) {
return new T._saveTaxRate_closure(repository);
},
_loadTaxRate: function(repository) {
return new T._loadTaxRate_closure(repository);
},
_loadTaxRates: function(repository) {
return new T._loadTaxRates_closure(repository);
},
_editTaxRate_closure: function _editTaxRate_closure() {
},
_viewTaxRate_closure: function _viewTaxRate_closure() {
},
_viewTaxRateList_closure0: function _viewTaxRateList_closure0() {
},
_viewTaxRateList__closure: function _viewTaxRateList__closure() {
},
_archiveTaxRate_closure: function _archiveTaxRate_closure(t0) {
this.repository = t0;
},
_archiveTaxRate__closure: function _archiveTaxRate__closure(t0) {
this.store = t0;
},
_archiveTaxRate__closure0: function _archiveTaxRate__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archiveTaxRate__closure1: function _archiveTaxRate__closure1(t0, t1, t2) {
this.store = t0;
this.prevTaxRates = t1;
this.action = t2;
},
_deleteTaxRate_closure: function _deleteTaxRate_closure(t0) {
this.repository = t0;
},
_deleteTaxRate__closure: function _deleteTaxRate__closure(t0) {
this.store = t0;
},
_deleteTaxRate__closure0: function _deleteTaxRate__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_deleteTaxRate__closure1: function _deleteTaxRate__closure1(t0, t1, t2) {
this.store = t0;
this.prevTaxRates = t1;
this.action = t2;
},
_restoreTaxRate_closure: function _restoreTaxRate_closure(t0) {
this.repository = t0;
},
_restoreTaxRate__closure: function _restoreTaxRate__closure(t0) {
this.store = t0;
},
_restoreTaxRate__closure0: function _restoreTaxRate__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restoreTaxRate__closure1: function _restoreTaxRate__closure1(t0, t1, t2) {
this.store = t0;
this.prevTaxRates = t1;
this.action = t2;
},
_saveTaxRate_closure: function _saveTaxRate_closure(t0) {
this.repository = t0;
},
_saveTaxRate__closure: function _saveTaxRate__closure(t0, t1) {
this.action = t0;
this.store = t1;
},
_saveTaxRate__closure0: function _saveTaxRate__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadTaxRate_closure: function _loadTaxRate_closure(t0) {
this.repository = t0;
},
_loadTaxRate__closure: function _loadTaxRate__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadTaxRate__closure0: function _loadTaxRate__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadTaxRates_closure: function _loadTaxRates_closure(t0) {
this.repository = t0;
},
_loadTaxRates__closure: function _loadTaxRates__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadTaxRates__closure0: function _loadTaxRates__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_editWebhook: function() {
return new T._editWebhook_closure();
},
_viewWebhook: function() {
return new T._viewWebhook_closure();
},
_viewWebhookList: function() {
return new T._viewWebhookList_closure0();
},
_archiveWebhook: function(repository) {
return new T._archiveWebhook_closure(repository);
},
_deleteWebhook: function(repository) {
return new T._deleteWebhook_closure(repository);
},
_restoreWebhook: function(repository) {
return new T._restoreWebhook_closure(repository);
},
_saveWebhook: function(repository) {
return new T._saveWebhook_closure(repository);
},
_loadWebhook: function(repository) {
return new T._loadWebhook_closure(repository);
},
_loadWebhooks: function(repository) {
return new T._loadWebhooks_closure(repository);
},
_editWebhook_closure: function _editWebhook_closure() {
},
_viewWebhook_closure: function _viewWebhook_closure() {
},
_viewWebhookList_closure0: function _viewWebhookList_closure0() {
},
_viewWebhookList__closure: function _viewWebhookList__closure() {
},
_archiveWebhook_closure: function _archiveWebhook_closure(t0) {
this.repository = t0;
},
_archiveWebhook__closure: function _archiveWebhook__closure(t0) {
this.store = t0;
},
_archiveWebhook__closure0: function _archiveWebhook__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archiveWebhook__closure1: function _archiveWebhook__closure1(t0, t1, t2) {
this.store = t0;
this.prevWebhooks = t1;
this.action = t2;
},
_deleteWebhook_closure: function _deleteWebhook_closure(t0) {
this.repository = t0;
},
_deleteWebhook__closure: function _deleteWebhook__closure(t0) {
this.store = t0;
},
_deleteWebhook__closure0: function _deleteWebhook__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_deleteWebhook__closure1: function _deleteWebhook__closure1(t0, t1, t2) {
this.store = t0;
this.prevWebhooks = t1;
this.action = t2;
},
_restoreWebhook_closure: function _restoreWebhook_closure(t0) {
this.repository = t0;
},
_restoreWebhook__closure: function _restoreWebhook__closure(t0) {
this.store = t0;
},
_restoreWebhook__closure0: function _restoreWebhook__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restoreWebhook__closure1: function _restoreWebhook__closure1(t0, t1, t2) {
this.store = t0;
this.prevWebhooks = t1;
this.action = t2;
},
_saveWebhook_closure: function _saveWebhook_closure(t0) {
this.repository = t0;
},
_saveWebhook__closure: function _saveWebhook__closure(t0, t1) {
this.action = t0;
this.store = t1;
},
_saveWebhook__closure0: function _saveWebhook__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadWebhook_closure: function _loadWebhook_closure(t0) {
this.repository = t0;
},
_loadWebhook__closure: function _loadWebhook__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadWebhook__closure0: function _loadWebhook__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadWebhooks_closure: function _loadWebhooks_closure(t0) {
this.repository = t0;
},
_loadWebhooks__closure: function _loadWebhooks__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadWebhooks__closure0: function _loadWebhooks__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
FieldGrid: function FieldGrid(t0, t1) {
this.fields = t0;
this.key = t1;
},
FieldGrid_build_closure: function FieldGrid_build_closure(t0, t1, t2) {
this.fieldWidgets = t0;
this.localization = t1;
this.textColor = t2;
},
FieldGrid_build__closure: function FieldGrid_build__closure(t0, t1) {
this.value = t0;
this.localization = t1;
},
FieldGrid_build_closure0: function FieldGrid_build_closure0(t0) {
this.fieldWidgets = t0;
},
AppBorder: function AppBorder(t0, t1, t2, t3) {
var _ = this;
_.child = t0;
_.isTop = t1;
_.isLeft = t2;
_.key = t3;
},
ConfirmEmail: function ConfirmEmail(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
ConfirmEmail_build_closure: function ConfirmEmail_build_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.localization = t2;
},
ConfirmEmail_build__closure: function ConfirmEmail_build__closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.localization = t2;
},
ConfirmEmail_build___closure: function ConfirmEmail_build___closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.context = t1;
_.password = t2;
_.idToken = t3;
},
InvoiceItemListTile: function InvoiceItemListTile(t0, t1, t2, t3) {
var _ = this;
_.onTap = t0;
_.invoice = t1;
_.invoiceItem = t2;
_.key = t3;
},
ClientViewDocuments: function ClientViewDocuments(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
ClientViewDocuments_build_closure: function ClientViewDocuments_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ClientViewDocuments_build_closure0: function ClientViewDocuments_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
CreditEditDetailsVM_CreditEditDetailsVM$fromStore: function(store) {
var t3, company,
state = store.get$_store$_state(),
t1 = state.uiState,
credit = t1.creditUIState.editing,
t2 = state.userCompanyStates;
t1 = t1.selectedCompanyIndex;
t2 = t2._list;
t3 = J.getInterceptor$asx(t2);
company = t3.$index(t2, t1).userCompany.company;
t3.$index(t2, t1).clientState.toString;
t3.$index(t2, t1).clientState.toString;
return new T.CreditEditDetailsVM(state, company, credit, new T.CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure(store), new T.CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure0(state, company, store), new T.CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure1(store));
},
CreditEditDetailsScreen: function CreditEditDetailsScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
CreditEditDetailsScreen_build_closure0: function CreditEditDetailsScreen_build_closure0() {
},
CreditEditDetailsScreen_build_closure: function CreditEditDetailsScreen_build_closure(t0) {
this.$this = t0;
},
CreditEditDetailsVM: function CreditEditDetailsVM(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.state = t0;
_.company = t1;
_.invoice = t2;
_.onChanged = t3;
_.onClientChanged = t4;
_.onAddClientPressed = t5;
},
CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure: function CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure(t0) {
this.store = t0;
},
CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure0: function CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure0(t0, t1, t2) {
this.state = t0;
this.company = t1;
this.store = t2;
},
CreditEditDetailsVM_CreditEditDetailsVM$fromStore__closure1: function CreditEditDetailsVM_CreditEditDetailsVM$fromStore__closure1(t0) {
this.exchangeRate = t0;
},
CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure1: function CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure1(t0) {
this.store = t0;
},
CreditEditDetailsVM_CreditEditDetailsVM$fromStore__closure: function CreditEditDetailsVM_CreditEditDetailsVM$fromStore__closure(t0) {
this.store = t0;
},
CreditEditDetailsVM_CreditEditDetailsVM$fromStore__closure0: function CreditEditDetailsVM_CreditEditDetailsVM$fromStore__closure0(t0) {
this.store = t0;
},
DocumentView: function DocumentView(t0, t1, t2) {
this.viewModel = t0;
this.isFilter = t1;
this.key = t2;
},
_DocumentViewState: function _DocumentViewState(t0) {
this._widget = null;
this._debugLifecycleState = t0;
this._framework$_element = null;
},
ExpenseEditSettings: function ExpenseEditSettings(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
ExpenseEditSettingsState: function ExpenseEditSettingsState(t0, t1, t2, t3) {
var _ = this;
_._showConvertCurrencyFields = _._showPaymentFields = false;
_._expense_edit_settings$_convertedAmount = 0;
_._expense_edit_settings$_transactionReferenceController = t0;
_._expense_edit_settings$_exchangeRateController = t1;
_._expense_edit_settings$_controllers = null;
_._expense_edit_settings$_debouncer = t2;
_._widget = null;
_._debugLifecycleState = t3;
_._framework$_element = null;
},
ExpenseEditSettingsState_didChangeDependencies_closure: function ExpenseEditSettingsState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
ExpenseEditSettingsState_didChangeDependencies_closure0: function ExpenseEditSettingsState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
ExpenseEditSettingsState_dispose_closure: function ExpenseEditSettingsState_dispose_closure(t0) {
this.$this = t0;
},
ExpenseEditSettingsState__onChanged_closure: function ExpenseEditSettingsState__onChanged_closure(t0) {
this.$this = t0;
},
ExpenseEditSettingsState__onChanged_closure0: function ExpenseEditSettingsState__onChanged_closure0(t0, t1) {
this.viewModel = t0;
this.expense = t1;
},
ExpenseEditSettingsState__setCurrency_closure: function ExpenseEditSettingsState__setCurrency_closure(t0, t1, t2) {
this.currency = t0;
this.expense = t1;
this.exchangeRate = t2;
},
ExpenseEditSettingsState__setCurrency_closure0: function ExpenseEditSettingsState__setCurrency_closure0(t0, t1) {
this.$this = t0;
this.exchangeRate = t1;
},
ExpenseEditSettingsState_build_closure: function ExpenseEditSettingsState_build_closure(t0, t1) {
this.viewModel = t0;
this.expense = t1;
},
ExpenseEditSettingsState_build__closure12: function ExpenseEditSettingsState_build__closure12(t0) {
this.value = t0;
},
ExpenseEditSettingsState_build_closure0: function ExpenseEditSettingsState_build_closure0(t0, t1, t2) {
this.$this = t0;
this.expense = t1;
this.viewModel = t2;
},
ExpenseEditSettingsState_build__closure8: function ExpenseEditSettingsState_build__closure8() {
},
ExpenseEditSettingsState_build__closure9: function ExpenseEditSettingsState_build__closure9() {
},
ExpenseEditSettingsState_build__closure10: function ExpenseEditSettingsState_build__closure10(t0) {
this.$this = t0;
},
ExpenseEditSettingsState_build__closure11: function ExpenseEditSettingsState_build__closure11(t0, t1) {
this.$this = t0;
this.value = t1;
},
ExpenseEditSettingsState_build_closure1: function ExpenseEditSettingsState_build_closure1(t0, t1) {
this.viewModel = t0;
this.expense = t1;
},
ExpenseEditSettingsState_build__closure7: function ExpenseEditSettingsState_build__closure7(t0) {
this.paymentType = t0;
},
ExpenseEditSettingsState_build_closure2: function ExpenseEditSettingsState_build_closure2(t0, t1) {
this.viewModel = t0;
this.expense = t1;
},
ExpenseEditSettingsState_build__closure6: function ExpenseEditSettingsState_build__closure6(t0) {
this.date = t0;
},
ExpenseEditSettingsState_build_closure3: function ExpenseEditSettingsState_build_closure3(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.staticState = t1;
_.expense = t2;
_.viewModel = t3;
},
ExpenseEditSettingsState_build__closure3: function ExpenseEditSettingsState_build__closure3(t0, t1) {
this.$this = t0;
this.value = t1;
},
ExpenseEditSettingsState_build__closure4: function ExpenseEditSettingsState_build__closure4() {
},
ExpenseEditSettingsState_build__closure5: function ExpenseEditSettingsState_build__closure5(t0) {
this.$this = t0;
},
ExpenseEditSettingsState_build_closure4: function ExpenseEditSettingsState_build_closure4(t0) {
this.$this = t0;
},
ExpenseEditSettingsState_build_closure6: function ExpenseEditSettingsState_build_closure6(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.expense = t1;
_.context = t2;
_.viewModel = t3;
},
ExpenseEditSettingsState_build__closure2: function ExpenseEditSettingsState_build__closure2(t0) {
this.exchangeRate = t0;
},
ExpenseEditSettingsState_build_closure5: function ExpenseEditSettingsState_build_closure5(t0) {
this.$this = t0;
},
ExpenseEditSettingsState_build_closure7: function ExpenseEditSettingsState_build_closure7(t0, t1) {
this.viewModel = t0;
this.expense = t1;
},
ExpenseEditSettingsState_build__closure1: function ExpenseEditSettingsState_build__closure1(t0) {
this.value = t0;
},
ExpenseEditSettingsState_build_closure8: function ExpenseEditSettingsState_build_closure8(t0) {
this.context = t0;
},
ExpenseEditSettingsState_build_closure9: function ExpenseEditSettingsState_build_closure9(t0, t1) {
this.viewModel = t0;
this.expense = t1;
},
ExpenseEditSettingsState_build__closure0: function ExpenseEditSettingsState_build__closure0(t0) {
this.value = t0;
},
ExpenseEditSettingsState_build_closure10: function ExpenseEditSettingsState_build_closure10(t0, t1) {
this.viewModel = t0;
this.expense = t1;
},
ExpenseEditSettingsState_build__closure: function ExpenseEditSettingsState_build__closure(t0) {
this.value = t0;
},
GroupListItem: function GroupListItem(t0, t1, t2, t3, t4) {
var _ = this;
_.user = t0;
_.group = t1;
_.filter = t2;
_.isChecked = t3;
_.key = t4;
},
GroupListItem_build_closure1: function GroupListItem_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
GroupListItem_build_closure0: function GroupListItem_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
GroupListItem_build_closure: function GroupListItem_build_closure(t0) {
this.$this = t0;
},
InvoiceListVM_fromStore: function(store) {
var t6, t7, t8, t9, t10,
state = store.get$_store$_state(),
t1 = $.$get$memoizedFilteredInvoiceList(),
t2 = state.getUISelection$1(C.EntityType_invoice),
t3 = state.userCompanyStates,
t4 = state.uiState,
t5 = t4.selectedCompanyIndex;
t3 = t3._list;
t6 = J.getInterceptor$asx(t3);
t7 = t6.$index(t3, t5).invoiceState.map;
t8 = t6.$index(t3, t5).invoiceState.list;
t9 = t6.$index(t3, t5).clientState.map;
t10 = t6.$index(t3, t5).paymentState.map;
t4 = t4.invoiceUIState.listUIState;
t10 = t1.call$8(t2, t7, t8, t9, t10, t4, t6.$index(t3, t5).userState.map, t6.$index(t3, t5).userCompany.company.settings.recurringNumberPrefix);
t9 = t6.$index(t3, t5).invoiceState.map;
t8 = t6.$index(t3, t5).clientState.map;
t4 = t4.filter;
t7 = t6.$index(t3, t5).userCompany.settings.getTableColumns$1(C.EntityType_invoice);
if (t7 == null) {
t6.$index(t3, t5).toString;
t1 = H.setRuntimeTypeInfo(["status", "number", "client", "amount", "balance", "date", "due_date"], type$.JSArray_legacy_String);
} else
t1 = t7;
return new T.InvoiceListVM(state, t10, t9, t8, t4, new T.InvoiceListVM_fromStore_closure(new T.InvoiceListVM_fromStore__handleRefresh(store)), t1, new T.InvoiceListVM_fromStore_closure0(store), new T.InvoiceListVM_fromStore_closure1(store));
},
InvoiceListBuilder: function InvoiceListBuilder(t0) {
this.key = t0;
},
InvoiceListBuilder_build_closure: function InvoiceListBuilder_build_closure() {
},
InvoiceListBuilder_build__closure: function InvoiceListBuilder_build__closure(t0) {
this.viewModel = t0;
},
EntityListVM: function EntityListVM() {
},
InvoiceListVM: function InvoiceListVM(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.state = t0;
_.invoiceList = t1;
_.invoiceMap = t2;
_.clientMap = t3;
_.filter = t4;
_.onRefreshed = t5;
_.tableColumns = t6;
_.onSortColumn = t7;
_.onClearMultiselect = t8;
},
InvoiceListVM_fromStore__handleRefresh: function InvoiceListVM_fromStore__handleRefresh(t0) {
this.store = t0;
},
InvoiceListVM_fromStore_closure: function InvoiceListVM_fromStore_closure(t0) {
this._handleRefresh = t0;
},
InvoiceListVM_fromStore_closure0: function InvoiceListVM_fromStore_closure0(t0) {
this.store = t0;
},
InvoiceListVM_fromStore_closure1: function InvoiceListVM_fromStore_closure1(t0) {
this.store = t0;
},
ProductListItem$: function(filter, isChecked, isDismissible, onCheckboxChanged, onTap, product) {
return new T.ProductListItem(onTap, onCheckboxChanged, isChecked, isDismissible, product, filter, null);
},
ProductListItem: function ProductListItem(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.onTap = t0;
_.onCheckboxChanged = t1;
_.isChecked = t2;
_.isDismissible = t3;
_.product = t4;
_.filter = t5;
_.key = t6;
},
ProductListItem_build_closure: function ProductListItem_build_closure(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.$this = t0;
_.showCheckbox = t1;
_.listUIState = t2;
_.state = t3;
_.textStyle = t4;
_.filterMatch = t5;
_.subtitle = t6;
},
ProductListItem_build__closure2: function ProductListItem_build__closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
ProductListItem_build__closure1: function ProductListItem_build__closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
ProductListItem_build__closure: function ProductListItem_build__closure(t0) {
this.$this = t0;
},
ProductListItem_build__closure0: function ProductListItem_build__closure0(t0) {
this.$this = t0;
},
ProductListItem_build__closure5: function ProductListItem_build__closure5(t0, t1) {
this.$this = t0;
this.context = t1;
},
ProductListItem_build__closure4: function ProductListItem_build__closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
ProductListItem_build__closure3: function ProductListItem_build__closure3(t0) {
this.$this = t0;
},
QuoteEditItemsVM_QuoteEditItemsVM$fromStore: function(store) {
var t1 = store.get$_store$_state(),
t2 = store.get$_store$_state(),
t3 = t2.userCompanyStates;
t2 = t2.uiState.selectedCompanyIndex;
return new T.QuoteEditItemsVM(t1, J.$index$asx(t3._list, t2).userCompany.company, store.get$_store$_state().uiState.quoteUIState.editing, store.get$_store$_state().uiState.quoteUIState.editingItemIndex, new T.QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure(store), new T.QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure0(store), new T.QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure1(store), new T.QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure2(store));
},
QuoteEditItemsScreen: function QuoteEditItemsScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
QuoteEditItemsScreen_build_closure0: function QuoteEditItemsScreen_build_closure0() {
},
QuoteEditItemsScreen_build_closure: function QuoteEditItemsScreen_build_closure(t0) {
this.$this = t0;
},
QuoteEditItemsVM: function QuoteEditItemsVM(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.state = t0;
_.company = t1;
_.invoice = t2;
_.invoiceItemIndex = t3;
_.onRemoveInvoiceItemPressed = t4;
_.clearSelectedInvoiceItem = t5;
_.onChangedInvoiceItem = t6;
_.onMovedInvoiceItem = t7;
},
QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure: function QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure(t0) {
this.store = t0;
},
QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure0: function QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure0(t0) {
this.store = t0;
},
QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure1: function QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure1(t0) {
this.store = t0;
},
QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure2: function QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure2(t0) {
this.store = t0;
},
QuoteScreen: function QuoteScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
QuoteScreen_build_closure15: function QuoteScreen_build_closure15(t0) {
this.store = t0;
},
QuoteScreen_build_closure13: function QuoteScreen_build_closure13(t0) {
this.store = t0;
},
QuoteScreen_build_closure14: function QuoteScreen_build_closure14(t0) {
this.store = t0;
},
QuoteScreen_build_closure4: function QuoteScreen_build_closure4(t0) {
this.store = t0;
},
QuoteScreen_build_closure0: function QuoteScreen_build_closure0(t0) {
this.store = t0;
},
QuoteScreen_build_closure1: function QuoteScreen_build_closure1(t0) {
this.store = t0;
},
QuoteScreen_build_closure2: function QuoteScreen_build_closure2(t0) {
this.store = t0;
},
QuoteScreen_build_closure3: function QuoteScreen_build_closure3(t0) {
this.store = t0;
},
QuoteScreen_build_closure5: function QuoteScreen_build_closure5(t0) {
this.store = t0;
},
QuoteScreen_build_closure6: function QuoteScreen_build_closure6(t0) {
this.store = t0;
},
QuoteScreen_build_closure7: function QuoteScreen_build_closure7(t0) {
this.localization = t0;
},
QuoteScreen_build_closure8: function QuoteScreen_build_closure8(t0) {
this.localization = t0;
},
QuoteScreen_build_closure9: function QuoteScreen_build_closure9(t0) {
this.localization = t0;
},
QuoteScreen_build_closure10: function QuoteScreen_build_closure10(t0) {
this.localization = t0;
},
QuoteScreen_build_closure11: function QuoteScreen_build_closure11(t0) {
this.localization = t0;
},
QuoteScreen_build_closure: function QuoteScreen_build_closure(t0) {
this.store = t0;
},
QuoteScreen_build_closure12: function QuoteScreen_build_closure12(t0) {
this.context = t0;
},
lineItemReport: function(userCompany, reportsUIState, productMap, invoiceMap, clientMap, staticState) {
var columns, productKeyMap, t4, t5, t6, t7, t8, t9, invoice, client, t10, precision, t11, t12, value, value0, value1, value2, t13, row, t14, skip, t15, value3, productId, t16, t17, t18, selectedColumns, _null = null,
_s10_ = "quote_item",
data = H.setRuntimeTypeInfo([], type$.JSArray_legacy_List_legacy_ReportElement),
reportSettings = userCompany.settings.reportSettings,
lineItemReportSettings = reportSettings != null && J.containsKey$1$x(reportSettings._map$_map, _s10_) ? J.$index$asx(reportSettings._map$_map, _s10_) : A.ReportSettingsEntity_ReportSettingsEntity(_null, _null),
defaultColumns = H.setRuntimeTypeInfo([C.QuoteItemReportFields_12, C.QuoteItemReportFields_13, C.QuoteItemReportFields_0, C.QuoteItemReportFields_4, C.QuoteItemReportFields_2], type$.JSArray_legacy_QuoteItemReportFields),
t1 = lineItemReportSettings.columns._list,
t2 = J.getInterceptor$asx(t1),
t3 = type$.legacy_QuoteItemReportFields;
if (t2.get$isNotEmpty(t1)) {
t1 = t2.map$1$1(t1, new T.lineItemReport_closure(), t3).where$1(0, new T.lineItemReport_closure0());
columns = D.BuiltList_BuiltList$from(P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t3);
} else
columns = D.BuiltList_BuiltList$from(defaultColumns, t3);
t1 = type$.legacy_String;
productKeyMap = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
for (t2 = productMap._map$_map, t3 = J.getInterceptor$x(t2), t4 = t3.get$entries(t2), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
t5 = t4.get$current(t4);
productKeyMap.$indexSet(0, t5.get$value(t5).productKey, t5.get$value(t5).id);
}
for (t4 = J.get$entries$x(invoiceMap._map$_map), t4 = t4.get$iterator(t4), t5 = columns._list, t6 = J.getInterceptor$ax(t5), t7 = type$.JSArray_legacy_ReportElement, t8 = userCompany.company; t4.moveNext$0();) {
t9 = t4.get$current(t4);
invoice = t9.get$value(t9);
t9 = invoice.clientId;
client = J.$index$asx(clientMap._map$_map, t9);
if (client == null)
client = T.ClientEntity_ClientEntity(_null, _null, _null);
t9 = staticState.currencyMap;
t10 = client.settings.currencyId;
t9 = J.$index$asx(t9._map$_map, t10);
precision = t9 == null ? _null : t9.precision;
if (precision == null)
precision = 2;
if (invoice.isDeleted || client.isDeleted)
continue;
if (!t8.reportIncludeDrafts && invoice.statusId === "1")
continue;
for (t9 = J.get$iterator$ax(invoice.lineItems._list), t11 = invoice.id, t12 = invoice.entityType, value = invoice.dueDate, value0 = client.displayName, value1 = invoice.date, value2 = invoice.number; t9.moveNext$0();) {
t13 = t9.get$current(t9);
row = H.setRuntimeTypeInfo([], t7);
for (t14 = t6.get$iterator(t5), skip = false; t14.moveNext$0();) {
t15 = t14.get$current(t14);
value3 = t13.productKey;
productId = productKeyMap.$index(0, value3);
switch (t15) {
case C.QuoteItemReportFields_2:
value3 = t13.cost;
break;
case C.QuoteItemReportFields_4:
value3 = t13.quantity;
break;
case C.QuoteItemReportFields_3:
value3 = productId == null ? 0 : t3.$index(t2, productId).cost;
break;
case C.QuoteItemReportFields_5:
t16 = t13.total$2(0, invoice, precision);
t17 = t13.taxAmount$2(invoice, precision);
t18 = productId == null ? 0 : t3.$index(t2, productId).cost;
value3 = t16 - t17 - t18;
break;
case C.QuoteItemReportFields_8:
value3 = t13.customValue1;
break;
case C.QuoteItemReportFields_9:
value3 = t13.customValue2;
break;
case C.QuoteItemReportFields_10:
value3 = t13.customValue3;
break;
case C.QuoteItemReportFields_11:
value3 = t13.customValue4;
break;
case C.QuoteItemReportFields_1:
value3 = t13.notes;
break;
case C.QuoteItemReportFields_6:
value3 = t13.total$2(0, invoice, precision);
break;
case C.QuoteItemReportFields_0:
break;
case C.QuoteItemReportFields_7:
value3 = t13.discount;
break;
case C.QuoteItemReportFields_12:
value3 = value2;
break;
case C.QuoteItemReportFields_13:
value3 = value1;
break;
case C.QuoteItemReportFields_14:
value3 = value0;
break;
case C.QuoteItemReportFields_15:
value3 = value;
break;
case C.QuoteItemReportFields_16:
value3 = t13.get$hasTaxes();
break;
case C.QuoteItemReportFields_17:
value3 = t13.get$taxRates();
break;
case C.QuoteItemReportFields_18:
value3 = t13.taxAmount$2(invoice, precision);
break;
case C.QuoteItemReportFields_19:
value3 = t13.total$2(0, invoice, precision) - t13.taxAmount$2(invoice, precision);
break;
default:
value3 = "";
}
if (!A.ReportResult_matchField(N.EnumUtils_parse(t15), _null, reportsUIState, userCompany, value3))
skip = true;
t16 = J.getInterceptor$(value3);
if (t16.get$runtimeType(value3) === C.Type_bool_lhE)
row.push(new A.ReportBoolValue(value3, t12, t11));
else if (t15 === C.QuoteItemReportFields_4)
row.push(new A.ReportNumberValue(value3, _null, _null, _null, t12, t11));
else if (t16.get$runtimeType(value3) === C.Type_double_K1J || t16.get$runtimeType(value3) === C.Type_int_tHn)
row.push(new A.ReportNumberValue(value3, _null, t10, _null, t12, t11));
else
row.push(new A.ReportStringValue(value3, t12, t11));
}
if (!skip)
data.push(row);
}
}
selectedColumns = t6.map$1$1(t5, new T.lineItemReport_closure1(), t1).toList$0(0);
C.JSArray_methods.sort$1(data, new T.lineItemReport_closure2(lineItemReportSettings, selectedColumns));
t1 = type$.MappedListIterable_of_legacy_QuoteItemReportFields_and_legacy_String;
t2 = t1._eval$1("ListIterable.E");
return new A.ReportResult(selectedColumns, P.List_List$of(new H.MappedListIterable(C.List_ujV, new T.lineItemReport_closure3(), t1), true, t2), P.List_List$of(new H.MappedListIterable(defaultColumns, new T.lineItemReport_closure4(), t1), true, t2), data, true);
},
QuoteItemReportFields: function QuoteItemReportFields(t0) {
this._quote_item_report$_name = t0;
},
memoizedQuoteItemReport_closure: function memoizedQuoteItemReport_closure() {
},
lineItemReport_closure: function lineItemReport_closure() {
},
lineItemReport_closure0: function lineItemReport_closure0() {
},
lineItemReport_closure1: function lineItemReport_closure1() {
},
lineItemReport_closure2: function lineItemReport_closure2(t0, t1) {
this.lineItemReportSettings = t0;
this.selectedColumns = t1;
},
lineItemReport_closure3: function lineItemReport_closure3() {
},
lineItemReport_closure4: function lineItemReport_closure4() {
},
KanbanVM_fromStore: function(store) {
var t6, t7, t8, t9, t10, t11, t12, t13,
state = store.get$_store$_state(),
t1 = $.$get$memoizedKanbanTaskList(),
t2 = state.getUISelection$1(C.EntityType_task),
t3 = state.userCompanyStates,
t4 = state.uiState,
t5 = t4.selectedCompanyIndex;
t3 = t3._list;
t6 = J.getInterceptor$asx(t3);
t7 = t6.$index(t3, t5).taskState.map;
t8 = t6.$index(t3, t5).clientState.map;
t9 = t6.$index(t3, t5).userState.map;
t10 = t6.$index(t3, t5).projectState.map;
t11 = t6.$index(t3, t5).invoiceState.map;
t12 = t6.$index(t3, t5).taskStatusState.map;
t13 = t6.$index(t3, t5).taskState.list;
t4 = t4.taskUIState.listUIState;
return new T.KanbanVM(state, t1.call$9(t2, t7, t8, t9, t10, t11, t12, t13, t4), $.$get$memoizedFilteredTaskList().call$9(state.getUISelection$1(C.EntityType_task), t6.$index(t3, t5).taskState.map, t6.$index(t3, t5).clientState.map, t6.$index(t3, t5).userState.map, t6.$index(t3, t5).projectState.map, t6.$index(t3, t5).invoiceState.map, t6.$index(t3, t5).taskStatusState.map, t6.$index(t3, t5).taskState.list, t4), new T.KanbanVM_fromStore_closure(store), new T.KanbanVM_fromStore_closure0(state, store), new T.KanbanVM_fromStore_closure1(state, store));
},
KanbanViewBuilder: function KanbanViewBuilder(t0) {
this.key = t0;
},
_KanbanViewBuilderState: function _KanbanViewBuilderState(t0) {
this._widget = null;
this._debugLifecycleState = t0;
this._framework$_element = null;
},
_KanbanViewBuilderState_build_closure: function _KanbanViewBuilderState_build_closure() {
},
KanbanVM: function KanbanVM(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.state = t0;
_.taskList = t1;
_.filteredTaskList = t2;
_.onBoardChanged = t3;
_.onSaveTaskPressed = t4;
_.onSaveStatusPressed = t5;
},
KanbanVM_fromStore_closure: function KanbanVM_fromStore_closure(t0) {
this.store = t0;
},
KanbanVM_fromStore_closure1: function KanbanVM_fromStore_closure1(t0, t1) {
this.state = t0;
this.store = t1;
},
KanbanVM_fromStore__closure: function KanbanVM_fromStore__closure(t0, t1, t2) {
this._box_0 = t0;
this.name = t1;
this.statusOrder = t2;
},
KanbanVM_fromStore_closure0: function KanbanVM_fromStore_closure0(t0, t1) {
this.state = t0;
this.store = t1;
},
KanbanVM_fromStore__closure0: function KanbanVM_fromStore__closure0(t0, t1, t2, t3) {
var _ = this;
_._box_1 = t0;
_.description = t1;
_.statusOrder = t2;
_.statusId = t3;
},
KanbanVM_fromStore__closure1: function KanbanVM_fromStore__closure1(t0) {
this.uiState = t0;
},
KanbanVM_fromStore__closure2: function KanbanVM_fromStore__closure2(t0, t1) {
this.uiState = t0;
this.project = t1;
},
KanbanVM_fromStore__closure3: function KanbanVM_fromStore__closure3(t0) {
this.uiState = t0;
},
TaskPresenter: function TaskPresenter() {
this.context = this.entity = null;
},
TaskPresenter_getField_closure: function TaskPresenter_getField_closure() {
},
TaskPresenter_getField_closure0: function TaskPresenter_getField_closure0(t0, t1) {
this.context = t0;
this.notes = t1;
},
TaskStatusViewVM_TaskStatusViewVM$fromStore: function(store) {
var t4, t5, taskStatus,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t5 = t4.$index(t1, t3).taskStatusState.map;
t2 = t2.taskStatusUIState.selectedId;
taskStatus = J.$index$asx(t5._map$_map, t2);
if (taskStatus == null)
taskStatus = S.TaskStatusEntity_TaskStatusEntity(t2, null);
t1 = t4.$index(t1, t3).userCompany.company;
taskStatus.get$isNew();
return new T.TaskStatusViewVM(state, taskStatus, t1, new T.TaskStatusViewVM_TaskStatusViewVM$fromStore_closure(store));
},
TaskStatusViewScreen: function TaskStatusViewScreen(t0, t1) {
this.isFilter = t0;
this.key = t1;
},
TaskStatusViewScreen_build_closure0: function TaskStatusViewScreen_build_closure0() {
},
TaskStatusViewScreen_build_closure: function TaskStatusViewScreen_build_closure(t0) {
this.$this = t0;
},
TaskStatusViewVM: function TaskStatusViewVM(t0, t1, t2, t3) {
var _ = this;
_.state = t0;
_.taskStatus = t1;
_.company = t2;
_.onBackPressed = t3;
},
TaskStatusViewVM_TaskStatusViewVM$fromStore_closure: function TaskStatusViewVM_TaskStatusViewVM$fromStore_closure(t0) {
this.store = t0;
},
VendorEditContactsVM_VendorEditContactsVM$fromStore: function(store) {
var state = store.get$_store$_state(),
t1 = state.uiState,
t2 = t1.vendorUIState,
vendor = t2.editing,
t3 = state.userCompanyStates;
t1 = t1.selectedCompanyIndex;
return new T.VendorEditContactsVM(J.$index$asx(t3._list, t1).userCompany.company, vendor, t2.editingContact, new T.VendorEditContactsVM_VendorEditContactsVM$fromStore_closure(store), new T.VendorEditContactsVM_VendorEditContactsVM$fromStore_closure0(store), new T.VendorEditContactsVM_VendorEditContactsVM$fromStore_closure1(store), new T.VendorEditContactsVM_VendorEditContactsVM$fromStore_closure2(store));
},
VendorEditContactsScreen: function VendorEditContactsScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
VendorEditContactsScreen_build_closure0: function VendorEditContactsScreen_build_closure0() {
},
VendorEditContactsScreen_build_closure: function VendorEditContactsScreen_build_closure(t0) {
this.$this = t0;
},
VendorEditContactsVM: function VendorEditContactsVM(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.company = t0;
_.vendor = t1;
_.contact = t2;
_.onAddContactPressed = t3;
_.onRemoveContactPressed = t4;
_.onDoneContactPressed = t5;
_.onChangedContact = t6;
},
VendorEditContactsVM_VendorEditContactsVM$fromStore_closure: function VendorEditContactsVM_VendorEditContactsVM$fromStore_closure(t0) {
this.store = t0;
},
VendorEditContactsVM_VendorEditContactsVM$fromStore_closure0: function VendorEditContactsVM_VendorEditContactsVM$fromStore_closure0(t0) {
this.store = t0;
},
VendorEditContactsVM_VendorEditContactsVM$fromStore_closure1: function VendorEditContactsVM_VendorEditContactsVM$fromStore_closure1(t0) {
this.store = t0;
},
VendorEditContactsVM_VendorEditContactsVM$fromStore_closure2: function VendorEditContactsVM_VendorEditContactsVM$fromStore_closure2(t0) {
this.store = t0;
},
WebhookScreen: function WebhookScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
WebhookScreen_build_closure9: function WebhookScreen_build_closure9(t0) {
this.store = t0;
},
WebhookScreen_build_closure7: function WebhookScreen_build_closure7(t0) {
this.store = t0;
},
WebhookScreen_build_closure8: function WebhookScreen_build_closure8(t0) {
this.store = t0;
},
WebhookScreen_build_closure4: function WebhookScreen_build_closure4(t0) {
this.store = t0;
},
WebhookScreen_build_closure5: function WebhookScreen_build_closure5(t0) {
this.store = t0;
},
WebhookScreen_build_closure: function WebhookScreen_build_closure(t0) {
this.store = t0;
},
WebhookScreen_build_closure0: function WebhookScreen_build_closure0(t0) {
this.store = t0;
},
WebhookScreen_build_closure1: function WebhookScreen_build_closure1(t0) {
this.store = t0;
},
WebhookScreen_build_closure2: function WebhookScreen_build_closure2(t0) {
this.store = t0;
},
WebhookScreen_build_closure3: function WebhookScreen_build_closure3(t0) {
this.store = t0;
},
WebhookScreen_build_closure6: function WebhookScreen_build_closure6(t0) {
this.context = t0;
},
WebhookScreenVM_fromStore: function(store) {
var t4, t5, t6, t7, t8,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t4.$index(t1, t3).webhookState.toString;
t5 = $.$get$memoizedFilteredWebhookList();
t6 = state.getUISelection$1(C.EntityType_webhook);
t7 = t4.$index(t1, t3).webhookState.map;
t8 = t4.$index(t1, t3).webhookState.list;
t2 = t2.webhookUIState.listUIState;
t8 = t5.call$4(t6, t7, t8, t2);
t4.$index(t1, t3).toString;
t2.toString;
return new T.WebhookScreenVM(t8);
},
WebhookScreenBuilder: function WebhookScreenBuilder(t0) {
this.key = t0;
},
WebhookScreenBuilder_build_closure: function WebhookScreenBuilder_build_closure() {
},
WebhookScreenVM: function WebhookScreenVM(t0) {
this.webhookList = t0;
},
Repository: function Repository() {
},
RepositoryItemNotFoundException: function RepositoryItemNotFoundException() {
},
PathProviderPlatform: function PathProviderPlatform() {
},
Platform: function Platform() {
},
PointPainter_draw: function(canvas, fill, paint, point, radius, stroke, strokeWidthPx) {
var t1, t2;
if (fill != null) {
paint.set$color(0, P.Color$fromARGB(fill.a, fill.r, fill.g, fill.b));
paint.set$style(0, C.PaintingStyle_0);
t1 = point.x;
t1.toString;
t2 = point.y;
t2.toString;
canvas.drawCircle$3(0, new P.Offset(t1, t2), radius, paint);
}
if (stroke != null && strokeWidthPx != null && strokeWidthPx > 0) {
paint.set$color(0, P.Color$fromARGB(stroke.a, stroke.r, stroke.g, stroke.b));
paint.set$strokeWidth(strokeWidthPx);
paint.set$strokeJoin(C.StrokeJoin_2);
paint.set$style(0, C.PaintingStyle_1);
t1 = point.x;
t1.toString;
t2 = point.y;
t2.toString;
canvas.drawCircle$3(0, new P.Offset(t1, t2), radius, paint);
}
},
Gradient_lerp: function(a, b, t) {
return null;
},
MatrixUtils_getAsTranslation: function(transform) {
var values = transform._m4storage;
if (values[0] === 1 && values[1] === 0 && values[2] === 0 && values[3] === 0 && values[4] === 0 && values[5] === 1 && values[6] === 0 && values[7] === 0 && values[8] === 0 && values[9] === 0 && values[10] === 1 && values[11] === 0 && values[14] === 0 && values[15] === 1)
return new P.Offset(values[12], values[13]);
return null;
},
MatrixUtils_matrixEquals: function(a, b) {
var t1, t2, t3;
if (a == b)
return true;
if (a == null) {
b.toString;
return T.MatrixUtils_isIdentity(b);
}
if (b == null)
return T.MatrixUtils_isIdentity(a);
t1 = a._m4storage;
t2 = t1[0];
t3 = b._m4storage;
return t2 === t3[0] && t1[1] === t3[1] && t1[2] === t3[2] && t1[3] === t3[3] && t1[4] === t3[4] && t1[5] === t3[5] && t1[6] === t3[6] && t1[7] === t3[7] && t1[8] === t3[8] && t1[9] === t3[9] && t1[10] === t3[10] && t1[11] === t3[11] && t1[12] === t3[12] && t1[13] === t3[13] && t1[14] === t3[14] && t1[15] === t3[15];
},
MatrixUtils_isIdentity: function(a) {
var t1 = a._m4storage;
return t1[0] === 1 && t1[1] === 0 && t1[2] === 0 && t1[3] === 0 && t1[4] === 0 && t1[5] === 1 && t1[6] === 0 && t1[7] === 0 && t1[8] === 0 && t1[9] === 0 && t1[10] === 1 && t1[11] === 0 && t1[12] === 0 && t1[13] === 0 && t1[14] === 0 && t1[15] === 1;
},
MatrixUtils_transformPoint: function(transform, point) {
var storage = transform._m4storage,
x = point._dx,
y = point._dy,
rx = storage[0] * x + storage[4] * y + storage[12],
ry = storage[1] * x + storage[5] * y + storage[13],
rw = storage[3] * x + storage[7] * y + storage[15];
if (rw === 1)
return new P.Offset(rx, ry);
else
return new P.Offset(rx / rw, ry / rw);
},
MatrixUtils__minMax: function() {
var t1 = $.MatrixUtils____minMax;
if (t1 === $) {
t1 = new Float64Array(4);
$.MatrixUtils____minMax = t1;
}
return t1;
},
MatrixUtils__accumulate: function(m, x, y, first, isAffine) {
var t1,
w = isAffine ? 1 : 1 / (m[3] * x + m[7] * y + m[15]),
tx = (m[0] * x + m[4] * y + m[12]) * w,
ty = (m[1] * x + m[5] * y + m[13]) * w;
if (first) {
t1 = T.MatrixUtils__minMax();
J.$indexSet$ax(T.MatrixUtils__minMax(), 2, tx);
J.$indexSet$ax(t1, 0, tx);
t1 = T.MatrixUtils__minMax();
J.$indexSet$ax(T.MatrixUtils__minMax(), 3, ty);
J.$indexSet$ax(t1, 1, ty);
} else {
if (tx < J.$index$asx(T.MatrixUtils__minMax(), 0))
J.$indexSet$ax(T.MatrixUtils__minMax(), 0, tx);
if (ty < J.$index$asx(T.MatrixUtils__minMax(), 1))
J.$indexSet$ax(T.MatrixUtils__minMax(), 1, ty);
if (tx > J.$index$asx(T.MatrixUtils__minMax(), 2))
J.$indexSet$ax(T.MatrixUtils__minMax(), 2, tx);
if (ty > J.$index$asx(T.MatrixUtils__minMax(), 3))
J.$indexSet$ax(T.MatrixUtils__minMax(), 3, ty);
}
},
MatrixUtils_transformRect: function(transform, rect) {
var isAffine, wx, hx, rx, wy, hy, ry, left, right, $top, bottom, hw, rw, ulx, uly, urx, t3, ury, t4, llx, lly, lrx, lry,
storage = transform._m4storage,
x = rect.left,
y = rect.top,
t1 = rect.right,
w = t1 - x,
t2 = rect.bottom,
h = t2 - y;
if (!isFinite(w) || !isFinite(h)) {
isAffine = storage[3] === 0 && storage[7] === 0 && storage[15] === 1;
T.MatrixUtils__accumulate(storage, x, y, true, isAffine);
T.MatrixUtils__accumulate(storage, t1, y, false, isAffine);
T.MatrixUtils__accumulate(storage, x, t2, false, isAffine);
T.MatrixUtils__accumulate(storage, t1, t2, false, isAffine);
return new P.Rect(J.$index$asx(T.MatrixUtils__minMax(), 0), J.$index$asx(T.MatrixUtils__minMax(), 1), J.$index$asx(T.MatrixUtils__minMax(), 2), J.$index$asx(T.MatrixUtils__minMax(), 3));
}
t1 = storage[0];
wx = t1 * w;
t2 = storage[4];
hx = t2 * h;
rx = t1 * x + t2 * y + storage[12];
t2 = storage[1];
wy = t2 * w;
t1 = storage[5];
hy = t1 * h;
ry = t2 * x + t1 * y + storage[13];
t1 = storage[3];
if (t1 === 0 && storage[7] === 0 && storage[15] === 1) {
left = rx + wx;
if (wx < 0)
right = rx;
else {
right = left;
left = rx;
}
if (hx < 0)
left += hx;
else
right += hx;
$top = ry + wy;
if (wy < 0)
bottom = ry;
else {
bottom = $top;
$top = ry;
}
if (hy < 0)
$top += hy;
else
bottom += hy;
return new P.Rect(left, $top, right, bottom);
} else {
t2 = storage[7];
hw = t2 * h;
rw = t1 * x + t2 * y + storage[15];
ulx = rx / rw;
uly = ry / rw;
t2 = rx + wx;
t1 = rw + t1 * w;
urx = t2 / t1;
t3 = ry + wy;
ury = t3 / t1;
t4 = rw + hw;
llx = (rx + hx) / t4;
lly = (ry + hy) / t4;
t1 += hw;
lrx = (t2 + hx) / t1;
lry = (t3 + hy) / t1;
return new P.Rect(T.MatrixUtils__min4(ulx, urx, llx, lrx), T.MatrixUtils__min4(uly, ury, lly, lry), T.MatrixUtils__max4(ulx, urx, llx, lrx), T.MatrixUtils__max4(uly, ury, lly, lry));
}
},
MatrixUtils__min4: function(a, b, c, d) {
var e = a < b ? a : b,
f = c < d ? c : d;
return e < f ? e : f;
},
MatrixUtils__max4: function(a, b, c, d) {
var e = a > b ? a : b,
f = c > d ? c : d;
return e > f ? e : f;
},
MatrixUtils_inverseTransformRect: function(transform, rect) {
var transform0;
if (T.MatrixUtils_isIdentity(transform))
return rect;
transform0 = new E.Matrix4(new Float64Array(16));
transform0.setFrom$1(transform);
transform0.copyInverse$1(transform0);
return T.MatrixUtils_transformRect(transform0, rect);
},
MatrixUtils_forceToPoint: function(offset) {
var t2,
t1 = new E.Matrix4(new Float64Array(16));
t1.setIdentity$0();
t2 = new E.Vector4(new Float64Array(4));
t2.setValues$4(0, 0, 0, offset._dx);
t1.setRow$2(0, t2);
t2 = new E.Vector4(new Float64Array(4));
t2.setValues$4(0, 0, 0, offset._dy);
t1.setRow$2(1, t2);
return t1;
},
launch: function(urlString, forceSafariVC, forceWebView) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.bool),
$async$returnValue, t1, result, url, isWebURL;
var $async$launch = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
url = P.Uri_parse(J.trimLeft$0$s(urlString), 0, null);
isWebURL = url.get$scheme() === "http" || url.get$scheme() === "https";
if ((forceSafariVC === true || false) && !isWebURL)
throw H.wrapException(F.PlatformException$("NOT_A_WEB_SCHEME", null, "To use webview or safariVC, you need to passin a web URL. This " + urlString + " is not a web URL.", null));
t1 = $.$get$UrlLauncherPlatform__instance();
$async$goto = 3;
return P._asyncAwait(t1.launch$8$enableDomStorage$enableJavaScript$headers$universalLinksOnly$useSafariVC$useWebView$webOnlyWindowName(urlString, false, false, C.Map_empty6, false, forceSafariVC == null ? isWebURL : forceSafariVC, false, null), $async$launch);
case 3:
// returning from await.
result = $async$result;
$async$returnValue = result;
// goto return
$async$goto = 1;
break;
case 1:
// return
return P._asyncReturn($async$returnValue, $async$completer);
}
});
return P._asyncStartSync($async$launch, $async$completer);
},
canLaunch: function(urlString) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.bool),
$async$returnValue;
var $async$canLaunch = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
$async$goto = 3;
return P._asyncAwait($.$get$UrlLauncherPlatform__instance().canLaunch$1(urlString), $async$canLaunch);
case 3:
// returning from await.
$async$returnValue = $async$result;
// goto return
$async$goto = 1;
break;
case 1:
// return
return P._asyncReturn($async$returnValue, $async$completer);
}
});
return P._asyncStartSync($async$canLaunch, $async$completer);
},
UuidUtil_mathRNG: function(seed) {
var rand, t1, i,
b = new Uint8Array(16);
if (seed === -1)
rand = $.$get$UuidUtil__random();
else if (seed == null)
rand = C.C__JSRandom;
else {
t1 = new P._Random();
t1._Random$1(seed);
rand = t1;
}
for (i = 0; i < 16; ++i)
b[i] = rand.nextInt$1(256);
return b;
}
},
Q = {
OutputStream$: function(size) {
var t1 = size == null ? 32768 : size;
return new Q.OutputStream(new Uint8Array(t1));
},
OutputStreamBase: function OutputStreamBase() {
},
OutputStream: function OutputStream(t0) {
this._output_stream$_length = 0;
this._output_stream$_buffer = t0;
},
BoardViewController: function BoardViewController() {
this.__BoardViewController_state = $;
},
CopyOnWriteList: function CopyOnWriteList(t0, t1, t2) {
var _ = this;
_._copyBeforeWrite = true;
_._growable = t0;
_._copy_on_write_list$_list = t1;
_.$ti = t2;
},
Int64Serializer: function Int64Serializer(t0) {
this.types = t0;
},
DayTimeStepper: function DayTimeStepper(t0, t1) {
this._day_time_stepper$_allowedTickIncrements = t0;
this.dateTimeFactory = t1;
this._stepsIterable = null;
},
TextDirection0: function TextDirection0(t0) {
this._text_element0$_name = t0;
},
MaxWidthStrategy: function MaxWidthStrategy() {
},
TextElement: function TextElement(t0, t1, t2) {
var _ = this;
_.text = t0;
_.textScaleFactor = t1;
_._painterReady = false;
_._text_element$_textStyle = null;
_._text_element$_textDirection = t2;
_._maxWidthStrategy = _._text_element$_maxWidth = null;
_.__TextElement__measurement = _.__TextElement__textPainter = $;
_._text_element$_opacity = null;
},
MemoryDirectory: function MemoryDirectory(t0, t1) {
this.fileSystem = t0;
this.path = t1;
},
MemoryDirectory_createSync_closure: function MemoryDirectory_createSync_closure(t0) {
this.recursive = t0;
},
MemoryDirectory_createTempSync_closure: function MemoryDirectory_createTempSync_closure(t0) {
this.dirname = t0;
},
MemoryDirectory_createTempSync_closure0: function MemoryDirectory_createTempSync_closure0(t0) {
this.dirname = t0;
},
MemoryDirectory_createTempSync_name: function MemoryDirectory_createTempSync_name(t0, t1) {
this._box_0 = t0;
this.basename = t1;
},
_MemoryDirectory_MemoryFileSystemEntity_DirectoryAddOnsMixin: function _MemoryDirectory_MemoryFileSystemEntity_DirectoryAddOnsMixin() {
},
MaterialBannerThemeData: function MaterialBannerThemeData(t0, t1, t2, t3) {
var _ = this;
_.backgroundColor = t0;
_.contentTextStyle = t1;
_.padding = t2;
_.leadingPadding = t3;
},
_MaterialBannerThemeData_Object_Diagnosticable: function _MaterialBannerThemeData_Object_Diagnosticable() {
},
CalendarDatePicker: function CalendarDatePicker(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.initialDate = t0;
_.firstDate = t1;
_.lastDate = t2;
_.currentDate = t3;
_.onDateChanged = t4;
_.initialCalendarMode = t5;
_.selectableDayPredicate = t6;
_.key = t7;
},
_CalendarDatePickerState: function _CalendarDatePickerState(t0, t1, t2) {
var _ = this;
_._announcedInitialDate = false;
_.___CalendarDatePickerState__selectedDate = _.___CalendarDatePickerState__currentDisplayedMonthDate = _.___CalendarDatePickerState__mode = $;
_._monthPickerKey = t0;
_._yearPickerKey = t1;
_.___CalendarDatePickerState__textDirection = _.___CalendarDatePickerState__localizations = $;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
},
_CalendarDatePickerState__handleModeChanged_closure: function _CalendarDatePickerState__handleModeChanged_closure(t0, t1) {
this.$this = t0;
this.mode = t1;
},
_CalendarDatePickerState__handleMonthChanged_closure: function _CalendarDatePickerState__handleMonthChanged_closure(t0, t1) {
this.$this = t0;
this.date = t1;
},
_CalendarDatePickerState__handleYearChanged_closure: function _CalendarDatePickerState__handleYearChanged_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_CalendarDatePickerState__handleDayChanged_closure: function _CalendarDatePickerState__handleDayChanged_closure(t0, t1) {
this.$this = t0;
this.value = t1;
},
_CalendarDatePickerState_build_closure: function _CalendarDatePickerState_build_closure(t0) {
this.$this = t0;
},
_DatePickerModeToggleButton: function _DatePickerModeToggleButton(t0, t1, t2, t3) {
var _ = this;
_.mode = t0;
_.title = t1;
_.onTitlePressed = t2;
_.key = t3;
},
_DatePickerModeToggleButtonState: function _DatePickerModeToggleButtonState(t0, t1) {
var _ = this;
_.___DatePickerModeToggleButtonState__controller = $;
_.SingleTickerProviderStateMixin__ticker = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_MonthPicker: function _MonthPicker(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.initialMonth = t0;
_.currentDate = t1;
_.firstDate = t2;
_.lastDate = t3;
_.selectedDate = t4;
_.onChanged = t5;
_.onDisplayedMonthChanged = t6;
_.selectableDayPredicate = t7;
_.key = t8;
},
_MonthPickerState: function _MonthPickerState(t0, t1) {
var _ = this;
_._pageViewKey = t0;
_.___MonthPickerState__textDirection = _.___MonthPickerState__localizations = _.___MonthPickerState__pageController = _.___MonthPickerState__previousMonthDate = _.___MonthPickerState__nextMonthDate = _.___MonthPickerState__currentMonth = $;
_._actionMap = _._shortcutMap = null;
_.___MonthPickerState__dayGridFocus = $;
_._widget = _._focusedDay = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_MonthPickerState_didUpdateWidget_closure: function _MonthPickerState_didUpdateWidget_closure(t0) {
this.$this = t0;
},
_MonthPickerState__handleMonthPageChanged_closure: function _MonthPickerState__handleMonthPageChanged_closure(t0, t1) {
this.$this = t0;
this.monthPage = t1;
},
_MonthPickerState__handleGridFocusChange_closure: function _MonthPickerState__handleGridFocusChange_closure(t0, t1) {
this.$this = t0;
this.focused = t1;
},
_MonthPickerState__handleDirectionFocus_closure: function _MonthPickerState__handleDirectionFocus_closure(t0, t1) {
this.$this = t0;
this.intent = t1;
},
_FocusedDate: function _FocusedDate(t0, t1, t2) {
this.date = t0;
this.child = t1;
this.key = t2;
},
_DayPicker: function _DayPicker(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.selectedDate = t0;
_.currentDate = t1;
_.onChanged = t2;
_.firstDate = t3;
_.lastDate = t4;
_.displayedMonth = t5;
_.selectableDayPredicate = t6;
_.key = t7;
},
_DayPickerState: function _DayPickerState(t0) {
var _ = this;
_.___DayPickerState__dayFocusNodes = $;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_DayPickerState_build_closure: function _DayPickerState_build_closure(t0, t1) {
this.$this = t0;
this.dayToBuild = t1;
},
_DayPickerGridDelegate: function _DayPickerGridDelegate() {
},
YearPicker: function YearPicker(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.currentDate = t0;
_.firstDate = t1;
_.lastDate = t2;
_.initialDate = t3;
_.selectedDate = t4;
_.onChanged = t5;
_.key = t6;
},
_YearPickerState: function _YearPickerState(t0) {
var _ = this;
_.___YearPickerState__scrollController = $;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_YearPickerState__buildYearItem_closure: function _YearPickerState__buildYearItem_closure(t0, t1) {
this.$this = t0;
this.year = t1;
},
_YearPickerGridDelegate: function _YearPickerGridDelegate() {
},
__DatePickerModeToggleButtonState_State_SingleTickerProviderStateMixin: function __DatePickerModeToggleButtonState_State_SingleTickerProviderStateMixin() {
},
DateUtils_isSameDay: function(dateA, dateB) {
var _null = null,
t1 = dateA == null,
t2 = t1 ? _null : H.Primitives_getYear(dateA),
t3 = dateB == null;
if (t2 == (t3 ? _null : H.Primitives_getYear(dateB))) {
t2 = t1 ? _null : H.Primitives_getMonth(dateA);
if (t2 == (t3 ? _null : H.Primitives_getMonth(dateB))) {
t1 = t1 ? _null : H.Primitives_getDay(dateA);
t1 = t1 == (t3 ? _null : H.Primitives_getDay(dateB));
} else
t1 = false;
} else
t1 = false;
return t1;
},
DateUtils_isSameMonth: function(dateA, dateB) {
var _null = null,
t1 = dateA == null,
t2 = t1 ? _null : H.Primitives_getYear(dateA),
t3 = dateB == null;
if (t2 == (t3 ? _null : H.Primitives_getYear(dateB))) {
t1 = t1 ? _null : H.Primitives_getMonth(dateA);
t1 = t1 == (t3 ? _null : H.Primitives_getMonth(dateB));
} else
t1 = false;
return t1;
},
DateUtils_monthDelta: function(startDate, endDate) {
endDate.toString;
return (H.Primitives_getYear(endDate) - H.Primitives_getYear(startDate)) * 12 + H.Primitives_getMonth(endDate) - H.Primitives_getMonth(startDate);
},
DateUtils_getDaysInMonth: function(year, month) {
if (month === 2)
return C.JSInt_methods.$mod(year, 4) === 0 && C.JSInt_methods.$mod(year, 100) !== 0 || C.JSInt_methods.$mod(year, 400) === 0 ? 29 : 28;
return C.List_WB4[month - 1];
},
DatePickerEntryMode: function DatePickerEntryMode(t0, t1) {
this.index = t0;
this._date$_name = t1;
},
DatePickerMode: function DatePickerMode(t0) {
this._date$_name = t0;
},
ListTileTheme$: function(child, contentPadding, dense, enableFeedback, horizontalTitleGap, iconColor, key, minLeadingWidth, minVerticalPadding, selectedColor, selectedTileColor, shape, style, textColor, tileColor) {
return new Q.ListTileTheme(false, shape, style, selectedColor, iconColor, textColor, contentPadding, tileColor, selectedTileColor, horizontalTitleGap, minVerticalPadding, minLeadingWidth, enableFeedback, child, key);
},
ListTileTheme_merge: function(child, selectedColor) {
var _null = null;
return new T.Builder(new Q.ListTileTheme_merge_closure(_null, _null, _null, _null, selectedColor, _null, _null, _null, _null, _null, _null, _null, _null, _null, child), _null);
},
ListTileTheme_of: function(context) {
var result = context.dependOnInheritedWidgetOfExactType$1$0(type$.ListTileTheme);
return result == null ? C.ListTileTheme_Drw : result;
},
ListTile$: function(autofocus, contentPadding, dense, enabled, isThreeLine, key, leading, onLongPress, onTap, selected, selectedTileColor, shape, subtitle, tileColor, title, trailing) {
return new Q.ListTile(leading, title, subtitle, trailing, isThreeLine, dense, shape, contentPadding, enabled, onTap, onLongPress, selected, false, tileColor, selectedTileColor, key);
},
_RenderListTile__layoutBox: function(box, constraints) {
var t1;
if (box == null)
return C.Size_0_0;
box.layout$2$parentUsesSize(0, constraints, true);
t1 = box._box$_size;
t1.toString;
return t1;
},
ListTileStyle: function ListTileStyle(t0) {
this._list_tile$_name = t0;
},
ListTileTheme: function ListTileTheme(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
var _ = this;
_.dense = t0;
_.shape = t1;
_.style = t2;
_.selectedColor = t3;
_.iconColor = t4;
_.textColor = t5;
_.contentPadding = t6;
_.tileColor = t7;
_.selectedTileColor = t8;
_.horizontalTitleGap = t9;
_.minVerticalPadding = t10;
_.minLeadingWidth = t11;
_.enableFeedback = t12;
_.child = t13;
_.key = t14;
},
ListTileTheme_merge_closure: function ListTileTheme_merge_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
var _ = this;
_.key = t0;
_.dense = t1;
_.shape = t2;
_.style = t3;
_.selectedColor = t4;
_.iconColor = t5;
_.textColor = t6;
_.contentPadding = t7;
_.tileColor = t8;
_.selectedTileColor = t9;
_.enableFeedback = t10;
_.horizontalTitleGap = t11;
_.minVerticalPadding = t12;
_.minLeadingWidth = t13;
_.child = t14;
},
ListTileControlAffinity: function ListTileControlAffinity(t0) {
this._list_tile$_name = t0;
},
ListTile: function ListTile(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
var _ = this;
_.leading = t0;
_.title = t1;
_.subtitle = t2;
_.trailing = t3;
_.isThreeLine = t4;
_.dense = t5;
_.shape = t6;
_.contentPadding = t7;
_.enabled = t8;
_.onTap = t9;
_.onLongPress = t10;
_.selected = t11;
_.autofocus = t12;
_.tileColor = t13;
_.selectedTileColor = t14;
_.key = t15;
},
_ListTileSlot: function _ListTileSlot(t0) {
this._list_tile$_name = t0;
},
_ListTile: function _ListTile(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
var _ = this;
_.leading = t0;
_.title = t1;
_.subtitle = t2;
_.trailing = t3;
_.isThreeLine = t4;
_.isDense = t5;
_.visualDensity = t6;
_.textDirection = t7;
_.titleBaselineType = t8;
_.subtitleBaselineType = t9;
_.horizontalTitleGap = t10;
_.minVerticalPadding = t11;
_.minLeadingWidth = t12;
_.key = t13;
},
_ListTileElement: function _ListTileElement(t0, t1, t2, t3, t4) {
var _ = this;
_.slotToChild = t0;
_._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null;
_._cachedHash = t1;
_._slot = null;
_.__Element__depth = $;
_._widget = t2;
_._owner = null;
_._lifecycleState = t3;
_._debugForgottenChildrenWithGlobalKey = t4;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
},
_RenderListTile: function _RenderListTile(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.children = t0;
_._trailing = _._subtitle = _._title = _._list_tile$_leading = null;
_._isDense = t1;
_._visualDensity = t2;
_._isThreeLine = t3;
_._list_tile$_textDirection = t4;
_._titleBaselineType = t5;
_._subtitleBaselineType = t6;
_._horizontalTitleGap = t7;
_._minVerticalPadding = t8;
_._minLeadingWidth = t9;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
_RenderListTile_debugDescribeChildren_add: function _RenderListTile_debugDescribeChildren_add(t0) {
this.value = t0;
},
_RenderListTile_paint_doPaint: function _RenderListTile_paint_doPaint(t0, t1) {
this.context = t0;
this.offset = t1;
},
_RenderListTile_hitTestChildren_closure: function _RenderListTile_hitTestChildren_closure(t0, t1, t2) {
this.position = t0;
this.parentData = t1;
this.child = t2;
},
SliderThemeData: function SliderThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26) {
var _ = this;
_.trackHeight = t0;
_.activeTrackColor = t1;
_.inactiveTrackColor = t2;
_.disabledActiveTrackColor = t3;
_.disabledInactiveTrackColor = t4;
_.activeTickMarkColor = t5;
_.inactiveTickMarkColor = t6;
_.disabledActiveTickMarkColor = t7;
_.disabledInactiveTickMarkColor = t8;
_.thumbColor = t9;
_.overlappingShapeStrokeColor = t10;
_.disabledThumbColor = t11;
_.overlayColor = t12;
_.valueIndicatorColor = t13;
_.overlayShape = t14;
_.tickMarkShape = t15;
_.thumbShape = t16;
_.trackShape = t17;
_.valueIndicatorShape = t18;
_.rangeTickMarkShape = t19;
_.rangeThumbShape = t20;
_.rangeTrackShape = t21;
_.rangeValueIndicatorShape = t22;
_.showValueIndicator = t23;
_.valueIndicatorTextStyle = t24;
_.minThumbSeparation = t25;
_.thumbSelector = t26;
},
_SliderThemeData_Object_Diagnosticable: function _SliderThemeData_Object_Diagnosticable() {
},
TextSpan$: function(children, recognizer, style, text) {
var t1 = recognizer == null ? C.C__DeferringMouseCursor : C.SystemMouseCursor_click;
return new Q.TextSpan(text, children, recognizer, t1, style);
},
TextSpan: function TextSpan(t0, t1, t2, t3, t4) {
var _ = this;
_.text = t0;
_.children = t1;
_.recognizer = t2;
_.mouseCursor = t3;
_.style = t4;
},
TextSpan_debugDescribeChildren_closure: function TextSpan_debugDescribeChildren_closure() {
},
TextOverflow: function TextOverflow(t0) {
this._paragraph$_name = t0;
},
TextParentData: function TextParentData(t0, t1, t2) {
var _ = this;
_.scale = null;
_.ContainerParentDataMixin_previousSibling = t0;
_.ContainerParentDataMixin_nextSibling = t1;
_.offset = t2;
},
RenderParagraph: function RenderParagraph(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._paragraph$_textPainter = t0;
_.__RenderParagraph__placeholderSpans = $;
_._softWrap = t1;
_._paragraph$_overflow = t2;
_._needsClipping = false;
_._paragraph$_cachedChildNodes = _._semanticsInfo = _._paragraph$_placeholderDimensions = _._overflowShader = null;
_.ContainerRenderObjectMixin__childCount = t3;
_.ContainerRenderObjectMixin__firstChild = t4;
_.ContainerRenderObjectMixin__lastChild = t5;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
RenderParagraph__extractPlaceholderSpans_closure: function RenderParagraph__extractPlaceholderSpans_closure(t0) {
this.$this = t0;
},
RenderParagraph_hitTestChildren__hitText_set: function RenderParagraph_hitTestChildren__hitText_set(t0) {
this._box_0 = t0;
},
RenderParagraph_hitTestChildren__hitText_get: function RenderParagraph_hitTestChildren__hitText_get(t0) {
this._box_0 = t0;
},
RenderParagraph_hitTestChildren_closure: function RenderParagraph_hitTestChildren_closure(t0, t1, t2) {
this._box_0 = t0;
this.position = t1;
this.textParentData = t2;
},
RenderParagraph_paint_closure: function RenderParagraph_paint_closure(t0) {
this._box_0 = t0;
},
RenderParagraph_describeSemanticsConfiguration_closure: function RenderParagraph_describeSemanticsConfiguration_closure() {
},
_RenderParagraph_RenderBox_ContainerRenderObjectMixin: function _RenderParagraph_RenderBox_ContainerRenderObjectMixin() {
},
_RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() {
},
_RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_RelayoutWhenSystemFontsChangeMixin: function _RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_RelayoutWhenSystemFontsChangeMixin() {
},
RenderAbstractViewport_of: function(object) {
var t1, t2;
for (t1 = type$.nullable_RenderObject, t2 = type$.RenderAbstractViewport; object != null;) {
if (t2._is(object))
return object;
object = t1._as(object.get$parent(object));
}
return null;
},
RenderViewportBase_showInViewport: function(curve, descendant, duration, offset, rect, viewport) {
var leadingEdgeOffset, trailingEdgeOffset, t1, t2, t3, targetOffset, transform;
if (descendant == null)
return rect;
leadingEdgeOffset = viewport.getOffsetToReveal$3$rect(descendant, 0, rect);
trailingEdgeOffset = viewport.getOffsetToReveal$3$rect(descendant, 1, rect);
t1 = offset._pixels;
t1.toString;
t2 = leadingEdgeOffset.offset;
t3 = trailingEdgeOffset.offset;
if (t2 < t3)
targetOffset = Math.abs(t1 - t2) < Math.abs(t1 - t3) ? leadingEdgeOffset : trailingEdgeOffset;
else if (t1 > t2)
targetOffset = leadingEdgeOffset;
else {
if (!(t1 < t3)) {
t1 = viewport._node$_parent;
t1.toString;
transform = descendant.getTransformTo$1(0, type$.RenderObject._as(t1));
return T.MatrixUtils_transformRect(transform, rect == null ? descendant.get$paintBounds() : rect);
}
targetOffset = trailingEdgeOffset;
}
offset.moveTo$3$curve$duration(0, targetOffset.offset, curve, duration);
return targetOffset.rect;
},
CacheExtentStyle: function CacheExtentStyle(t0) {
this._viewport$_name = t0;
},
RevealedOffset: function RevealedOffset(t0, t1) {
this.offset = t0;
this.rect = t1;
},
RenderViewportBase: function RenderViewportBase() {
},
RenderViewportBase_visitChildrenForSemantics_closure: function RenderViewportBase_visitChildrenForSemantics_closure() {
},
RenderViewportBase_hitTestChildren_closure: function RenderViewportBase_hitTestChildren_closure(t0, t1, t2, t3) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.child = t2;
_.sliverResult = t3;
},
RenderViewport: function RenderViewport(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_._anchor = t0;
_._viewport$_center = null;
_.__RenderViewport__maxScrollExtent = _.__RenderViewport__minScrollExtent = $;
_._viewport$_hasVisualOverflow = false;
_._viewport$_axisDirection = t1;
_._crossAxisDirection = t2;
_._viewport$_offset = t3;
_._cacheExtent = t4;
_._calculatedCacheExtent = null;
_._cacheExtentStyle = t5;
_._viewport$_clipBehavior = t6;
_._viewport$_clipRectLayer = null;
_.ContainerRenderObjectMixin__childCount = t7;
_.ContainerRenderObjectMixin__firstChild = t8;
_.ContainerRenderObjectMixin__lastChild = t9;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
RenderShrinkWrappingViewport: function RenderShrinkWrappingViewport(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.__RenderShrinkWrappingViewport__shrinkWrapExtent = _.__RenderShrinkWrappingViewport__maxScrollExtent = $;
_._viewport$_hasVisualOverflow = false;
_._viewport$_axisDirection = t0;
_._crossAxisDirection = t1;
_._viewport$_offset = t2;
_._cacheExtent = t3;
_._calculatedCacheExtent = null;
_._cacheExtentStyle = t4;
_._viewport$_clipBehavior = t5;
_._viewport$_clipRectLayer = null;
_.ContainerRenderObjectMixin__childCount = t6;
_.ContainerRenderObjectMixin__firstChild = t7;
_.ContainerRenderObjectMixin__lastChild = t8;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
_RenderViewportBase_RenderBox_ContainerRenderObjectMixin: function _RenderViewportBase_RenderBox_ContainerRenderObjectMixin() {
},
AssetBundle__utf8decode: function(data) {
return C.C_Utf8Codec.decode$1(0, J.asUint8List$0$x(J.get$buffer$x(data)));
},
AssetBundle: function AssetBundle() {
},
CachingAssetBundle: function CachingAssetBundle() {
},
CachingAssetBundle_loadStructuredData_closure: function CachingAssetBundle_loadStructuredData_closure(t0, t1, t2, t3) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.key = t2;
_.T = t3;
},
PlatformAssetBundle: function PlatformAssetBundle(t0, t1) {
this._stringCache = t0;
this._structuredDataCache = t1;
},
BinaryMessenger: function BinaryMessenger() {
},
RawKeyEventDataFuchsia: function RawKeyEventDataFuchsia() {
},
PreferredSize: function PreferredSize(t0, t1, t2) {
this.child = t0;
this.preferredSize = t1;
this.key = t2;
},
SafeArea$: function(bottom, child, minimum, $top) {
return new Q.SafeArea($top, bottom, minimum, child, null);
},
SafeArea: function SafeArea(t0, t1, t2, t3, t4) {
var _ = this;
_.top = t0;
_.bottom = t1;
_.minimum = t2;
_.child = t3;
_.key = t4;
},
Viewport$: function(anchor, axisDirection, cacheExtent, cacheExtentStyle, center, clipBehavior, offset, slivers) {
return new Q.Viewport(axisDirection, anchor, offset, center, cacheExtent, cacheExtentStyle, clipBehavior, slivers, null);
},
Viewport_getDefaultCrossAxisDirection: function(context, axisDirection) {
var t1;
switch (axisDirection) {
case C.AxisDirection_0:
t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality);
t1.toString;
return G.textDirectionToAxisDirection(t1.textDirection);
case C.AxisDirection_1:
return C.AxisDirection_2;
case C.AxisDirection_2:
t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality);
t1.toString;
return G.textDirectionToAxisDirection(t1.textDirection);
case C.AxisDirection_3:
return C.AxisDirection_2;
default:
throw H.wrapException(H.ReachabilityError$(string$.x60null_c));
}
},
Viewport: function Viewport(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.axisDirection = t0;
_.anchor = t1;
_.offset = t2;
_.center = t3;
_.cacheExtent = t4;
_.cacheExtentStyle = t5;
_.clipBehavior = t6;
_.children = t7;
_.key = t8;
},
_ViewportElement: function _ViewportElement(t0, t1, t2, t3, t4) {
var _ = this;
_.__MultiChildRenderObjectElement__children = $;
_._forgottenChildren = t0;
_._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null;
_._cachedHash = t1;
_._slot = null;
_.__Element__depth = $;
_._widget = t2;
_._owner = null;
_._lifecycleState = t3;
_._debugForgottenChildrenWithGlobalKey = t4;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
},
ShrinkWrappingViewport: function ShrinkWrappingViewport(t0, t1, t2, t3, t4) {
var _ = this;
_.axisDirection = t0;
_.offset = t1;
_.clipBehavior = t2;
_.children = t3;
_.key = t4;
},
WebHelper: function WebHelper(t0, t1, t2, t3) {
var _ = this;
_._web_helper$_store = t0;
_.fileFetcher = t1;
_._memCache = t2;
_._web_helper$_queue = t3;
_.concurrentCalls = 0;
},
WebHelper__manageResponse_closure: function WebHelper__manageResponse_closure(t0, t1, t2) {
this._box_0 = t0;
this.$this = t1;
this.oldCacheObject = t2;
},
WebHelper__saveFileAndPostUpdates_closure: function WebHelper__saveFileAndPostUpdates_closure(t0, t1) {
this._box_0 = t0;
this.receivedBytesResultController = t1;
},
HttpExceptionWithStatus: function HttpExceptionWithStatus(t0, t1) {
this.message = t0;
this.uri = t1;
},
ToastFuture$create: function(duration, _entry, _onDismiss, _containerKey) {
var t1 = new Q.ToastFuture(_entry, _onDismiss, _containerKey);
t1.ToastFuture$create$4(duration, _entry, _onDismiss, _containerKey);
return t1;
},
ToastFuture: function ToastFuture(t0, t1, t2) {
var _ = this;
_._styled_toast_manage$_entry = t0;
_._styled_toast_manage$_onDismiss = t1;
_._containerKey = t2;
_._isShow = true;
_._styled_toast_manage$_timer = null;
},
ToastFuture$create_closure: function ToastFuture$create_closure(t0) {
this.$this = t0;
},
ToastManager: function ToastManager(t0) {
this.toastSet = t0;
},
ToastManager_dismissAll_closure: function ToastManager_dismissAll_closure(t0) {
this.showAnim = t0;
},
LoadConfig: function LoadConfig() {
},
CameraDevice: function CameraDevice(t0, t1) {
this.index = t0;
this._camera_device$_name = t1;
},
NumberFormatParseResult: function NumberFormatParseResult(t0, t1) {
var _ = this;
_.negativePrefix = t0;
_.positiveSuffix = _.negativeSuffix = _.positivePrefix = "";
_.multiplier = 1;
_.minimumExponentDigits = 0;
_.maximumIntegerDigits = 40;
_.minimumIntegerDigits = 1;
_.maximumFractionDigits = 3;
_.minimumFractionDigits = 0;
_.finalGroupingSize = _.groupingSize = 3;
_.useExponentialNotation = _.useSignForPositiveExponent = _.decimalSeparatorAlwaysShown = false;
_.decimalDigits = t1;
},
NumberFormatParser: function NumberFormatParser(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.symbols = t0;
_.pattern = t1;
_.isForCurrency = t2;
_.currencySymbol = t3;
_.currencyName = t4;
_.result = t5;
_.inQuote = _.groupingSizeSetExplicitly = false;
_.decimalPos = -1;
_.digitRightCount = _.zeroDigitCount = _.digitLeftCount = 0;
_.groupingCount = -1;
},
GroupEntity_GroupEntity: function(id, state) {
var t1, t2;
if (id == null) {
t1 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t1;
t1 = "" + t1;
} else
t1 = id;
t2 = G.SettingsEntity_SettingsEntity(null, null, null);
return Q._$GroupEntity$_(0, "", 0, "", D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_DocumentEntity), t1, false, false, "", t2, 0);
},
GroupEntity__initializeBuilder: function(builder) {
builder.get$documents().replace$1(0, D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_DocumentEntity));
return builder;
},
_$GroupEntity$_: function(archivedAt, assignedUserId, createdAt, createdUserId, documents, id, isChanged, isDeleted, $name, settings, updatedAt) {
var _s11_ = "GroupEntity";
if (settings == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "settings"));
if (documents == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "documents"));
return new Q._$GroupEntity($name, settings, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
},
GroupListResponse: function GroupListResponse() {
},
GroupItemResponse: function GroupItemResponse() {
},
GroupEntity: function GroupEntity() {
},
_$GroupListResponseSerializer: function _$GroupListResponseSerializer() {
},
_$GroupItemResponseSerializer: function _$GroupItemResponseSerializer() {
},
_$GroupEntitySerializer: function _$GroupEntitySerializer() {
},
_$GroupListResponse: function _$GroupListResponse(t0) {
this.data = t0;
this._group_model$__hashCode = null;
},
GroupListResponseBuilder: function GroupListResponseBuilder() {
this._group_model$_data = this._group_model$_$v = null;
},
_$GroupItemResponse: function _$GroupItemResponse(t0) {
this.data = t0;
this._group_model$__hashCode = null;
},
GroupItemResponseBuilder: function GroupItemResponseBuilder() {
this._group_model$_data = this._group_model$_$v = null;
},
_$GroupEntity: function _$GroupEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.name = t0;
_.settings = t1;
_.documents = t2;
_.isChanged = t3;
_.createdAt = t4;
_.updatedAt = t5;
_.archivedAt = t6;
_.isDeleted = t7;
_.createdUserId = t8;
_.assignedUserId = t9;
_.id = t10;
_._group_model$__hashCode = null;
},
GroupEntityBuilder: function GroupEntityBuilder() {
var _ = this;
_._group_model$_id = _._group_model$_assignedUserId = _._group_model$_createdUserId = _._group_model$_isDeleted = _._group_model$_archivedAt = _._group_model$_updatedAt = _._group_model$_createdAt = _._group_model$_isChanged = _._group_model$_documents = _._group_model$_settings = _._group_model$_name = _._group_model$_$v = null;
},
_GroupEntity_Object_BaseEntity: function _GroupEntity_Object_BaseEntity() {
},
_GroupEntity_Object_BaseEntity_SelectableEntity: function _GroupEntity_Object_BaseEntity_SelectableEntity() {
},
InvoiceEntity_InvoiceEntity: function(client, entityType, id, state, user) {
var company, t1, t2, t3, t4, exchangeRate, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, _null = null;
if (state == null)
company = _null;
else {
t1 = state.userCompanyStates;
t2 = state.uiState.selectedCompanyIndex;
company = J.$index$asx(t1._list, t2).userCompany.company;
}
t1 = client == null;
t2 = t1 ? _null : client.settings.currencyId;
if ((t2 == null ? "" : t2).length !== 0) {
t2 = state.staticState.currencyMap;
t3 = state.userCompanyStates;
t4 = state.uiState.selectedCompanyIndex;
t4 = J.$index$asx(t3._list, t4).userCompany.company.settings.currencyId;
t3 = t4 == null ? "1" : t4;
exchangeRate = R.getExchangeRate(t2, t3, client.settings.currencyId);
} else
exchangeRate = 1;
if (id == null) {
t2 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t2;
t2 = "" + t2;
} else
t2 = id;
t3 = entityType == null ? C.EntityType_invoice : entityType;
t4 = t1 ? _null : client.id;
if (t4 == null)
t4 = "";
t5 = Y.convertDateTimeToSqlDate(_null);
t6 = company == null;
t7 = t6 ? _null : company.numberOfInvoiceTaxRates;
if ((t7 == null ? 0 : t7) >= 1) {
t7 = t6 ? _null : company.settings;
t7 = t7 == null ? _null : t7.defaultTaxName1;
if (t7 == null)
t7 = "";
} else
t7 = "";
t8 = t6 ? _null : company.numberOfInvoiceTaxRates;
if ((t8 == null ? 0 : t8) >= 1) {
t8 = t6 ? _null : company.settings;
t8 = t8 == null ? _null : t8.defaultTaxRate1;
if (t8 == null)
t8 = 0;
} else
t8 = 0;
t9 = t6 ? _null : company.numberOfInvoiceTaxRates;
if ((t9 == null ? 0 : t9) >= 2) {
t9 = t6 ? _null : company.settings;
t9 = t9 == null ? _null : t9.defaultTaxName2;
if (t9 == null)
t9 = "";
} else
t9 = "";
t10 = t6 ? _null : company.numberOfInvoiceTaxRates;
if ((t10 == null ? 0 : t10) >= 2) {
t10 = t6 ? _null : company.settings;
t10 = t10 == null ? _null : t10.defaultTaxRate2;
if (t10 == null)
t10 = 0;
} else
t10 = 0;
t11 = t6 ? _null : company.numberOfInvoiceTaxRates;
if ((t11 == null ? 0 : t11) >= 3) {
t11 = t6 ? _null : company.settings;
t11 = t11 == null ? _null : t11.defaultTaxName3;
if (t11 == null)
t11 = "";
} else
t11 = "";
t12 = t6 ? _null : company.numberOfInvoiceTaxRates;
if ((t12 == null ? 0 : t12) >= 3) {
t12 = t6 ? _null : company.settings;
t12 = t12 == null ? _null : t12.defaultTaxRate3;
if (t12 == null)
t12 = 0;
} else
t12 = 0;
t13 = t6 ? _null : company.enableCustomSurchargeTaxes1;
t14 = t6 ? _null : company.enableCustomSurchargeTaxes2;
t15 = t6 ? _null : company.enableCustomSurchargeTaxes3;
t16 = t6 ? _null : company.enableCustomSurchargeTaxes4;
t17 = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_InvoiceScheduleEntity);
t18 = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_InvoiceItemEntity);
t6 = t6 ? _null : company.settings;
t6 = t6 == null ? _null : t6.enableInclusiveTaxes;
t19 = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_DocumentEntity);
t20 = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_ActivityEntity);
t21 = type$.legacy_InvitationEntity;
if (t1)
t1 = D.BuiltList_BuiltList$from(C.List_empty, t21);
else {
t1 = client.get$emailContacts();
t22 = H._arrayInstanceType(t1)._eval$1("MappedListIterable<1,InvitationEntity*>");
t21 = D.BuiltList_BuiltList$from(P.List_List$of(new H.MappedListIterable(t1, new Q.InvoiceEntity_InvoiceEntity_closure(), t22), true, t22._eval$1("ListIterable.E")), t21);
t1 = t21;
}
t21 = user == null ? _null : user.id;
if (t21 == null)
t21 = "";
return Q._$InvoiceEntity$_(t20, 0, 0, t21, _null, false, 0, t4, 0, "", 0, 0, 0, 0, t13 === true, t14 === true, t15 === true, t16 === true, "", "", "", "", t5, "", 0, t19, "", "terms", t3, exchangeRate, "", "", "5", t2, t1, "", false, false, false, "", t18, 0, Y.convertDateTimeToSqlDate(_null), "", 0, 0, "", "", "", "", t17, _null, -1, "", "", "", "", "1", "", 0, t7, t9, t11, t8, t10, t12, "", 0, t6 === true);
},
InvoiceEntity__initializeBuilder: function(builder) {
builder.get$activities().replace$1(0, D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_ActivityEntity));
builder.get$_invoice_model$_$this()._invoice_model$_paidToDate = 0;
builder.get$_invoice_model$_$this()._autoBillEnabled = false;
builder.get$_invoice_model$_$this()._subscriptionId = "";
return builder;
},
InvoiceItemEntity_InvoiceItemEntity: function(productKey, quantity) {
var t1 = productKey == null ? "" : productKey,
t2 = quantity == null ? 1 : quantity;
return Q._$InvoiceItemEntity$_(0, 1000 * Date.now(), "", "", "", "", 0, null, "", 0, t1, t2, null, "", "", "", 0, 0, 0, "1");
},
InvitationEntity_InvitationEntity: function(contactId) {
var _null = null,
t1 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t1;
t1 = "" + t1;
return Q._$InvitationEntity$_(0, _null, contactId, 0, _null, _null, _null, t1, false, false, "", "", "", "", 0, "");
},
_$InvoiceEntity$_: function(activities, amount, archivedAt, assignedUserId, autoBill, autoBillEnabled, balance, clientId, createdAt, createdUserId, customSurcharge1, customSurcharge2, customSurcharge3, customSurcharge4, customTaxes1, customTaxes2, customTaxes3, customTaxes4, customValue1, customValue2, customValue3, customValue4, date, designId, discount, documents, dueDate, dueDateDays, entityType, exchangeRate, filename, footer, frequencyId, id, invitations, invoiceId, isAmountDiscount, isChanged, isDeleted, lastSentDate, lineItems, loadedAt, nextSendDate, number, paidToDate, partial, partialDueDate, poNumber, privateNotes, publicNotes, recurringDates, recurringId, remainingCycles, reminder1Sent, reminder2Sent, reminder3Sent, reminderLastSent, statusId, subscriptionId, taxAmount, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, terms, updatedAt, usesInclusiveTaxes) {
var _s13_ = "InvoiceEntity";
if (date == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "date"));
if (nextSendDate == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "nextSendDate"));
if (lineItems == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "lineItems"));
if (invitations == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "invitations"));
if (documents == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "documents"));
if (activities == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "activities"));
return new Q._$InvoiceEntity(amount, balance, paidToDate, clientId, subscriptionId, statusId, number, discount, poNumber, date, dueDate, publicNotes, privateNotes, terms, footer, designId, usesInclusiveTaxes, taxName1, taxRate1, taxName2, taxRate2, taxName3, taxRate3, isAmountDiscount, partial, taxAmount, partialDueDate, autoBill, customValue1, customValue2, customValue3, customValue4, customSurcharge1, customSurcharge2, customSurcharge3, customSurcharge4, customTaxes1, customTaxes2, customTaxes3, customTaxes4, exchangeRate, reminder1Sent, reminder2Sent, reminder3Sent, reminderLastSent, frequencyId, lastSentDate, nextSendDate, remainingCycles, dueDateDays, invoiceId, recurringId, autoBillEnabled, filename, recurringDates, lineItems, invitations, documents, activities, loadedAt, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, id);
},
_$InvoiceItemEntity$_: function(cost, createdAt, customValue1, customValue2, customValue3, customValue4, discount, expenseId, notes, productCost, productKey, quantity, taskId, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, typeId) {
return new Q._$InvoiceItemEntity(productKey, notes, cost, productCost, quantity, taxName1, taxRate1, taxName2, taxRate2, taxName3, taxRate3, typeId, customValue1, customValue2, customValue3, customValue4, discount, taskId, expenseId, createdAt);
},
_$InvitationEntity$_: function(archivedAt, assignedUserId, contactId, createdAt, createdUserId, emailStatus, entityType, id, isChanged, isDeleted, key, link, openedDate, sentDate, updatedAt, viewedDate) {
return new Q._$InvitationEntity(key, link, contactId, sentDate, viewedDate, openedDate, emailStatus, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, id);
},
InvoiceListResponse: function InvoiceListResponse() {
},
InvoiceItemResponse: function InvoiceItemResponse() {
},
InvoiceEntity: function InvoiceEntity() {
},
InvoiceEntity_InvoiceEntity_closure: function InvoiceEntity_InvoiceEntity_closure() {
},
InvoiceEntity_moveLineItem_closure: function InvoiceEntity_moveLineItem_closure(t0) {
this.oldIndex = t0;
},
InvoiceEntity_moveLineItem_closure0: function InvoiceEntity_moveLineItem_closure0(t0, t1, t2) {
this._box_0 = t0;
this.newIndex = t1;
this.lineItem = t2;
},
InvoiceEntity_clone_closure: function InvoiceEntity_clone_closure(t0) {
this.$this = t0;
},
InvoiceEntity_clone__closure: function InvoiceEntity_clone__closure() {
},
InvoiceEntity_clone__closure0: function InvoiceEntity_clone__closure0() {
},
InvoiceEntity_history_closure: function InvoiceEntity_history_closure() {
},
InvoiceEntity_history_closure0: function InvoiceEntity_history_closure0() {
},
InvoiceEntity_hasTasks_closure: function InvoiceEntity_hasTasks_closure() {
},
InvoiceEntity_hasProducts_closure: function InvoiceEntity_hasProducts_closure() {
},
InvoiceEntity_hasExpenses_closure: function InvoiceEntity_hasExpenses_closure() {
},
InvoiceEntity_applyTax_closure: function InvoiceEntity_applyTax_closure(t0) {
this.taxRate = t0;
},
InvoiceEntity_applyTax_closure0: function InvoiceEntity_applyTax_closure0(t0) {
this.taxRate = t0;
},
InvoiceEntity_applyTax_closure1: function InvoiceEntity_applyTax_closure1(t0) {
this.taxRate = t0;
},
InvoiceEntity_isViewed_closure: function InvoiceEntity_isViewed_closure() {
},
InvoiceEntity_getInvitationForContact_closure: function InvoiceEntity_getInvitationForContact_closure(t0) {
this.contact = t0;
},
InvoiceEntity_getInvitationForContact_closure0: function InvoiceEntity_getInvitationForContact_closure0() {
},
InvoiceEntity_getTaxes_calculateAmount: function InvoiceEntity_getTaxes_calculateAmount(t0) {
this.$this = t0;
},
InvoiceEntity__calculateTax_closure: function InvoiceEntity__calculateTax_closure(t0, t1) {
this.name = t0;
this.rate = t1;
},
InvoiceItemEntity: function InvoiceItemEntity() {
},
InvoiceItemEntity_taxAmount_calculateTaxAmount: function InvoiceItemEntity_taxAmount_calculateTaxAmount(t0, t1, t2) {
this.$this = t0;
this.invoice = t1;
this.precision = t2;
},
InvoiceItemEntity_applyTax_closure: function InvoiceItemEntity_applyTax_closure(t0) {
this.taxRate = t0;
},
InvoiceItemEntity_applyTax_closure0: function InvoiceItemEntity_applyTax_closure0(t0) {
this.taxRate = t0;
},
InvoiceItemEntity_applyTax_closure1: function InvoiceItemEntity_applyTax_closure1(t0) {
this.taxRate = t0;
},
InvitationEntity: function InvitationEntity() {
},
InvoiceScheduleEntity: function InvoiceScheduleEntity() {
},
InvoiceHistoryEntity: function InvoiceHistoryEntity() {
},
_$InvoiceListResponseSerializer: function _$InvoiceListResponseSerializer() {
},
_$InvoiceItemResponseSerializer: function _$InvoiceItemResponseSerializer() {
},
_$InvoiceEntitySerializer: function _$InvoiceEntitySerializer() {
},
_$InvoiceItemEntitySerializer: function _$InvoiceItemEntitySerializer() {
},
_$InvitationEntitySerializer: function _$InvitationEntitySerializer() {
},
_$InvoiceScheduleEntitySerializer: function _$InvoiceScheduleEntitySerializer() {
},
_$InvoiceHistoryEntitySerializer: function _$InvoiceHistoryEntitySerializer() {
},
_$InvoiceListResponse: function _$InvoiceListResponse(t0) {
this.data = t0;
this._invoice_model$__hashCode = null;
},
InvoiceListResponseBuilder: function InvoiceListResponseBuilder() {
this._invoice_model$_data = this._invoice_model$_$v = null;
},
_$InvoiceItemResponse: function _$InvoiceItemResponse(t0) {
this.data = t0;
this._invoice_model$__hashCode = null;
},
InvoiceItemResponseBuilder: function InvoiceItemResponseBuilder() {
this._invoice_model$_data = this._invoice_model$_$v = null;
},
_$InvoiceEntity: function _$InvoiceEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60, t61, t62, t63, t64, t65, t66, t67, t68) {
var _ = this;
_.amount = t0;
_.balance = t1;
_.paidToDate = t2;
_.clientId = t3;
_.subscriptionId = t4;
_.statusId = t5;
_.number = t6;
_.discount = t7;
_.poNumber = t8;
_.date = t9;
_.dueDate = t10;
_.publicNotes = t11;
_.privateNotes = t12;
_.terms = t13;
_.footer = t14;
_.designId = t15;
_.usesInclusiveTaxes = t16;
_.taxName1 = t17;
_.taxRate1 = t18;
_.taxName2 = t19;
_.taxRate2 = t20;
_.taxName3 = t21;
_.taxRate3 = t22;
_.isAmountDiscount = t23;
_.partial = t24;
_.taxAmount = t25;
_.partialDueDate = t26;
_.autoBill = t27;
_.customValue1 = t28;
_.customValue2 = t29;
_.customValue3 = t30;
_.customValue4 = t31;
_.customSurcharge1 = t32;
_.customSurcharge2 = t33;
_.customSurcharge3 = t34;
_.customSurcharge4 = t35;
_.customTaxes1 = t36;
_.customTaxes2 = t37;
_.customTaxes3 = t38;
_.customTaxes4 = t39;
_.exchangeRate = t40;
_.reminder1Sent = t41;
_.reminder2Sent = t42;
_.reminder3Sent = t43;
_.reminderLastSent = t44;
_.frequencyId = t45;
_.lastSentDate = t46;
_.nextSendDate = t47;
_.remainingCycles = t48;
_.dueDateDays = t49;
_.invoiceId = t50;
_.recurringId = t51;
_.autoBillEnabled = t52;
_.filename = t53;
_.recurringDates = t54;
_.lineItems = t55;
_.invitations = t56;
_.documents = t57;
_.activities = t58;
_.loadedAt = t59;
_.isChanged = t60;
_.createdAt = t61;
_.updatedAt = t62;
_.archivedAt = t63;
_.isDeleted = t64;
_.createdUserId = t65;
_.assignedUserId = t66;
_.entityType = t67;
_.id = t68;
_._invoice_model$__hashCode = null;
},
InvoiceEntityBuilder: function InvoiceEntityBuilder() {
var _ = this;
_._invoice_model$_customValue1 = _._invoice_model$_autoBill = _._partialDueDate = _._taxAmount = _._partial = _._isAmountDiscount = _._taxRate3 = _._taxName3 = _._taxRate2 = _._taxName2 = _._taxRate1 = _._taxName1 = _._usesInclusiveTaxes = _._designId = _._footer = _._terms = _._invoice_model$_privateNotes = _._invoice_model$_publicNotes = _._dueDate = _._date = _._poNumber = _._discount = _._invoice_model$_number = _._statusId = _._subscriptionId = _._clientId = _._invoice_model$_paidToDate = _._invoice_model$_balance = _._amount = _._invoice_model$_$v = null;
_._invoice_model$_activities = _._invoice_model$_documents = _._invitations = _._lineItems = _._recurringDates = _._filename = _._autoBillEnabled = _._recurringId = _._invoiceId = _._dueDateDays = _._remainingCycles = _._nextSendDate = _._lastSentDate = _._frequencyId = _._reminderLastSent = _._reminder3Sent = _._reminder2Sent = _._reminder1Sent = _._exchangeRate = _._customTaxes4 = _._customTaxes3 = _._customTaxes2 = _._customTaxes1 = _._customSurcharge4 = _._customSurcharge3 = _._customSurcharge2 = _._customSurcharge1 = _._invoice_model$_customValue4 = _._invoice_model$_customValue3 = _._invoice_model$_customValue2 = null;
_._invoice_model$_id = _._invoice_model$_entityType = _._invoice_model$_assignedUserId = _._invoice_model$_createdUserId = _._invoice_model$_isDeleted = _._invoice_model$_archivedAt = _._invoice_model$_updatedAt = _._invoice_model$_createdAt = _._invoice_model$_isChanged = _._invoice_model$_loadedAt = null;
},
_$InvoiceItemEntity: function _$InvoiceItemEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) {
var _ = this;
_.productKey = t0;
_.notes = t1;
_.cost = t2;
_.productCost = t3;
_.quantity = t4;
_.taxName1 = t5;
_.taxRate1 = t6;
_.taxName2 = t7;
_.taxRate2 = t8;
_.taxName3 = t9;
_.taxRate3 = t10;
_.typeId = t11;
_.customValue1 = t12;
_.customValue2 = t13;
_.customValue3 = t14;
_.customValue4 = t15;
_.discount = t16;
_.taskId = t17;
_.expenseId = t18;
_.createdAt = t19;
_._invoice_model$__hashCode = null;
},
InvoiceItemEntityBuilder: function InvoiceItemEntityBuilder() {
var _ = this;
_._invoice_model$_createdAt = _._expenseId = _._invoice_model$_taskId = _._discount = _._invoice_model$_customValue4 = _._invoice_model$_customValue3 = _._invoice_model$_customValue2 = _._invoice_model$_customValue1 = _._invoice_model$_typeId = _._taxRate3 = _._taxName3 = _._taxRate2 = _._taxName2 = _._taxRate1 = _._taxName1 = _._invoice_model$_quantity = _._productCost = _._invoice_model$_cost = _._invoice_model$_notes = _._invoice_model$_productKey = _._invoice_model$_$v = null;
},
_$InvitationEntity: function _$InvitationEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
var _ = this;
_.key = t0;
_.link = t1;
_.contactId = t2;
_.sentDate = t3;
_.viewedDate = t4;
_.openedDate = t5;
_.emailStatus = t6;
_.isChanged = t7;
_.createdAt = t8;
_.updatedAt = t9;
_.archivedAt = t10;
_.isDeleted = t11;
_.createdUserId = t12;
_.assignedUserId = t13;
_.entityType = t14;
_.id = t15;
_._invoice_model$__hashCode = null;
},
InvitationEntityBuilder: function InvitationEntityBuilder() {
var _ = this;
_._invoice_model$_id = _._invoice_model$_entityType = _._invoice_model$_assignedUserId = _._invoice_model$_createdUserId = _._invoice_model$_isDeleted = _._invoice_model$_archivedAt = _._invoice_model$_updatedAt = _._invoice_model$_createdAt = _._invoice_model$_isChanged = _._emailStatus = _._openedDate = _._viewedDate = _._sentDate = _._contactId = _._invoice_model$_link = _._invoice_model$_key = _._invoice_model$_$v = null;
},
_$InvoiceScheduleEntity: function _$InvoiceScheduleEntity(t0, t1) {
this.sendDate = t0;
this.dueDate = t1;
this._invoice_model$__hashCode = null;
},
InvoiceScheduleEntityBuilder: function InvoiceScheduleEntityBuilder() {
this._dueDate = this._sendDate = this._invoice_model$_$v = null;
},
_$InvoiceHistoryEntity: function _$InvoiceHistoryEntity(t0, t1, t2, t3) {
var _ = this;
_.id = t0;
_.activityId = t1;
_.createdAt = t2;
_.amount = t3;
_._invoice_model$__hashCode = null;
},
InvoiceHistoryEntityBuilder: function InvoiceHistoryEntityBuilder() {
var _ = this;
_._amount = _._invoice_model$_createdAt = _._activityId = _._invoice_model$_id = _._invoice_model$_$v = null;
},
_InvitationEntity_Object_BaseEntity: function _InvitationEntity_Object_BaseEntity() {
},
_InvitationEntity_Object_BaseEntity_SelectableEntity: function _InvitationEntity_Object_BaseEntity_SelectableEntity() {
},
_InvoiceEntity_Object_BaseEntity: function _InvoiceEntity_Object_BaseEntity() {
},
_InvoiceEntity_Object_BaseEntity_SelectableEntity: function _InvoiceEntity_Object_BaseEntity_SelectableEntity() {
},
_InvoiceEntity_Object_BaseEntity_SelectableEntity_CalculateInvoiceTotal: function _InvoiceEntity_Object_BaseEntity_SelectableEntity_CalculateInvoiceTotal() {
},
_InvoiceEntity_Object_BaseEntity_SelectableEntity_CalculateInvoiceTotal_BelongsToClient: function _InvoiceEntity_Object_BaseEntity_SelectableEntity_CalculateInvoiceTotal_BelongsToClient() {
},
UserRepository: function UserRepository() {
},
_editClient: function() {
return new Q._editClient_closure();
},
_viewClient: function() {
return new Q._viewClient_closure();
},
_viewClientList: function() {
return new Q._viewClientList_closure1();
},
_archiveClient: function(repository) {
return new Q._archiveClient_closure(repository);
},
_deleteClient: function(repository) {
return new Q._deleteClient_closure(repository);
},
_restoreClient: function(repository) {
return new Q._restoreClient_closure(repository);
},
_saveClient: function(repository) {
return new Q._saveClient_closure(repository);
},
_loadClient: function(repository) {
return new Q._loadClient_closure(repository);
},
_loadClients: function(repository) {
return new Q._loadClients_closure(repository);
},
_saveDocument0: function(repository) {
return new Q._saveDocument_closure10(repository);
},
_editClient_closure: function _editClient_closure() {
},
_viewClient_closure: function _viewClient_closure() {
},
_viewClientList_closure1: function _viewClientList_closure1() {
},
_viewClientList__closure: function _viewClientList__closure() {
},
_archiveClient_closure: function _archiveClient_closure(t0) {
this.repository = t0;
},
_archiveClient__closure: function _archiveClient__closure(t0) {
this.store = t0;
},
_archiveClient__closure0: function _archiveClient__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archiveClient__closure1: function _archiveClient__closure1(t0, t1, t2) {
this.store = t0;
this.prevClients = t1;
this.action = t2;
},
_deleteClient_closure: function _deleteClient_closure(t0) {
this.repository = t0;
},
_deleteClient__closure: function _deleteClient__closure(t0) {
this.store = t0;
},
_deleteClient__closure0: function _deleteClient__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_deleteClient__closure1: function _deleteClient__closure1(t0, t1, t2) {
this.store = t0;
this.prevClients = t1;
this.action = t2;
},
_restoreClient_closure: function _restoreClient_closure(t0) {
this.repository = t0;
},
_restoreClient__closure: function _restoreClient__closure(t0) {
this.store = t0;
},
_restoreClient__closure0: function _restoreClient__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restoreClient__closure1: function _restoreClient__closure1(t0, t1, t2) {
this.store = t0;
this.prevClients = t1;
this.action = t2;
},
_saveClient_closure: function _saveClient_closure(t0) {
this.repository = t0;
},
_saveClient__closure: function _saveClient__closure(t0, t1) {
this.action = t0;
this.store = t1;
},
_saveClient__closure0: function _saveClient__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadClient_closure: function _loadClient_closure(t0) {
this.repository = t0;
},
_loadClient__closure: function _loadClient__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadClient__closure0: function _loadClient__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadClients_closure: function _loadClients_closure(t0) {
this.repository = t0;
},
_loadClients__closure: function _loadClients__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadClients__closure0: function _loadClients__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument_closure10: function _saveDocument_closure10(t0) {
this.repository = t0;
},
_saveDocument__closure21: function _saveDocument__closure21(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument__closure22: function _saveDocument__closure22(t0, t1) {
this.store = t0;
this.action = t1;
},
handleCompanyGatewayAction: function(context, companyGateways, action) {
var store, t1, companyGateway, t2, companyGatewayIds, message, _i, t3, _s6_ = ":value",
_s12_ = "_dispatchers";
if (companyGateways.length === 0)
return;
store = O.StoreProvider_of(context, type$.legacy_AppState);
t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
companyGateway = C.JSArray_methods.get$first(companyGateways);
t2 = H._arrayInstanceType(companyGateways)._eval$1("MappedListIterable<1,String*>");
companyGatewayIds = P.List_List$of(new H.MappedListIterable(companyGateways, new Q.handleCompanyGatewayAction_closure(), t2), true, t2._eval$1("ListIterable.E"));
switch (action) {
case C.EntityAction_edit:
M.editEntity(null, context, companyGateway, null);
break;
case C.EntityAction_restore:
t2 = companyGatewayIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_company_gateways");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_company_gateway");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.RestoreCompanyGatewayRequest(t1, companyGatewayIds));
break;
case C.EntityAction_archive:
t2 = companyGatewayIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_company_gateways");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_company_gateway");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.ArchiveCompanyGatewayRequest(t1, companyGatewayIds));
break;
case C.EntityAction_delete:
t2 = companyGatewayIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_company_gateways");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_company_gateway");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.DeleteCompanyGatewayRequest(t1, companyGatewayIds));
break;
case C.EntityAction_toggleMultiselect:
if (store.get$_store$_state().uiState.companyGatewayUIState.listUIState.selectedIds == null)
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.StartCompanyGatewayMultiselect());
t1 = companyGateways.length;
if (t1 === 0)
break;
for (_i = 0; _i < companyGateways.length; companyGateways.length === t1 || (0, H.throwConcurrentModificationError)(companyGateways), ++_i) {
companyGateway = companyGateways[_i];
t2 = store.__Store__state;
t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI("_state")) : t2).uiState.companyGatewayUIState.listUIState;
t3 = J.get$id$x(companyGateway);
t2 = t2.selectedIds;
t2 = t2 != null && J.contains$1$asx(t2._list, t3);
t3 = store.__Store__dispatchers;
if (!t2)
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new Q.AddToCompanyGatewayMultiselect(companyGateway));
else
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new Q.RemoveFromCompanyGatewayMultiselect(companyGateway));
}
break;
case C.EntityAction_more:
L.showEntityActionsDialog(null, H.setRuntimeTypeInfo([companyGateway], type$.JSArray_legacy_BaseEntity), false);
break;
}
},
ViewCompanyGatewayList: function ViewCompanyGatewayList() {
},
ViewCompanyGateway: function ViewCompanyGateway(t0) {
this.companyGatewayId = t0;
},
EditCompanyGateway: function EditCompanyGateway(t0) {
this.companyGateway = t0;
},
UpdateCompanyGateway: function UpdateCompanyGateway(t0) {
this.companyGateway = t0;
},
LoadCompanyGateway: function LoadCompanyGateway(t0, t1) {
this.completer = t0;
this.companyGatewayId = t1;
},
LoadCompanyGatewayRequest: function LoadCompanyGatewayRequest() {
},
LoadCompanyGatewayFailure: function LoadCompanyGatewayFailure(t0) {
this.error = t0;
},
LoadCompanyGatewaySuccess: function LoadCompanyGatewaySuccess(t0) {
this.companyGateway = t0;
},
LoadCompanyGatewaysRequest: function LoadCompanyGatewaysRequest() {
},
LoadCompanyGatewaysFailure: function LoadCompanyGatewaysFailure(t0) {
this.error = t0;
},
LoadCompanyGatewaysSuccess: function LoadCompanyGatewaysSuccess(t0) {
this.companyGateways = t0;
},
SaveCompanyGatewayRequest: function SaveCompanyGatewayRequest(t0, t1) {
this.completer = t0;
this.companyGateway = t1;
},
SaveCompanyGatewaySuccess: function SaveCompanyGatewaySuccess(t0) {
this.companyGateway = t0;
},
AddCompanyGatewaySuccess: function AddCompanyGatewaySuccess(t0) {
this.companyGateway = t0;
},
SaveCompanyGatewayFailure: function SaveCompanyGatewayFailure() {
},
ArchiveCompanyGatewayRequest: function ArchiveCompanyGatewayRequest(t0, t1) {
this.completer = t0;
this.companyGatewayIds = t1;
},
ArchiveCompanyGatewaySuccess: function ArchiveCompanyGatewaySuccess(t0) {
this.companyGateways = t0;
},
ArchiveCompanyGatewayFailure: function ArchiveCompanyGatewayFailure() {
},
DeleteCompanyGatewayRequest: function DeleteCompanyGatewayRequest(t0, t1) {
this.completer = t0;
this.companyGatewayIds = t1;
},
DeleteCompanyGatewaySuccess: function DeleteCompanyGatewaySuccess(t0) {
this.companyGateways = t0;
},
DeleteCompanyGatewayFailure: function DeleteCompanyGatewayFailure() {
},
RestoreCompanyGatewayRequest: function RestoreCompanyGatewayRequest(t0, t1) {
this.completer = t0;
this.companyGatewayIds = t1;
},
RestoreCompanyGatewaySuccess: function RestoreCompanyGatewaySuccess(t0) {
this.companyGateways = t0;
},
RestoreCompanyGatewayFailure: function RestoreCompanyGatewayFailure() {
},
FilterCompanyGatewaysByState: function FilterCompanyGatewaysByState(t0) {
this.state = t0;
},
FilterCompanyGatewaysByCustom1: function FilterCompanyGatewaysByCustom1(t0) {
this.value = t0;
},
FilterCompanyGatewaysByCustom2: function FilterCompanyGatewaysByCustom2(t0) {
this.value = t0;
},
FilterCompanyGatewaysByCustom3: function FilterCompanyGatewaysByCustom3(t0) {
this.value = t0;
},
FilterCompanyGatewaysByCustom4: function FilterCompanyGatewaysByCustom4(t0) {
this.value = t0;
},
handleCompanyGatewayAction_closure: function handleCompanyGatewayAction_closure() {
},
StartCompanyGatewayMultiselect: function StartCompanyGatewayMultiselect() {
},
AddToCompanyGatewayMultiselect: function AddToCompanyGatewayMultiselect(t0) {
this.entity = t0;
},
RemoveFromCompanyGatewayMultiselect: function RemoveFromCompanyGatewayMultiselect(t0) {
this.entity = t0;
},
ClearCompanyGatewayMultiselect: function ClearCompanyGatewayMultiselect() {
},
creditUIReducer: function(state, action) {
var t1;
state.toString;
t1 = new G.CreditUIStateBuilder();
t1._credit_state$_$v = state;
new Q.creditUIReducer_closure(state, action).call$1(t1);
return t1.build$0(0);
},
_clearEditing0: function(credit, action) {
var _null = null;
return Q.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null);
},
_updateEditing0: function(credit, action) {
return action.get$credit();
},
_addCreditItem: function(credit, action) {
return credit.rebuild$1(new Q._addCreditItem_closure(action));
},
_addCreditItems: function(credit, action) {
return credit.rebuild$1(new Q._addCreditItems_closure(action));
},
_removeCreditItem: function(credit, action) {
if (J.get$length$asx(credit.lineItems._list) <= action.index)
return credit;
return credit.rebuild$1(new Q._removeCreditItem_closure(action));
},
_updateCreditItem: function(credit, action) {
if (J.get$length$asx(credit.lineItems._list) <= action.index)
return credit;
return credit.rebuild$1(new Q._updateCreditItem_closure(action));
},
_viewCreditList0: function(creditListState, action) {
return creditListState.rebuild$1(new Q._viewCreditList_closure());
},
_filterCreditsByCustom1: function(creditListState, action) {
var t1 = creditListState.custom1Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return creditListState.rebuild$1(new Q._filterCreditsByCustom1_closure(action));
else
return creditListState.rebuild$1(new Q._filterCreditsByCustom1_closure0(action));
},
_filterCreditsByCustom2: function(creditListState, action) {
var t1 = creditListState.custom2Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return creditListState.rebuild$1(new Q._filterCreditsByCustom2_closure(action));
else
return creditListState.rebuild$1(new Q._filterCreditsByCustom2_closure0(action));
},
_filterCreditsByCustom3: function(creditListState, action) {
var t1 = creditListState.custom3Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return creditListState.rebuild$1(new Q._filterCreditsByCustom3_closure(action));
else
return creditListState.rebuild$1(new Q._filterCreditsByCustom3_closure0(action));
},
_filterCreditsByCustom4: function(creditListState, action) {
var t1 = creditListState.custom4Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return creditListState.rebuild$1(new Q._filterCreditsByCustom4_closure(action));
else
return creditListState.rebuild$1(new Q._filterCreditsByCustom4_closure0(action));
},
_filterCreditsByState: function(creditListState, action) {
var t1 = creditListState.stateFilters,
t2 = action.state;
if (J.contains$1$asx(t1._list, t2))
return creditListState.rebuild$1(new Q._filterCreditsByState_closure(action));
else
return creditListState.rebuild$1(new Q._filterCreditsByState_closure0(action));
},
_filterCreditsByStatus: function(creditListState, action) {
var t1 = creditListState.statusFilters,
t2 = action.get$status(action);
if (J.contains$1$asx(t1._list, t2))
return creditListState.rebuild$1(new Q._filterCreditsByStatus_closure(action));
else
return creditListState.rebuild$1(new Q._filterCreditsByStatus_closure0(action));
},
_filterCredits: function(creditListState, action) {
return creditListState.rebuild$1(new Q._filterCredits_closure(action, creditListState));
},
_sortCredits: function(creditListState, action) {
return creditListState.rebuild$1(new Q._sortCredits_closure(action));
},
_startListMultiselect1: function(creditListState, action) {
return creditListState.rebuild$1(new Q._startListMultiselect_closure10());
},
_addToListMultiselect1: function(creditListState, action) {
return creditListState.rebuild$1(new Q._addToListMultiselect_closure10(action));
},
_removeFromListMultiselect1: function(creditListState, action) {
return creditListState.rebuild$1(new Q._removeFromListMultiselect_closure10(action));
},
_clearListMultiselect1: function(creditListState, action) {
return creditListState.rebuild$1(new Q._clearListMultiselect_closure10());
},
_markSentCreditSuccess: function(creditState, action) {
return creditState.rebuild$1(new Q._markSentCreditSuccess_closure(P.LinkedHashMap_LinkedHashMap$fromIterable(action.credits, new Q._markSentCreditSuccess_closure0(), new Q._markSentCreditSuccess_closure1(), type$.legacy_String, type$.legacy_InvoiceEntity)));
},
_archiveCreditSuccess: function(creditState, action) {
return creditState.rebuild$1(new Q._archiveCreditSuccess_closure(action));
},
_deleteCreditSuccess: function(creditState, action) {
return creditState.rebuild$1(new Q._deleteCreditSuccess_closure(action));
},
_restoreCreditSuccess: function(creditState, action) {
return creditState.rebuild$1(new Q._restoreCreditSuccess_closure(action));
},
_addCredit: function(creditState, action) {
return creditState.rebuild$1(new Q._addCredit_closure(action));
},
_updateCredit: function(invoiceState, action) {
return invoiceState.rebuild$1(new Q._updateCredit_closure(action.get$credit()));
},
_setLoadedCredits: function(creditState, action) {
return creditState.loadCredits$1(action.credits);
},
_setLoadedCompany1: function(creditState, action) {
return creditState.loadCredits$1(action.userCompany.company.credits);
},
creditUIReducer_closure: function creditUIReducer_closure(t0, t1) {
this.state = t0;
this.action = t1;
},
forceSelectedReducer_closure79: function forceSelectedReducer_closure79() {
},
forceSelectedReducer_closure80: function forceSelectedReducer_closure80() {
},
forceSelectedReducer_closure81: function forceSelectedReducer_closure81() {
},
forceSelectedReducer_closure82: function forceSelectedReducer_closure82() {
},
forceSelectedReducer_closure83: function forceSelectedReducer_closure83() {
},
forceSelectedReducer_closure84: function forceSelectedReducer_closure84() {
},
forceSelectedReducer_closure85: function forceSelectedReducer_closure85() {
},
forceSelectedReducer_closure86: function forceSelectedReducer_closure86() {
},
tabIndexReducer_closure11: function tabIndexReducer_closure11() {
},
tabIndexReducer_closure12: function tabIndexReducer_closure12() {
},
historyActivityIdReducer_closure0: function historyActivityIdReducer_closure0() {
},
editingItemReducer_closure1: function editingItemReducer_closure1() {
},
editingItemReducer_closure2: function editingItemReducer_closure2() {
},
selectedIdReducer_closure160: function selectedIdReducer_closure160() {
},
selectedIdReducer_closure161: function selectedIdReducer_closure161() {
},
selectedIdReducer_closure162: function selectedIdReducer_closure162() {
},
selectedIdReducer_closure163: function selectedIdReducer_closure163() {
},
selectedIdReducer_closure164: function selectedIdReducer_closure164() {
},
selectedIdReducer_closure165: function selectedIdReducer_closure165() {
},
selectedIdReducer_closure166: function selectedIdReducer_closure166() {
},
selectedIdReducer_closure167: function selectedIdReducer_closure167() {
},
selectedIdReducer_closure168: function selectedIdReducer_closure168() {
},
selectedIdReducer_closure169: function selectedIdReducer_closure169() {
},
selectedIdReducer_closure170: function selectedIdReducer_closure170() {
},
selectedIdReducer_closure171: function selectedIdReducer_closure171() {
},
selectedIdReducer_closure172: function selectedIdReducer_closure172() {
},
selectedIdReducer_closure173: function selectedIdReducer_closure173() {
},
selectedIdReducer_closure174: function selectedIdReducer_closure174() {
},
selectedIdReducer_closure175: function selectedIdReducer_closure175() {
},
selectedIdReducer_closure176: function selectedIdReducer_closure176() {
},
selectedIdReducer_closure177: function selectedIdReducer_closure177() {
},
selectedIdReducer_closure178: function selectedIdReducer_closure178() {
},
editingReducer_closure47: function editingReducer_closure47() {
},
editingReducer__closure22: function editingReducer__closure22() {
},
editingReducer_closure48: function editingReducer_closure48() {
},
editingReducer__closure21: function editingReducer__closure21() {
},
editingReducer_closure49: function editingReducer_closure49() {
},
editingReducer_closure50: function editingReducer_closure50() {
},
editingReducer__closure20: function editingReducer__closure20() {
},
editingReducer_closure51: function editingReducer_closure51() {
},
editingReducer__closure19: function editingReducer__closure19() {
},
editingReducer_closure52: function editingReducer_closure52() {
},
editingReducer__closure18: function editingReducer__closure18(t0) {
this.client = t0;
},
editingReducer___closure0: function editingReducer___closure0() {
},
editingReducer_closure53: function editingReducer_closure53() {
},
editingReducer_closure54: function editingReducer_closure54() {
},
editingReducer_closure55: function editingReducer_closure55() {
},
editingReducer_closure56: function editingReducer_closure56() {
},
editingReducer__closure17: function editingReducer__closure17(t0) {
this.action = t0;
},
editingReducer_closure57: function editingReducer_closure57() {
},
editingReducer__closure16: function editingReducer__closure16(t0) {
this.action = t0;
},
_addCreditItem_closure: function _addCreditItem_closure(t0) {
this.action = t0;
},
_addCreditItems_closure: function _addCreditItems_closure(t0) {
this.action = t0;
},
_removeCreditItem_closure: function _removeCreditItem_closure(t0) {
this.action = t0;
},
_updateCreditItem_closure: function _updateCreditItem_closure(t0) {
this.action = t0;
},
_viewCreditList_closure: function _viewCreditList_closure() {
},
_filterCreditsByCustom1_closure: function _filterCreditsByCustom1_closure(t0) {
this.action = t0;
},
_filterCreditsByCustom1_closure0: function _filterCreditsByCustom1_closure0(t0) {
this.action = t0;
},
_filterCreditsByCustom2_closure: function _filterCreditsByCustom2_closure(t0) {
this.action = t0;
},
_filterCreditsByCustom2_closure0: function _filterCreditsByCustom2_closure0(t0) {
this.action = t0;
},
_filterCreditsByCustom3_closure: function _filterCreditsByCustom3_closure(t0) {
this.action = t0;
},
_filterCreditsByCustom3_closure0: function _filterCreditsByCustom3_closure0(t0) {
this.action = t0;
},
_filterCreditsByCustom4_closure: function _filterCreditsByCustom4_closure(t0) {
this.action = t0;
},
_filterCreditsByCustom4_closure0: function _filterCreditsByCustom4_closure0(t0) {
this.action = t0;
},
_filterCreditsByState_closure: function _filterCreditsByState_closure(t0) {
this.action = t0;
},
_filterCreditsByState_closure0: function _filterCreditsByState_closure0(t0) {
this.action = t0;
},
_filterCreditsByStatus_closure: function _filterCreditsByStatus_closure(t0) {
this.action = t0;
},
_filterCreditsByStatus_closure0: function _filterCreditsByStatus_closure0(t0) {
this.action = t0;
},
_filterCredits_closure: function _filterCredits_closure(t0, t1) {
this.action = t0;
this.creditListState = t1;
},
_sortCredits_closure: function _sortCredits_closure(t0) {
this.action = t0;
},
_startListMultiselect_closure10: function _startListMultiselect_closure10() {
},
_addToListMultiselect_closure10: function _addToListMultiselect_closure10(t0) {
this.action = t0;
},
_removeFromListMultiselect_closure10: function _removeFromListMultiselect_closure10(t0) {
this.action = t0;
},
_clearListMultiselect_closure10: function _clearListMultiselect_closure10() {
},
_markSentCreditSuccess_closure0: function _markSentCreditSuccess_closure0() {
},
_markSentCreditSuccess_closure1: function _markSentCreditSuccess_closure1() {
},
_markSentCreditSuccess_closure: function _markSentCreditSuccess_closure(t0) {
this.creditMap = t0;
},
_archiveCreditSuccess_closure: function _archiveCreditSuccess_closure(t0) {
this.action = t0;
},
_deleteCreditSuccess_closure: function _deleteCreditSuccess_closure(t0) {
this.action = t0;
},
_restoreCreditSuccess_closure: function _restoreCreditSuccess_closure(t0) {
this.action = t0;
},
_addCredit_closure: function _addCredit_closure(t0) {
this.action = t0;
},
_addCredit__closure: function _addCredit__closure() {
},
_updateCredit_closure: function _updateCredit_closure(t0) {
this.credit = t0;
},
_updateCredit__closure: function _updateCredit__closure() {
},
_$DocumentState$_: function(list, map) {
var _s13_ = "DocumentState";
if (map == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "map"));
if (list == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "list"));
return new Q._$DocumentState(map, list);
},
_$DocumentUIState$_: function(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) {
if (listUIState == null)
H.throwExpression(Y.BuiltValueNullFieldError$("DocumentUIState", "listUIState"));
return new Q._$DocumentUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter);
},
DocumentState: function DocumentState() {
},
DocumentUIState: function DocumentUIState() {
},
_$DocumentStateSerializer: function _$DocumentStateSerializer() {
},
_$DocumentUIStateSerializer: function _$DocumentUIStateSerializer() {
},
_$DocumentState: function _$DocumentState(t0, t1) {
this.map = t0;
this.list = t1;
this._document_state$__hashCode = null;
},
DocumentStateBuilder: function DocumentStateBuilder() {
this._document_state$_list = this._document_state$_map = this._document_state$_$v = null;
},
_$DocumentUIState: function _$DocumentUIState(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.editing = t0;
_.listUIState = t1;
_.selectedId = t2;
_.forceSelected = t3;
_.tabIndex = t4;
_.saveCompleter = t5;
_.cancelCompleter = t6;
_._document_state$__hashCode = null;
},
DocumentUIStateBuilder: function DocumentUIStateBuilder() {
var _ = this;
_._document_state$_cancelCompleter = _._document_state$_saveCompleter = _._document_state$_tabIndex = _._document_state$_forceSelected = _._document_state$_selectedId = _._document_state$_listUIState = _._document_state$_editing = _._document_state$_$v = null;
},
_DocumentUIState_Object_EntityUIState: function _DocumentUIState_Object_EntityUIState() {
},
_$ExpenseCategoryState$_: function(list, map) {
var _s20_ = "ExpenseCategoryState";
if (map == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "map"));
if (list == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "list"));
return new Q._$ExpenseCategoryState(map, list);
},
_$ExpenseCategoryUIState$_: function(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) {
if (listUIState == null)
H.throwExpression(Y.BuiltValueNullFieldError$("ExpenseCategoryUIState", "listUIState"));
return new Q._$ExpenseCategoryUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter);
},
ExpenseCategoryState: function ExpenseCategoryState() {
},
ExpenseCategoryState_loadExpenseCategories_closure0: function ExpenseCategoryState_loadExpenseCategories_closure0() {
},
ExpenseCategoryState_loadExpenseCategories_closure1: function ExpenseCategoryState_loadExpenseCategories_closure1() {
},
ExpenseCategoryState_loadExpenseCategories_closure: function ExpenseCategoryState_loadExpenseCategories_closure(t0, t1) {
this.$this = t0;
this.map = t1;
},
ExpenseCategoryUIState: function ExpenseCategoryUIState() {
},
_$ExpenseCategoryStateSerializer: function _$ExpenseCategoryStateSerializer() {
},
_$ExpenseCategoryUIStateSerializer: function _$ExpenseCategoryUIStateSerializer() {
},
_$ExpenseCategoryState: function _$ExpenseCategoryState(t0, t1) {
this.map = t0;
this.list = t1;
this._expense_category_state$__hashCode = null;
},
ExpenseCategoryStateBuilder: function ExpenseCategoryStateBuilder() {
this._expense_category_state$_list = this._expense_category_state$_map = this._expense_category_state$_$v = null;
},
_$ExpenseCategoryUIState: function _$ExpenseCategoryUIState(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.editing = t0;
_.listUIState = t1;
_.selectedId = t2;
_.forceSelected = t3;
_.tabIndex = t4;
_.saveCompleter = t5;
_.cancelCompleter = t6;
_._expense_category_state$__hashCode = null;
},
ExpenseCategoryUIStateBuilder: function ExpenseCategoryUIStateBuilder() {
var _ = this;
_._expense_category_state$_cancelCompleter = _._expense_category_state$_saveCompleter = _._expense_category_state$_tabIndex = _._expense_category_state$_forceSelected = _._expense_category_state$_selectedId = _._expense_category_state$_listUIState = _._expense_category_state$_editing = _._expense_category_state$_$v = null;
},
_ExpenseCategoryUIState_Object_EntityUIState: function _ExpenseCategoryUIState_Object_EntityUIState() {
},
handleGroupAction: function(context, groups, action) {
var store, t1, group, t2, groupIds, message, _i, t3, _null = null, _s6_ = ":value",
_s12_ = "_dispatchers";
if (groups.length === 0)
return;
store = O.StoreProvider_of(context, type$.legacy_AppState);
t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
group = C.JSArray_methods.get$first(groups);
t2 = H._arrayInstanceType(groups)._eval$1("MappedListIterable<1,String*>");
groupIds = P.List_List$of(new H.MappedListIterable(groups, new Q.handleGroupAction_closure(), t2), true, t2._eval$1("ListIterable.E"));
switch (action) {
case C.EntityAction_edit:
M.editEntity(_null, context, group, _null);
break;
case C.EntityAction_settings:
J.$index$asx(store.get$_dispatchers(), 0).call$1(new L.ViewSettings(_null, group, _null, _null, false, "company_details", false, _null));
break;
case C.EntityAction_newClient:
M.createEntity(_null, _null, context, T.ClientEntity_ClientEntity(_null, _null, _null).rebuild$1(new Q.handleGroupAction_closure0(group)), _null, false);
break;
case C.EntityAction_restore:
t2 = groupIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_groups");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_group");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.RestoreGroupRequest(t1, groupIds));
break;
case C.EntityAction_archive:
t2 = groupIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_groups");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_group");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.ArchiveGroupRequest(t1, groupIds));
break;
case C.EntityAction_delete:
t2 = groupIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_groups");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_group");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.DeleteGroupRequest(t1, groupIds));
break;
case C.EntityAction_toggleMultiselect:
if (store.get$_store$_state().uiState.groupUIState.listUIState.selectedIds == null)
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.StartGroupMultiselect());
t1 = groups.length;
if (t1 === 0)
break;
for (_i = 0; _i < groups.length; groups.length === t1 || (0, H.throwConcurrentModificationError)(groups), ++_i) {
group = groups[_i];
t2 = store.__Store__state;
t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI("_state")) : t2).uiState.groupUIState.listUIState;
t3 = J.get$id$x(group);
t2 = t2.selectedIds;
t2 = t2 != null && J.contains$1$asx(t2._list, t3);
t3 = store.__Store__dispatchers;
if (!t2)
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new Q.AddToGroupMultiselect(group));
else
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new Q.RemoveFromGroupMultiselect(group));
}
break;
case C.EntityAction_more:
L.showEntityActionsDialog(_null, H.setRuntimeTypeInfo([group], type$.JSArray_legacy_BaseEntity), false);
break;
}
},
ViewGroupList: function ViewGroupList() {
},
ViewGroup: function ViewGroup(t0) {
this.groupId = t0;
},
EditGroup: function EditGroup(t0) {
this.group = t0;
},
UpdateGroup: function UpdateGroup(t0) {
this.group = t0;
},
LoadGroup: function LoadGroup(t0, t1) {
this.completer = t0;
this.groupId = t1;
},
LoadGroupRequest: function LoadGroupRequest() {
},
LoadGroupFailure: function LoadGroupFailure(t0) {
this.error = t0;
},
LoadGroupSuccess: function LoadGroupSuccess(t0) {
this.group = t0;
},
LoadGroupsRequest: function LoadGroupsRequest() {
},
LoadGroupsFailure: function LoadGroupsFailure(t0) {
this.error = t0;
},
LoadGroupsSuccess: function LoadGroupsSuccess(t0) {
this.groups = t0;
},
SaveGroupRequest: function SaveGroupRequest(t0, t1) {
this.completer = t0;
this.group = t1;
},
SaveGroupSuccess: function SaveGroupSuccess(t0) {
this.group = t0;
},
AddGroupSuccess: function AddGroupSuccess(t0) {
this.group = t0;
},
SaveGroupFailure: function SaveGroupFailure() {
},
ArchiveGroupRequest: function ArchiveGroupRequest(t0, t1) {
this.completer = t0;
this.groupIds = t1;
},
ArchiveGroupSuccess: function ArchiveGroupSuccess(t0) {
this.groups = t0;
},
ArchiveGroupFailure: function ArchiveGroupFailure() {
},
DeleteGroupRequest: function DeleteGroupRequest(t0, t1) {
this.completer = t0;
this.groupIds = t1;
},
DeleteGroupSuccess: function DeleteGroupSuccess(t0) {
this.groups = t0;
},
DeleteGroupFailure: function DeleteGroupFailure() {
},
RestoreGroupRequest: function RestoreGroupRequest(t0, t1) {
this.completer = t0;
this.groupIds = t1;
},
RestoreGroupSuccess: function RestoreGroupSuccess(t0) {
this.groups = t0;
},
RestoreGroupFailure: function RestoreGroupFailure() {
},
FilterGroups: function FilterGroups(t0) {
this.filter = t0;
},
SortGroups: function SortGroups(t0) {
this.field = t0;
},
FilterGroupsByState: function FilterGroupsByState(t0) {
this.state = t0;
},
handleGroupAction_closure: function handleGroupAction_closure() {
},
handleGroupAction_closure0: function handleGroupAction_closure0(t0) {
this.group = t0;
},
StartGroupMultiselect: function StartGroupMultiselect() {
},
AddToGroupMultiselect: function AddToGroupMultiselect(t0) {
this.entity = t0;
},
RemoveFromGroupMultiselect: function RemoveFromGroupMultiselect(t0) {
this.entity = t0;
},
ClearGroupMultiselect: function ClearGroupMultiselect() {
},
SaveGroupDocumentRequest: function SaveGroupDocumentRequest(t0, t1, t2) {
this.completer = t0;
this.multipartFile = t1;
this.group = t2;
},
SaveGroupDocumentFailure: function SaveGroupDocumentFailure() {
},
handleInvoiceAction: function(context, invoices, action) {
return Q.handleInvoiceAction$body(context, invoices, action);
},
handleInvoiceAction$body: function(context, invoices, action) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.dynamic),
$async$returnValue, store, state, t1, invoice, t2, invoiceIds, designId, t3, message, _i, _box_0;
var $async$handleInvoiceAction = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
_box_0 = {};
if (invoices.length === 0) {
// goto return
$async$goto = 1;
break;
}
store = O.StoreProvider_of(context, type$.legacy_AppState);
state = store.get$_store$_state();
t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
invoice = type$.legacy_InvoiceEntity._as(C.JSArray_methods.get$first(invoices));
t2 = H._arrayInstanceType(invoices)._eval$1("MappedListIterable<1,String*>");
invoiceIds = P.List_List$of(new H.MappedListIterable(invoices, new Q.handleInvoiceAction_closure(), t2), true, t2._eval$1("ListIterable.E"));
case 3:
// switch
switch (action) {
case C.EntityAction_edit:
// goto case
$async$goto = 5;
break;
case C.EntityAction_viewPdf:
// goto case
$async$goto = 6;
break;
case C.EntityAction_clientPortal:
// goto case
$async$goto = 7;
break;
case C.EntityAction_markSent:
// goto case
$async$goto = 8;
break;
case C.EntityAction_reverse:
// goto case
$async$goto = 9;
break;
case C.EntityAction_cancel:
// goto case
$async$goto = 10;
break;
case C.EntityAction_markPaid:
// goto case
$async$goto = 11;
break;
case C.EntityAction_emailInvoice:
// goto case
$async$goto = 12;
break;
case C.EntityAction_bulkEmailInvoice:
// goto case
$async$goto = 13;
break;
case C.EntityAction_cloneToOther:
// goto case
$async$goto = 14;
break;
case C.EntityAction_cloneToInvoice:
// goto case
$async$goto = 15;
break;
case C.EntityAction_cloneToQuote:
// goto case
$async$goto = 16;
break;
case C.EntityAction_cloneToCredit:
// goto case
$async$goto = 17;
break;
case C.EntityAction_cloneToRecurring:
// goto case
$async$goto = 18;
break;
case C.EntityAction_newPayment:
// goto case
$async$goto = 19;
break;
case C.EntityAction_download:
// goto case
$async$goto = 20;
break;
case C.EntityAction_restore:
// goto case
$async$goto = 21;
break;
case C.EntityAction_archive:
// goto case
$async$goto = 22;
break;
case C.EntityAction_delete:
// goto case
$async$goto = 23;
break;
case C.EntityAction_toggleMultiselect:
// goto case
$async$goto = 24;
break;
case C.EntityAction_more:
// goto case
$async$goto = 25;
break;
default:
// goto after switch
$async$goto = 4;
break;
}
break;
case 5:
// case
M.editEntity(null, context, invoice, null);
// goto after switch
$async$goto = 4;
break;
case 6:
// case
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.ShowPdfInvoice(invoice, context, null));
// goto after switch
$async$goto = 4;
break;
case 7:
// case
t1 = invoice.invitations._list;
t2 = J.getInterceptor$asx(t1);
$async$goto = 28;
return P._asyncAwait(T.canLaunch(t2.get$isEmpty(t1) ? "" : t2.get$first(t1).link + "?silent=true"), $async$handleInvoiceAction);
case 28:
// returning from await.
$async$goto = $async$result ? 26 : 27;
break;
case 26:
// then
$async$goto = 29;
return P._asyncAwait(T.launch(t2.get$isEmpty(t1) ? "" : t2.get$first(t1).link + "?silent=true", false, false), $async$handleInvoiceAction);
case 29:
// returning from await.
case 27:
// join
// goto after switch
$async$goto = 4;
break;
case 8:
// case
if (invoiceIds.length === 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "marked_invoice_as_sent");
if (t1 == null)
t1 = "";
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "marked_invoices_as_sent");
if (t1 == null)
t1 = "";
}
t1 = O.snackBarCompleter(context, t1, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.MarkInvoicesSentRequest(t1, invoiceIds));
// goto after switch
$async$goto = 4;
break;
case 9:
// case
if (invoiceIds.length === 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "reversed_invoice");
if (t1 == null)
t1 = "";
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "reversed_invoices");
if (t1 == null)
t1 = "";
}
t1 = O.snackBarCompleter(context, t1, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.ReverseInvoicesRequest(t1, invoiceIds));
// goto after switch
$async$goto = 4;
break;
case 10:
// case
if (invoiceIds.length === 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "cancelled_invoice");
if (t1 == null)
t1 = "";
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "cancelled_invoices");
if (t1 == null)
t1 = "";
}
t1 = O.snackBarCompleter(context, t1, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.CancelInvoicesRequest(t1, invoiceIds));
// goto after switch
$async$goto = 4;
break;
case 11:
// case
if (invoiceIds.length === 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "marked_invoice_as_paid");
if (t1 == null)
t1 = "";
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "marked_invoices_as_paid");
if (t1 == null)
t1 = "";
}
t1 = O.snackBarCompleter(context, t1, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.MarkInvoicesPaidRequest(t1, invoiceIds));
// goto after switch
$async$goto = 4;
break;
case 12:
// case
case 13:
// case
_box_0.emailValid = true;
C.JSArray_methods.forEach$1(invoiceIds, new Q.handleInvoiceAction_closure0(_box_0, state, invoice));
if (!_box_0.emailValid) {
O.showMessageDialog(context, t1.get$clientEmailNotSet(), H.setRuntimeTypeInfo([U.TextButton$(false, L.Text$(t1.get$editClient().toUpperCase(), null, null, null, null, null, null, null, null, null), null, new Q.handleInvoiceAction_closure1(context, state, invoice), null)], type$.JSArray_legacy_TextButton));
// goto return
$async$goto = 1;
break;
}
if (action === C.EntityAction_emailInvoice) {
t1 = O.snackBarCompleter(context, t1.get$emailedInvoice(), false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.ShowEmailInvoice(invoice, context, t1));
} else {
if (invoiceIds.length === 1)
t1 = t1.get$emailedInvoice();
else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "emailed_invoices");
if (t1 == null)
t1 = "";
}
t1 = O.snackBarCompleter(context, t1, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.BulkEmailInvoicesRequest(t1, invoiceIds));
}
// goto after switch
$async$goto = 4;
break;
case 14:
// case
O.cloneToDialog(context, invoice);
// goto after switch
$async$goto = 4;
break;
case 15:
// case
M.createEntity(null, null, context, invoice.get$clone(invoice), null, false);
// goto after switch
$async$goto = 4;
break;
case 16:
// case
designId = A.getDesignIdForClientByEntity(invoice.clientId, C.EntityType_quote, state);
M.createEntity(null, null, context, invoice.get$clone(invoice).rebuild$1(new Q.handleInvoiceAction_closure2(designId)), null, false);
// goto after switch
$async$goto = 4;
break;
case 17:
// case
designId = A.getDesignIdForClientByEntity(invoice.clientId, C.EntityType_credit, state);
M.createEntity(null, null, context, invoice.get$clone(invoice).rebuild$1(new Q.handleInvoiceAction_closure3(designId)), null, false);
// goto after switch
$async$goto = 4;
break;
case 18:
// case
M.createEntity(null, null, context, invoice.get$clone(invoice).rebuild$1(new Q.handleInvoiceAction_closure4()), null, false);
// goto after switch
$async$goto = 4;
break;
case 19:
// case
t1 = F.PaymentEntity_PaymentEntity(null, null, state).rebuild$1(new Q.handleInvoiceAction_closure5(invoice, invoices));
t2 = state.userCompanyStates;
t3 = state.uiState.selectedCompanyIndex;
t3 = J.$index$asx(t2._list, t3).clientState.map;
t2 = invoice.clientId;
M.createEntity(null, null, context, t1, J.$index$asx(t3._map$_map, t2), false);
// goto after switch
$async$goto = 4;
break;
case 20:
// case
t1 = O.snackBarCompleter(context, t1.get$exportedData(), false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.DownloadInvoicesRequest(t1, invoiceIds));
// goto after switch
$async$goto = 4;
break;
case 21:
// case
t2 = invoiceIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_invoices");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, ":value", C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_invoice");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.RestoreInvoicesRequest(t1, invoiceIds));
// goto after switch
$async$goto = 4;
break;
case 22:
// case
t2 = invoiceIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_invoices");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, ":value", C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_invoice");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.ArchiveInvoicesRequest(t1, invoiceIds));
// goto after switch
$async$goto = 4;
break;
case 23:
// case
t2 = invoiceIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_invoices");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, ":value", C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_invoice");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.DeleteInvoicesRequest(t1, invoiceIds));
// goto after switch
$async$goto = 4;
break;
case 24:
// case
if (store.get$_store$_state().uiState.invoiceUIState.listUIState.selectedIds == null)
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.StartInvoiceMultiselect());
for (t1 = invoices.length, _i = 0; _i < invoices.length; invoices.length === t1 || (0, H.throwConcurrentModificationError)(invoices), ++_i) {
invoice = invoices[_i];
t2 = store.__Store__state;
t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI("_state")) : t2).uiState.invoiceUIState.listUIState;
t3 = J.get$id$x(invoice);
t2 = t2.selectedIds;
t2 = t2 != null && J.contains$1$asx(t2._list, t3);
t3 = store.__Store__dispatchers;
if (!t2)
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_dispatchers")) : t3, 0).call$1(new Q.AddToInvoiceMultiselect(invoice));
else
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_dispatchers")) : t3, 0).call$1(new Q.RemoveFromInvoiceMultiselect(invoice));
}
// goto after switch
$async$goto = 4;
break;
case 25:
// case
L.showEntityActionsDialog(null, H.setRuntimeTypeInfo([invoice], type$.JSArray_legacy_BaseEntity), false);
// goto after switch
$async$goto = 4;
break;
case 4:
// after switch
case 1:
// return
return P._asyncReturn($async$returnValue, $async$completer);
}
});
return P._asyncStartSync($async$handleInvoiceAction, $async$completer);
},
ViewInvoiceList: function ViewInvoiceList() {
},
ViewInvoice: function ViewInvoice(t0) {
this.invoiceId = t0;
},
EditInvoice: function EditInvoice(t0, t1) {
this.invoice = t0;
this.invoiceItemIndex = t1;
},
ShowEmailInvoice: function ShowEmailInvoice(t0, t1, t2) {
this.invoice = t0;
this.context = t1;
this.completer = t2;
},
ShowPdfInvoice: function ShowPdfInvoice(t0, t1, t2) {
this.invoice = t0;
this.context = t1;
this.activityId = t2;
},
EditInvoiceItem: function EditInvoiceItem(t0) {
this.invoiceItemIndex = t0;
},
UpdateInvoice: function UpdateInvoice(t0) {
this.invoice = t0;
},
UpdateInvoiceClient: function UpdateInvoiceClient(t0) {
this.client = t0;
},
LoadInvoice: function LoadInvoice(t0, t1) {
this.completer = t0;
this.invoiceId = t1;
},
LoadInvoices: function LoadInvoices() {
},
LoadInvoiceRequest: function LoadInvoiceRequest() {
},
LoadInvoiceFailure: function LoadInvoiceFailure(t0) {
this.error = t0;
},
LoadInvoiceSuccess: function LoadInvoiceSuccess(t0) {
this.invoice = t0;
},
LoadInvoicesRequest: function LoadInvoicesRequest() {
},
LoadInvoicesFailure: function LoadInvoicesFailure(t0) {
this.error = t0;
},
LoadInvoicesSuccess: function LoadInvoicesSuccess(t0) {
this.invoices = t0;
},
AddInvoiceContact: function AddInvoiceContact(t0, t1) {
this.contact = t0;
this.invitation = t1;
},
RemoveInvoiceContact: function RemoveInvoiceContact(t0) {
this.invitation = t0;
},
AddInvoiceItem: function AddInvoiceItem(t0) {
this.invoiceItem = t0;
},
MoveInvoiceItem: function MoveInvoiceItem(t0, t1) {
this.oldIndex = t0;
this.newIndex = t1;
},
AddInvoiceItems: function AddInvoiceItems(t0) {
this.lineItems = t0;
},
UpdateInvoiceItem: function UpdateInvoiceItem(t0, t1) {
this.index = t0;
this.invoiceItem = t1;
},
DeleteInvoiceItem: function DeleteInvoiceItem(t0) {
this.index = t0;
},
SaveInvoiceRequest: function SaveInvoiceRequest(t0, t1, t2) {
this.completer = t0;
this.invoice = t1;
this.entityAction = t2;
},
SaveInvoiceSuccess: function SaveInvoiceSuccess(t0) {
this.invoice = t0;
},
AddInvoiceSuccess: function AddInvoiceSuccess(t0) {
this.invoice = t0;
},
SaveInvoiceFailure: function SaveInvoiceFailure() {
},
EmailInvoiceRequest: function EmailInvoiceRequest(t0, t1, t2, t3, t4) {
var _ = this;
_.completer = t0;
_.invoiceId = t1;
_.template = t2;
_.subject = t3;
_.body = t4;
},
EmailInvoiceSuccess: function EmailInvoiceSuccess(t0) {
this.invoice = t0;
},
EmailInvoiceFailure: function EmailInvoiceFailure() {
},
MarkInvoicesSentRequest: function MarkInvoicesSentRequest(t0, t1) {
this.completer = t0;
this.invoiceIds = t1;
},
MarkInvoicesSentSuccess: function MarkInvoicesSentSuccess(t0) {
this.invoices = t0;
},
MarkInvoicesSentFailure: function MarkInvoicesSentFailure() {
},
BulkEmailInvoicesRequest: function BulkEmailInvoicesRequest(t0, t1) {
this.completer = t0;
this.invoiceIds = t1;
},
BulkEmailInvoicesSuccess: function BulkEmailInvoicesSuccess() {
},
BulkEmailInvoicesFailure: function BulkEmailInvoicesFailure() {
},
MarkInvoicesPaidRequest: function MarkInvoicesPaidRequest(t0, t1) {
this.completer = t0;
this.invoiceIds = t1;
},
MarkInvoicesPaidSuccess: function MarkInvoicesPaidSuccess(t0) {
this.invoices = t0;
},
MarkInvoicesPaidFailure: function MarkInvoicesPaidFailure() {
},
ReverseInvoicesRequest: function ReverseInvoicesRequest(t0, t1) {
this.completer = t0;
this.invoiceIds = t1;
},
ReverseInvoicesSuccess: function ReverseInvoicesSuccess(t0) {
this.invoices = t0;
},
ReverseInvoicesFailure: function ReverseInvoicesFailure() {
},
CancelInvoicesRequest: function CancelInvoicesRequest(t0, t1) {
this.completer = t0;
this.invoiceIds = t1;
},
CancelInvoicesSuccess: function CancelInvoicesSuccess(t0) {
this.invoices = t0;
},
CancelInvoicesFailure: function CancelInvoicesFailure() {
},
ArchiveInvoicesRequest: function ArchiveInvoicesRequest(t0, t1) {
this.completer = t0;
this.invoiceIds = t1;
},
ArchiveInvoicesSuccess: function ArchiveInvoicesSuccess(t0) {
this.invoices = t0;
},
ArchiveInvoicesFailure: function ArchiveInvoicesFailure() {
},
DeleteInvoicesRequest: function DeleteInvoicesRequest(t0, t1) {
this.completer = t0;
this.invoiceIds = t1;
},
DeleteInvoicesSuccess: function DeleteInvoicesSuccess(t0) {
this.invoices = t0;
},
DeleteInvoicesFailure: function DeleteInvoicesFailure() {
},
DownloadInvoicesRequest: function DownloadInvoicesRequest(t0, t1) {
this.completer = t0;
this.invoiceIds = t1;
},
DownloadInvoicesSuccess: function DownloadInvoicesSuccess() {
},
DownloadInvoicesFailure: function DownloadInvoicesFailure() {
},
RestoreInvoicesRequest: function RestoreInvoicesRequest(t0, t1) {
this.completer = t0;
this.invoiceIds = t1;
},
RestoreInvoicesSuccess: function RestoreInvoicesSuccess(t0) {
this.invoices = t0;
},
RestoreInvoicesFailure: function RestoreInvoicesFailure() {
},
FilterInvoices: function FilterInvoices(t0) {
this.filter = t0;
},
SortInvoices: function SortInvoices(t0) {
this.field = t0;
},
FilterInvoicesByState: function FilterInvoicesByState(t0) {
this.state = t0;
},
FilterInvoicesByStatus: function FilterInvoicesByStatus(t0) {
this.status = t0;
},
FilterInvoicesByCustom1: function FilterInvoicesByCustom1(t0) {
this.value = t0;
},
FilterInvoicesByCustom2: function FilterInvoicesByCustom2(t0) {
this.value = t0;
},
FilterInvoicesByCustom3: function FilterInvoicesByCustom3(t0) {
this.value = t0;
},
FilterInvoicesByCustom4: function FilterInvoicesByCustom4(t0) {
this.value = t0;
},
StartInvoiceMultiselect: function StartInvoiceMultiselect() {
},
AddToInvoiceMultiselect: function AddToInvoiceMultiselect(t0) {
this.entity = t0;
},
RemoveFromInvoiceMultiselect: function RemoveFromInvoiceMultiselect(t0) {
this.entity = t0;
},
ClearInvoiceMultiselect: function ClearInvoiceMultiselect() {
},
SaveInvoiceDocumentRequest: function SaveInvoiceDocumentRequest(t0, t1, t2) {
this.completer = t0;
this.multipartFile = t1;
this.invoice = t2;
},
SaveInvoiceDocumentFailure: function SaveInvoiceDocumentFailure() {
},
UpdateInvoiceTab: function UpdateInvoiceTab(t0) {
this.tabIndex = t0;
},
handleInvoiceAction_closure: function handleInvoiceAction_closure() {
},
handleInvoiceAction_closure0: function handleInvoiceAction_closure0(t0, t1, t2) {
this._box_0 = t0;
this.state = t1;
this.invoice = t2;
},
handleInvoiceAction_closure1: function handleInvoiceAction_closure1(t0, t1, t2) {
this.context = t0;
this.state = t1;
this.invoice = t2;
},
handleInvoiceAction_closure2: function handleInvoiceAction_closure2(t0) {
this.designId = t0;
},
handleInvoiceAction_closure3: function handleInvoiceAction_closure3(t0) {
this.designId = t0;
},
handleInvoiceAction_closure4: function handleInvoiceAction_closure4() {
},
handleInvoiceAction_closure5: function handleInvoiceAction_closure5(t0, t1) {
this.invoice = t0;
this.invoices = t1;
},
handleInvoiceAction__closure: function handleInvoiceAction__closure() {
},
handleInvoiceAction__closure0: function handleInvoiceAction__closure0() {
},
handlePaymentAction: function(context, payments, action) {
var store, t1, t2, company, paymentIds, payment, message, _i, t3, _null = null, _s6_ = ":value",
_s12_ = "_dispatchers",
_box_0 = {};
if (payments.length === 0)
return;
store = O.StoreProvider_of(context, type$.legacy_AppState);
t1 = store.get$_store$_state();
t2 = t1.userCompanyStates;
t1 = t1.uiState.selectedCompanyIndex;
company = J.$index$asx(t2._list, t1).userCompany.company;
t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
t2 = H._arrayInstanceType(payments)._eval$1("MappedListIterable<1,String*>");
paymentIds = P.List_List$of(new H.MappedListIterable(payments, new Q.handlePaymentAction_closure(), t2), true, t2._eval$1("ListIterable.E"));
payment = type$.legacy_PaymentEntity._as(C.JSArray_methods.get$first(payments));
_box_0.payment = payment;
switch (action) {
case C.EntityAction_edit:
M.editEntity(_null, context, payment, _null);
break;
case C.EntityAction_apply:
M.viewEntity(false, payment, _null, false);
$.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new Q.handlePaymentAction_closure0(_box_0, context));
break;
case C.EntityAction_refund:
M.viewEntity(false, payment, _null, false);
$.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new Q.handlePaymentAction_closure1(_box_0, store, company));
break;
case C.EntityAction_emailPayment:
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "emailed_payment");
if (t1 == null)
t1 = "";
t1 = O.snackBarCompleter(context, t1, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.EmailPaymentRequest(t1, paymentIds));
break;
case C.EntityAction_restore:
t2 = paymentIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_payments");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_payment");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.RestorePaymentsRequest(t1, paymentIds));
break;
case C.EntityAction_archive:
t2 = paymentIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_payments");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_payment");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.ArchivePaymentsRequest(t1, paymentIds));
break;
case C.EntityAction_delete:
t2 = paymentIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_payments");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_payment");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.DeletePaymentsRequest(t1, paymentIds));
break;
case C.EntityAction_toggleMultiselect:
if (store.get$_store$_state().uiState.paymentUIState.listUIState.selectedIds == null)
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.StartPaymentMultiselect());
t1 = payments.length;
if (t1 === 0)
break;
for (_i = 0; _i < payments.length; payments.length === t1 || (0, H.throwConcurrentModificationError)(payments), ++_i) {
payment = payments[_i];
t2 = store.__Store__state;
t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI("_state")) : t2).uiState.paymentUIState.listUIState;
t3 = J.get$id$x(payment);
t2 = t2.selectedIds;
t2 = t2 != null && J.contains$1$asx(t2._list, t3);
t3 = store.__Store__dispatchers;
if (!t2)
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new Q.AddToPaymentMultiselect(payment));
else
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new Q.RemoveFromPaymentMultiselect(payment));
}
break;
case C.EntityAction_more:
L.showEntityActionsDialog(_null, H.setRuntimeTypeInfo([payment], type$.JSArray_legacy_BaseEntity), false);
break;
}
},
ViewPaymentList: function ViewPaymentList() {
},
ViewPayment: function ViewPayment(t0) {
this.paymentId = t0;
},
EditPayment: function EditPayment(t0) {
this.payment = t0;
},
ViewRefundPayment: function ViewRefundPayment(t0) {
this.payment = t0;
},
UpdatePayment: function UpdatePayment(t0) {
this.payment = t0;
},
LoadPayment: function LoadPayment(t0, t1) {
this.completer = t0;
this.paymentId = t1;
},
LoadPayments: function LoadPayments() {
},
LoadPaymentRequest: function LoadPaymentRequest() {
},
LoadPaymentFailure: function LoadPaymentFailure(t0) {
this.error = t0;
},
LoadPaymentSuccess: function LoadPaymentSuccess(t0) {
this.payment = t0;
},
LoadPaymentsRequest: function LoadPaymentsRequest() {
},
LoadPaymentsFailure: function LoadPaymentsFailure(t0) {
this.error = t0;
},
LoadPaymentsSuccess: function LoadPaymentsSuccess(t0) {
this.payments = t0;
},
SavePaymentRequest: function SavePaymentRequest(t0, t1) {
this.completer = t0;
this.payment = t1;
},
SavePaymentSuccess: function SavePaymentSuccess(t0) {
this.payment = t0;
},
AddPaymentSuccess: function AddPaymentSuccess(t0) {
this.payment = t0;
},
SavePaymentFailure: function SavePaymentFailure() {
},
RefundPaymentRequest: function RefundPaymentRequest(t0, t1) {
this.completer = t0;
this.payment = t1;
},
RefundPaymentSuccess: function RefundPaymentSuccess(t0) {
this.payment = t0;
},
RefundPaymentFailure: function RefundPaymentFailure() {
},
ArchivePaymentsRequest: function ArchivePaymentsRequest(t0, t1) {
this.completer = t0;
this.paymentIds = t1;
},
ArchivePaymentsSuccess: function ArchivePaymentsSuccess(t0) {
this.payments = t0;
},
ArchivePaymentsFailure: function ArchivePaymentsFailure() {
},
DeletePaymentsRequest: function DeletePaymentsRequest(t0, t1) {
this.completer = t0;
this.paymentIds = t1;
},
DeletePaymentsSuccess: function DeletePaymentsSuccess(t0) {
this.payments = t0;
},
DeletePaymentsFailure: function DeletePaymentsFailure() {
},
RestorePaymentsRequest: function RestorePaymentsRequest(t0, t1) {
this.completer = t0;
this.paymentIds = t1;
},
RestorePaymentsSuccess: function RestorePaymentsSuccess(t0) {
this.payments = t0;
},
RestorePaymentsFailure: function RestorePaymentsFailure() {
},
EmailPaymentRequest: function EmailPaymentRequest(t0, t1) {
this.completer = t0;
this.paymentIds = t1;
},
EmailPaymentSuccess: function EmailPaymentSuccess() {
},
FilterPayments: function FilterPayments(t0) {
this.filter = t0;
},
SortPayments: function SortPayments(t0) {
this.field = t0;
},
FilterPaymentsByState: function FilterPaymentsByState(t0) {
this.state = t0;
},
FilterPaymentsByCustom1: function FilterPaymentsByCustom1(t0) {
this.value = t0;
},
FilterPaymentsByCustom2: function FilterPaymentsByCustom2(t0) {
this.value = t0;
},
FilterPaymentsByCustom3: function FilterPaymentsByCustom3(t0) {
this.value = t0;
},
FilterPaymentsByCustom4: function FilterPaymentsByCustom4(t0) {
this.value = t0;
},
StartPaymentMultiselect: function StartPaymentMultiselect() {
},
AddToPaymentMultiselect: function AddToPaymentMultiselect(t0) {
this.entity = t0;
},
RemoveFromPaymentMultiselect: function RemoveFromPaymentMultiselect(t0) {
this.entity = t0;
},
ClearPaymentMultiselect: function ClearPaymentMultiselect() {
},
handlePaymentAction_closure: function handlePaymentAction_closure() {
},
handlePaymentAction_closure0: function handlePaymentAction_closure0(t0, t1) {
this._box_0 = t0;
this.context = t1;
},
handlePaymentAction__closure1: function handlePaymentAction__closure1() {
},
handlePaymentAction_closure1: function handlePaymentAction_closure1(t0, t1, t2) {
this._box_0 = t0;
this.store = t1;
this.company = t2;
},
handlePaymentAction__closure: function handlePaymentAction__closure(t0) {
this._box_0 = t0;
},
handlePaymentAction__closure0: function handlePaymentAction__closure0(t0) {
this.company = t0;
},
paymentsByInvoiceSelector: function(invoiceId, paymentMap, paymentList) {
var t1 = J.map$1$1$ax(paymentList._list, new Q.paymentsByInvoiceSelector_closure(paymentMap), type$.legacy_PaymentEntity).where$1(0, new Q.paymentsByInvoiceSelector_closure0(invoiceId));
return P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
},
paymentsByCreditSelector: function(creditId, paymentMap, paymentList) {
var t1 = J.map$1$1$ax(paymentList._list, new Q.paymentsByCreditSelector_closure(paymentMap), type$.legacy_PaymentEntity).where$1(0, new Q.paymentsByCreditSelector_closure0(creditId));
return P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
},
filteredPaymentsSelector: function(selectionState, paymentMap, paymentList, invoiceMap, clientMap, userMap, paymentListState) {
var filterEntityId = selectionState.filterEntityId,
filterEntityType = selectionState.filterEntityType,
t1 = J.where$1$ax(paymentList._list, new Q.filteredPaymentsSelector_closure(paymentMap, paymentListState, clientMap, selectionState, filterEntityType, filterEntityId)),
list = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
C.JSArray_methods.sort$1(list, new Q.filteredPaymentsSelector_closure0(paymentMap, paymentListState, invoiceMap, clientMap, userMap));
return list;
},
paymentStatsForClient: function(clientId, paymentMap, invoiceMap) {
var t1 = {};
t1.countArchived = t1.countActive = 0;
J.forEach$1$ax(paymentMap._map$_map, new Q.paymentStatsForClient_closure(t1, clientId));
return new T.EntityStats(t1.countActive, t1.countArchived);
},
memoizedPaymentsByInvoice_closure: function memoizedPaymentsByInvoice_closure() {
},
paymentsByInvoiceSelector_closure: function paymentsByInvoiceSelector_closure(t0) {
this.paymentMap = t0;
},
paymentsByInvoiceSelector_closure0: function paymentsByInvoiceSelector_closure0(t0) {
this.invoiceId = t0;
},
paymentsByInvoiceSelector__closure: function paymentsByInvoiceSelector__closure() {
},
memoizedPaymentsByCredit_closure: function memoizedPaymentsByCredit_closure() {
},
paymentsByCreditSelector_closure: function paymentsByCreditSelector_closure(t0) {
this.paymentMap = t0;
},
paymentsByCreditSelector_closure0: function paymentsByCreditSelector_closure0(t0) {
this.creditId = t0;
},
paymentsByCreditSelector__closure: function paymentsByCreditSelector__closure() {
},
memoizedFilteredPaymentList_closure: function memoizedFilteredPaymentList_closure() {
},
filteredPaymentsSelector_closure: function filteredPaymentsSelector_closure(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.paymentMap = t0;
_.paymentListState = t1;
_.clientMap = t2;
_.selectionState = t3;
_.filterEntityType = t4;
_.filterEntityId = t5;
},
filteredPaymentsSelector__closure: function filteredPaymentsSelector__closure() {
},
filteredPaymentsSelector_closure0: function filteredPaymentsSelector_closure0(t0, t1, t2, t3, t4) {
var _ = this;
_.paymentMap = t0;
_.paymentListState = t1;
_.invoiceMap = t2;
_.clientMap = t3;
_.userMap = t4;
},
memoizedPaymentStatsForClient_closure: function memoizedPaymentStatsForClient_closure() {
},
paymentStatsForClient_closure: function paymentStatsForClient_closure(t0, t1) {
this._box_0 = t0;
this.clientId = t1;
},
_editProject: function() {
return new Q._editProject_closure();
},
_viewProject: function() {
return new Q._viewProject_closure();
},
_viewProjectList: function() {
return new Q._viewProjectList_closure0();
},
_archiveProject: function(repository) {
return new Q._archiveProject_closure(repository);
},
_deleteProject: function(repository) {
return new Q._deleteProject_closure(repository);
},
_restoreProject: function(repository) {
return new Q._restoreProject_closure(repository);
},
_saveProject: function(repository) {
return new Q._saveProject_closure(repository);
},
_loadProject: function(repository) {
return new Q._loadProject_closure(repository);
},
_loadProjects: function(repository) {
return new Q._loadProjects_closure(repository);
},
_saveDocument5: function(repository) {
return new Q._saveDocument_closure5(repository);
},
_editProject_closure: function _editProject_closure() {
},
_viewProject_closure: function _viewProject_closure() {
},
_viewProjectList_closure0: function _viewProjectList_closure0() {
},
_viewProjectList__closure: function _viewProjectList__closure() {
},
_archiveProject_closure: function _archiveProject_closure(t0) {
this.repository = t0;
},
_archiveProject__closure: function _archiveProject__closure(t0) {
this.store = t0;
},
_archiveProject__closure0: function _archiveProject__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archiveProject__closure1: function _archiveProject__closure1(t0, t1, t2) {
this.store = t0;
this.prevProjects = t1;
this.action = t2;
},
_deleteProject_closure: function _deleteProject_closure(t0) {
this.repository = t0;
},
_deleteProject__closure: function _deleteProject__closure(t0) {
this.store = t0;
},
_deleteProject__closure0: function _deleteProject__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_deleteProject__closure1: function _deleteProject__closure1(t0, t1, t2) {
this.store = t0;
this.prevProjects = t1;
this.action = t2;
},
_restoreProject_closure: function _restoreProject_closure(t0) {
this.repository = t0;
},
_restoreProject__closure: function _restoreProject__closure(t0) {
this.store = t0;
},
_restoreProject__closure0: function _restoreProject__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restoreProject__closure1: function _restoreProject__closure1(t0, t1, t2) {
this.store = t0;
this.prevProjects = t1;
this.action = t2;
},
_saveProject_closure: function _saveProject_closure(t0) {
this.repository = t0;
},
_saveProject__closure: function _saveProject__closure(t0, t1) {
this.action = t0;
this.store = t1;
},
_saveProject__closure0: function _saveProject__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadProject_closure: function _loadProject_closure(t0) {
this.repository = t0;
},
_loadProject__closure: function _loadProject__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadProject__closure0: function _loadProject__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadProjects_closure: function _loadProjects_closure(t0) {
this.repository = t0;
},
_loadProjects__closure: function _loadProjects__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadProjects__closure0: function _loadProjects__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument_closure5: function _saveDocument_closure5(t0) {
this.repository = t0;
},
_saveDocument__closure11: function _saveDocument__closure11(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument__closure12: function _saveDocument__closure12(t0, t1) {
this.store = t0;
this.action = t1;
},
convertProjectToInvoiceItem: function(context, project) {
var t3, expenses, i, item,
items = H.setRuntimeTypeInfo([], type$.JSArray_legacy_InvoiceItemEntity),
state = O.StoreProvider_of(context, type$.legacy_AppState).get$_store$_state(),
tasks = H.setRuntimeTypeInfo([], type$.JSArray_legacy_TaskEntity),
t1 = state.userCompanyStates,
t2 = state.uiState.selectedCompanyIndex;
t1 = t1._list;
t3 = J.getInterceptor$asx(t1);
J.forEach$1$ax(t3.$index(t1, t2).taskState.map._map$_map, new Q.convertProjectToInvoiceItem_closure(project, tasks));
expenses = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ExpenseEntity);
J.forEach$1$ax(t3.$index(t1, t2).expenseState.map._map$_map, new Q.convertProjectToInvoiceItem_closure0(project, expenses));
C.JSArray_methods.sort$1(tasks, new Q.convertProjectToInvoiceItem_closure1());
C.JSArray_methods.sort$1(expenses, new Q.convertProjectToInvoiceItem_closure2());
for (i = 0; i < tasks.length; ++i) {
t1 = {};
item = t1.item = U.convertTaskToInvoiceItem(context, tasks[i]);
if (i === 0) {
t2 = new Q.InvoiceItemEntityBuilder();
t2.get$_invoice_model$_$this()._productCost = 0;
t2._invoice_model$_$v = item;
new Q.convertProjectToInvoiceItem_closure3(t1, project).call$1(t2);
t1 = t1.item = t2.build$0(0);
} else
t1 = item;
items.push(t1);
}
for (i = 0; i < expenses.length; ++i) {
t1 = {};
item = t1.item = L.convertExpenseToInvoiceItem(context, expenses[i]);
if (i === 0) {
t2 = new Q.InvoiceItemEntityBuilder();
t2.get$_invoice_model$_$this()._productCost = 0;
t2._invoice_model$_$v = item;
new Q.convertProjectToInvoiceItem_closure4(t1, project).call$1(t2);
t1 = t1.item = t2.build$0(0);
} else
t1 = item;
items.push(t1);
}
return items;
},
dropdownProjectsSelector: function(projectMap, projectList, clientMap, userMap, clientId) {
var t1 = J.where$1$ax(projectList._list, new Q.dropdownProjectsSelector_closure(projectMap, clientId, clientMap)),
list = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
C.JSArray_methods.sort$1(list, new Q.dropdownProjectsSelector_closure0(projectMap, userMap, clientMap));
return list;
},
filteredProjectsSelector: function(selectionState, projectMap, projectList, projectListState, clientMap, userMap) {
var filterEntityId = selectionState.filterEntityId,
filterEntityType = selectionState.filterEntityType,
t1 = J.where$1$ax(projectList._list, new Q.filteredProjectsSelector_closure(projectMap, clientMap, userMap, selectionState, filterEntityId, filterEntityType, projectListState)),
list = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
C.JSArray_methods.sort$1(list, new Q.filteredProjectsSelector_closure0(projectMap, projectListState, userMap, clientMap));
return list;
},
taskDurationForProject: function(project, taskMap) {
var t1 = {};
t1.total = 0;
J.forEach$1$ax(taskMap._map$_map, new Q.taskDurationForProject_closure(t1, project));
return P.Duration$(0, 0, 0, 0, 0, t1.total);
},
projectStatsForClient: function(clientId, projectMap) {
var t1 = {};
t1.countArchived = t1.countActive = 0;
J.forEach$1$ax(projectMap._map$_map, new Q.projectStatsForClient_closure(t1, clientId));
return new T.EntityStats(t1.countActive, t1.countArchived);
},
convertProjectToInvoiceItem_closure: function convertProjectToInvoiceItem_closure(t0, t1) {
this.project = t0;
this.tasks = t1;
},
convertProjectToInvoiceItem_closure0: function convertProjectToInvoiceItem_closure0(t0, t1) {
this.project = t0;
this.expenses = t1;
},
convertProjectToInvoiceItem_closure1: function convertProjectToInvoiceItem_closure1() {
},
convertProjectToInvoiceItem_closure2: function convertProjectToInvoiceItem_closure2() {
},
convertProjectToInvoiceItem_closure3: function convertProjectToInvoiceItem_closure3(t0, t1) {
this._box_0 = t0;
this.project = t1;
},
convertProjectToInvoiceItem_closure4: function convertProjectToInvoiceItem_closure4(t0, t1) {
this._box_1 = t0;
this.project = t1;
},
memoizedDropdownProjectList_closure: function memoizedDropdownProjectList_closure() {
},
dropdownProjectsSelector_closure: function dropdownProjectsSelector_closure(t0, t1, t2) {
this.projectMap = t0;
this.clientId = t1;
this.clientMap = t2;
},
dropdownProjectsSelector_closure0: function dropdownProjectsSelector_closure0(t0, t1, t2) {
this.projectMap = t0;
this.userMap = t1;
this.clientMap = t2;
},
memoizedFilteredProjectList_closure: function memoizedFilteredProjectList_closure() {
},
filteredProjectsSelector_closure: function filteredProjectsSelector_closure(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.projectMap = t0;
_.clientMap = t1;
_.userMap = t2;
_.selectionState = t3;
_.filterEntityId = t4;
_.filterEntityType = t5;
_.projectListState = t6;
},
filteredProjectsSelector_closure0: function filteredProjectsSelector_closure0(t0, t1, t2, t3) {
var _ = this;
_.projectMap = t0;
_.projectListState = t1;
_.userMap = t2;
_.clientMap = t3;
},
taskDurationForProject_closure: function taskDurationForProject_closure(t0, t1) {
this._box_0 = t0;
this.project = t1;
},
memoizedProjectStatsForClient_closure: function memoizedProjectStatsForClient_closure() {
},
projectStatsForClient_closure: function projectStatsForClient_closure(t0, t1) {
this._box_0 = t0;
this.clientId = t1;
},
memoizedProjectStatsForUser_closure: function memoizedProjectStatsForUser_closure() {
},
_editRecurringInvoice: function() {
return new Q._editRecurringInvoice_closure();
},
_viewRecurringInvoice: function() {
return new Q._viewRecurringInvoice_closure();
},
_viewRecurringInvoiceList: function() {
return new Q._viewRecurringInvoiceList_closure();
},
_showPdfRecurringInvoice: function() {
return new Q._showPdfRecurringInvoice_closure();
},
_startRecurringInvoice: function(repository) {
return new Q._startRecurringInvoice_closure(repository);
},
_stopRecurringInvoice: function(repository) {
return new Q._stopRecurringInvoice_closure(repository);
},
_archiveRecurringInvoice: function(repository) {
return new Q._archiveRecurringInvoice_closure(repository);
},
_deleteRecurringInvoice: function(repository) {
return new Q._deleteRecurringInvoice_closure(repository);
},
_restoreRecurringInvoice: function(repository) {
return new Q._restoreRecurringInvoice_closure(repository);
},
_saveRecurringInvoice: function(repository) {
return new Q._saveRecurringInvoice_closure(repository);
},
_loadRecurringInvoice: function(repository) {
return new Q._loadRecurringInvoice_closure(repository);
},
_loadRecurringInvoices: function(repository) {
return new Q._loadRecurringInvoices_closure(repository);
},
_saveDocument9: function(repository) {
return new Q._saveDocument_closure1(repository);
},
_editRecurringInvoice_closure: function _editRecurringInvoice_closure() {
},
_viewRecurringInvoice_closure: function _viewRecurringInvoice_closure() {
},
_viewRecurringInvoiceList_closure: function _viewRecurringInvoiceList_closure() {
},
_viewRecurringInvoiceList__closure: function _viewRecurringInvoiceList__closure() {
},
_showPdfRecurringInvoice_closure: function _showPdfRecurringInvoice_closure() {
},
_startRecurringInvoice_closure: function _startRecurringInvoice_closure(t0) {
this.repository = t0;
},
_startRecurringInvoice__closure: function _startRecurringInvoice__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_startRecurringInvoice__closure0: function _startRecurringInvoice__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_stopRecurringInvoice_closure: function _stopRecurringInvoice_closure(t0) {
this.repository = t0;
},
_stopRecurringInvoice__closure: function _stopRecurringInvoice__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_stopRecurringInvoice__closure0: function _stopRecurringInvoice__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archiveRecurringInvoice_closure: function _archiveRecurringInvoice_closure(t0) {
this.repository = t0;
},
_archiveRecurringInvoice__closure: function _archiveRecurringInvoice__closure(t0) {
this.store = t0;
},
_archiveRecurringInvoice__closure0: function _archiveRecurringInvoice__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archiveRecurringInvoice__closure1: function _archiveRecurringInvoice__closure1(t0, t1, t2) {
this.store = t0;
this.prevRecurringInvoices = t1;
this.action = t2;
},
_deleteRecurringInvoice_closure: function _deleteRecurringInvoice_closure(t0) {
this.repository = t0;
},
_deleteRecurringInvoice__closure: function _deleteRecurringInvoice__closure(t0) {
this.store = t0;
},
_deleteRecurringInvoice__closure0: function _deleteRecurringInvoice__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_deleteRecurringInvoice__closure1: function _deleteRecurringInvoice__closure1(t0, t1, t2) {
this.store = t0;
this.prevRecurringInvoices = t1;
this.action = t2;
},
_restoreRecurringInvoice_closure: function _restoreRecurringInvoice_closure(t0) {
this.repository = t0;
},
_restoreRecurringInvoice__closure: function _restoreRecurringInvoice__closure(t0) {
this.store = t0;
},
_restoreRecurringInvoice__closure0: function _restoreRecurringInvoice__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restoreRecurringInvoice__closure1: function _restoreRecurringInvoice__closure1(t0, t1, t2) {
this.store = t0;
this.prevRecurringInvoices = t1;
this.action = t2;
},
_saveRecurringInvoice_closure: function _saveRecurringInvoice_closure(t0) {
this.repository = t0;
},
_saveRecurringInvoice__closure: function _saveRecurringInvoice__closure(t0) {
this.action = t0;
},
_saveRecurringInvoice___closure: function _saveRecurringInvoice___closure() {
},
_saveRecurringInvoice__closure0: function _saveRecurringInvoice__closure0(t0, t1) {
this.action = t0;
this.store = t1;
},
_saveRecurringInvoice__closure1: function _saveRecurringInvoice__closure1(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadRecurringInvoice_closure: function _loadRecurringInvoice_closure(t0) {
this.repository = t0;
},
_loadRecurringInvoice__closure: function _loadRecurringInvoice__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadRecurringInvoice__closure0: function _loadRecurringInvoice__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadRecurringInvoices_closure: function _loadRecurringInvoices_closure(t0) {
this.repository = t0;
},
_loadRecurringInvoices__closure: function _loadRecurringInvoices__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadRecurringInvoices__closure0: function _loadRecurringInvoices__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument_closure1: function _saveDocument_closure1(t0) {
this.repository = t0;
},
_saveDocument__closure3: function _saveDocument__closure3(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument__closure4: function _saveDocument__closure4(t0, t1) {
this.store = t0;
this.action = t1;
},
_$RecurringInvoiceState$_: function(list, map) {
var _s21_ = "RecurringInvoiceState";
if (map == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "map"));
if (list == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "list"));
return new Q._$RecurringInvoiceState(map, list);
},
_$RecurringInvoiceUIState$_: function(cancelCompleter, editing, editingItemIndex, forceSelected, historyActivityId, listUIState, saveCompleter, selectedId, tabIndex) {
if (listUIState == null)
H.throwExpression(Y.BuiltValueNullFieldError$("RecurringInvoiceUIState", "listUIState"));
return new Q._$RecurringInvoiceUIState(editing, editingItemIndex, historyActivityId, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter);
},
RecurringInvoiceState: function RecurringInvoiceState() {
},
RecurringInvoiceState_loadRecurringInvoices_closure0: function RecurringInvoiceState_loadRecurringInvoices_closure0() {
},
RecurringInvoiceState_loadRecurringInvoices_closure1: function RecurringInvoiceState_loadRecurringInvoices_closure1() {
},
RecurringInvoiceState_loadRecurringInvoices_closure: function RecurringInvoiceState_loadRecurringInvoices_closure(t0, t1) {
this.$this = t0;
this.map = t1;
},
RecurringInvoiceUIState: function RecurringInvoiceUIState() {
},
_$RecurringInvoiceStateSerializer: function _$RecurringInvoiceStateSerializer() {
},
_$RecurringInvoiceUIStateSerializer: function _$RecurringInvoiceUIStateSerializer() {
},
_$RecurringInvoiceState: function _$RecurringInvoiceState(t0, t1) {
this.map = t0;
this.list = t1;
this._recurring_invoice_state$__hashCode = null;
},
RecurringInvoiceStateBuilder: function RecurringInvoiceStateBuilder() {
this._recurring_invoice_state$_list = this._recurring_invoice_state$_map = this._recurring_invoice_state$_$v = null;
},
_$RecurringInvoiceUIState: function _$RecurringInvoiceUIState(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.editing = t0;
_.editingItemIndex = t1;
_.historyActivityId = t2;
_.listUIState = t3;
_.selectedId = t4;
_.forceSelected = t5;
_.tabIndex = t6;
_.saveCompleter = t7;
_.cancelCompleter = t8;
_._recurring_invoice_state$__hashCode = null;
},
RecurringInvoiceUIStateBuilder: function RecurringInvoiceUIStateBuilder() {
var _ = this;
_._recurring_invoice_state$_cancelCompleter = _._recurring_invoice_state$_saveCompleter = _._recurring_invoice_state$_tabIndex = _._recurring_invoice_state$_forceSelected = _._recurring_invoice_state$_selectedId = _._recurring_invoice_state$_listUIState = _._recurring_invoice_state$_historyActivityId = _._recurring_invoice_state$_editingItemIndex = _._recurring_invoice_state$_editing = _._recurring_invoice_state$_$v = null;
},
_RecurringInvoiceUIState_Object_EntityUIState: function _RecurringInvoiceUIState_Object_EntityUIState() {
},
settingsUIReducer_closure: function settingsUIReducer_closure() {
},
settingsUIReducer__closure14: function settingsUIReducer__closure14(t0, t1) {
this.action = t0;
this.state = t1;
},
settingsUIReducer_closure0: function settingsUIReducer_closure0() {
},
settingsUIReducer__closure13: function settingsUIReducer__closure13(t0) {
this.action = t0;
},
settingsUIReducer_closure1: function settingsUIReducer_closure1() {
},
settingsUIReducer__closure10: function settingsUIReducer__closure10(t0) {
this.action = t0;
},
settingsUIReducer__closure11: function settingsUIReducer__closure11(t0) {
this.action = t0;
},
settingsUIReducer__closure12: function settingsUIReducer__closure12(t0) {
this.action = t0;
},
settingsUIReducer_closure2: function settingsUIReducer_closure2() {
},
settingsUIReducer__closure9: function settingsUIReducer__closure9(t0) {
this.action = t0;
},
settingsUIReducer_closure3: function settingsUIReducer_closure3() {
},
settingsUIReducer__closure8: function settingsUIReducer__closure8(t0) {
this.state = t0;
},
settingsUIReducer_closure4: function settingsUIReducer_closure4() {
},
settingsUIReducer__closure7: function settingsUIReducer__closure7(t0) {
this.action = t0;
},
settingsUIReducer_closure5: function settingsUIReducer_closure5() {
},
settingsUIReducer__closure6: function settingsUIReducer__closure6(t0) {
this.action = t0;
},
settingsUIReducer_closure6: function settingsUIReducer_closure6() {
},
settingsUIReducer__closure5: function settingsUIReducer__closure5(t0) {
this.action = t0;
},
settingsUIReducer_closure7: function settingsUIReducer_closure7() {
},
settingsUIReducer__closure4: function settingsUIReducer__closure4(t0) {
this.action = t0;
},
settingsUIReducer_closure8: function settingsUIReducer_closure8() {
},
settingsUIReducer__closure3: function settingsUIReducer__closure3(t0, t1) {
this.action = t0;
this.state = t1;
},
settingsUIReducer_closure9: function settingsUIReducer_closure9() {
},
settingsUIReducer__closure2: function settingsUIReducer__closure2(t0) {
this.state = t0;
},
settingsUIReducer_closure10: function settingsUIReducer_closure10() {
},
settingsUIReducer__closure1: function settingsUIReducer__closure1(t0) {
this.action = t0;
},
settingsUIReducer_closure11: function settingsUIReducer_closure11() {
},
settingsUIReducer__closure0: function settingsUIReducer__closure0(t0) {
this.action = t0;
},
settingsUIReducer_closure12: function settingsUIReducer_closure12() {
},
settingsUIReducer__closure: function settingsUIReducer__closure() {
},
staticLoadedReducer: function(staticState, action) {
var data = action.data,
t1 = B.StaticState_StaticState(),
t2 = new B.StaticStateBuilder();
t2._static_state$_$v = t1;
new Q.staticLoadedReducer_closure(data).call$1(t2);
return t2.build$0(0);
},
staticLoadedReducer_closure: function staticLoadedReducer_closure(t0) {
this.data = t0;
},
staticLoadedReducer__closure: function staticLoadedReducer__closure() {
},
staticLoadedReducer__closure0: function staticLoadedReducer__closure0() {
},
staticLoadedReducer__closure1: function staticLoadedReducer__closure1() {
},
staticLoadedReducer__closure2: function staticLoadedReducer__closure2() {
},
staticLoadedReducer__closure3: function staticLoadedReducer__closure3() {
},
staticLoadedReducer__closure4: function staticLoadedReducer__closure4() {
},
staticLoadedReducer__closure5: function staticLoadedReducer__closure5() {
},
staticLoadedReducer__closure6: function staticLoadedReducer__closure6() {
},
staticLoadedReducer__closure7: function staticLoadedReducer__closure7() {
},
staticLoadedReducer__closure8: function staticLoadedReducer__closure8() {
},
staticLoadedReducer__closure9: function staticLoadedReducer__closure9() {
},
staticLoadedReducer__closure10: function staticLoadedReducer__closure10() {
},
staticLoadedReducer__closure11: function staticLoadedReducer__closure11() {
},
staticLoadedReducer__closure12: function staticLoadedReducer__closure12() {
},
staticLoadedReducer__closure13: function staticLoadedReducer__closure13() {
},
staticLoadedReducer__closure14: function staticLoadedReducer__closure14() {
},
staticLoadedReducer__closure15: function staticLoadedReducer__closure15() {
},
staticLoadedReducer__closure16: function staticLoadedReducer__closure16() {
},
_$TaxRateState$_: function(list, map) {
var _s12_ = "TaxRateState";
if (map == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "map"));
if (list == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "list"));
return new Q._$TaxRateState(map, list);
},
_$TaxRateUIState$_: function(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) {
if (listUIState == null)
H.throwExpression(Y.BuiltValueNullFieldError$("TaxRateUIState", "listUIState"));
return new Q._$TaxRateUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter);
},
TaxRateState: function TaxRateState() {
},
TaxRateUIState: function TaxRateUIState() {
},
_$TaxRateStateSerializer: function _$TaxRateStateSerializer() {
},
_$TaxRateUIStateSerializer: function _$TaxRateUIStateSerializer() {
},
_$TaxRateState: function _$TaxRateState(t0, t1) {
this.map = t0;
this.list = t1;
this._tax_rate_state$__hashCode = null;
},
TaxRateStateBuilder: function TaxRateStateBuilder() {
this._tax_rate_state$_list = this._tax_rate_state$_map = this._tax_rate_state$_$v = null;
},
_$TaxRateUIState: function _$TaxRateUIState(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.editing = t0;
_.listUIState = t1;
_.selectedId = t2;
_.forceSelected = t3;
_.tabIndex = t4;
_.saveCompleter = t5;
_.cancelCompleter = t6;
_._tax_rate_state$__hashCode = null;
},
TaxRateUIStateBuilder: function TaxRateUIStateBuilder() {
var _ = this;
_._tax_rate_state$_cancelCompleter = _._tax_rate_state$_saveCompleter = _._tax_rate_state$_tabIndex = _._tax_rate_state$_forceSelected = _._tax_rate_state$_selectedId = _._tax_rate_state$_listUIState = _._tax_rate_state$_editing = _._tax_rate_state$_$v = null;
},
_TaxRateUIState_Object_EntityUIState: function _TaxRateUIState_Object_EntityUIState() {
},
handleTokenAction: function(context, tokens, action) {
var store, t1, token, t2, tokenIds, message, _i, t3, _s6_ = ":value",
_s12_ = "_dispatchers";
if (tokens.length === 0)
return;
store = O.StoreProvider_of(context, type$.legacy_AppState);
t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
token = type$.legacy_TokenEntity._as(C.JSArray_methods.get$first(tokens));
t2 = H._arrayInstanceType(tokens)._eval$1("MappedListIterable<1,String*>");
tokenIds = P.List_List$of(new H.MappedListIterable(tokens, new Q.handleTokenAction_closure(), t2), true, t2._eval$1("ListIterable.E"));
switch (action) {
case C.EntityAction_copy:
T.Clipboard_setData(new T.ClipboardData(token.token));
M.showToast(C.JSString_methods.replaceFirst$2(t1.get$copiedToClipboard(), ":value ", ""));
break;
case C.EntityAction_edit:
M.editEntity(null, context, token, null);
break;
case C.EntityAction_restore:
t2 = tokenIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_tokens");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_token");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.RestoreTokensRequest(t1, tokenIds));
break;
case C.EntityAction_archive:
t2 = tokenIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_tokens");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_token");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.ArchiveTokensRequest(t1, tokenIds));
break;
case C.EntityAction_delete:
t2 = tokenIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_tokens");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_token");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.DeleteTokensRequest(t1, tokenIds));
break;
case C.EntityAction_toggleMultiselect:
if (store.get$_store$_state().uiState.tokenUIState.listUIState.selectedIds == null)
J.$index$asx(store.get$_dispatchers(), 0).call$1(new Q.StartTokenMultiselect());
t1 = tokens.length;
if (t1 === 0)
break;
for (_i = 0; _i < tokens.length; tokens.length === t1 || (0, H.throwConcurrentModificationError)(tokens), ++_i) {
token = tokens[_i];
t2 = store.__Store__state;
t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI("_state")) : t2).uiState.tokenUIState.listUIState;
t3 = J.get$id$x(token);
t2 = t2.selectedIds;
t2 = t2 != null && J.contains$1$asx(t2._list, t3);
t3 = store.__Store__dispatchers;
if (!t2)
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new Q.AddToTokenMultiselect(token));
else
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new Q.RemoveFromTokenMultiselect(token));
}
break;
case C.EntityAction_more:
L.showEntityActionsDialog(null, H.setRuntimeTypeInfo([token], type$.JSArray_legacy_BaseEntity), false);
break;
}
},
ViewTokenList: function ViewTokenList() {
},
ViewToken: function ViewToken(t0) {
this.tokenId = t0;
},
EditToken: function EditToken(t0) {
this.token = t0;
},
UpdateToken: function UpdateToken(t0) {
this.token = t0;
},
LoadTokenRequest: function LoadTokenRequest() {
},
LoadTokenFailure: function LoadTokenFailure(t0) {
this.error = t0;
},
LoadTokenSuccess: function LoadTokenSuccess(t0) {
this.token = t0;
},
LoadTokensRequest: function LoadTokensRequest() {
},
LoadTokensFailure: function LoadTokensFailure(t0) {
this.error = t0;
},
LoadTokensSuccess: function LoadTokensSuccess(t0) {
this.tokens = t0;
},
SaveTokenRequest: function SaveTokenRequest(t0, t1, t2, t3) {
var _ = this;
_.completer = t0;
_.token = t1;
_.password = t2;
_.idToken = t3;
},
SaveTokenSuccess: function SaveTokenSuccess(t0) {
this.token = t0;
},
AddTokenSuccess: function AddTokenSuccess(t0) {
this.token = t0;
},
SaveTokenFailure: function SaveTokenFailure() {
},
ArchiveTokensRequest: function ArchiveTokensRequest(t0, t1) {
this.completer = t0;
this.tokenIds = t1;
},
ArchiveTokensSuccess: function ArchiveTokensSuccess(t0) {
this.tokens = t0;
},
ArchiveTokensFailure: function ArchiveTokensFailure() {
},
DeleteTokensRequest: function DeleteTokensRequest(t0, t1) {
this.completer = t0;
this.tokenIds = t1;
},
DeleteTokensSuccess: function DeleteTokensSuccess(t0) {
this.tokens = t0;
},
DeleteTokensFailure: function DeleteTokensFailure() {
},
RestoreTokensRequest: function RestoreTokensRequest(t0, t1) {
this.completer = t0;
this.tokenIds = t1;
},
RestoreTokensSuccess: function RestoreTokensSuccess(t0) {
this.tokens = t0;
},
RestoreTokensFailure: function RestoreTokensFailure() {
},
FilterTokens: function FilterTokens(t0) {
this.filter = t0;
},
SortTokens: function SortTokens(t0) {
this.field = t0;
},
FilterTokensByState: function FilterTokensByState(t0) {
this.state = t0;
},
FilterTokensByCustom1: function FilterTokensByCustom1(t0) {
this.value = t0;
},
FilterTokensByCustom2: function FilterTokensByCustom2(t0) {
this.value = t0;
},
FilterTokensByCustom3: function FilterTokensByCustom3(t0) {
this.value = t0;
},
FilterTokensByCustom4: function FilterTokensByCustom4(t0) {
this.value = t0;
},
handleTokenAction_closure: function handleTokenAction_closure() {
},
StartTokenMultiselect: function StartTokenMultiselect() {
},
AddToTokenMultiselect: function AddToTokenMultiselect(t0) {
this.entity = t0;
},
RemoveFromTokenMultiselect: function RemoveFromTokenMultiselect(t0) {
this.entity = t0;
},
ClearTokenMultiselect: function ClearTokenMultiselect() {
},
ListUIState_ListUIState: function(sortField, sortAscending) {
var t1 = D.BuiltList_BuiltList$from(H.setRuntimeTypeInfo([C.EntityState_active], type$.JSArray_legacy_EntityState), type$.legacy_EntityState),
t2 = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_EntityStatus),
t3 = type$.legacy_String;
return Q._$ListUIState$_(D.BuiltList_BuiltList$from(C.List_empty, t3), D.BuiltList_BuiltList$from(C.List_empty, t3), D.BuiltList_BuiltList$from(C.List_empty, t3), D.BuiltList_BuiltList$from(C.List_empty, t3), null, 0, null, sortAscending !== false, sortField, t1, t2);
},
_$ListUIState$_: function(custom1Filters, custom2Filters, custom3Filters, custom4Filters, filter, filterClearedAt, selectedIds, sortAscending, sortField, stateFilters, statusFilters) {
var _s11_ = "ListUIState";
if (stateFilters == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "stateFilters"));
if (statusFilters == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "statusFilters"));
if (custom1Filters == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "custom1Filters"));
if (custom2Filters == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "custom2Filters"));
if (custom3Filters == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "custom3Filters"));
if (custom4Filters == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "custom4Filters"));
return new Q._$ListUIState(filter, filterClearedAt, sortField, sortAscending, stateFilters, statusFilters, custom1Filters, custom2Filters, custom3Filters, custom4Filters, selectedIds);
},
ListUIState: function ListUIState() {
},
_$ListUIStateSerializer: function _$ListUIStateSerializer() {
},
_$ListUIState: function _$ListUIState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.filter = t0;
_.filterClearedAt = t1;
_.sortField = t2;
_.sortAscending = t3;
_.stateFilters = t4;
_.statusFilters = t5;
_.custom1Filters = t6;
_.custom2Filters = t7;
_.custom3Filters = t8;
_.custom4Filters = t9;
_.selectedIds = t10;
_._list_ui_state$__hashCode = null;
},
ListUIStateBuilder: function ListUIStateBuilder() {
var _ = this;
_._selectedIds = _._custom4Filters = _._custom3Filters = _._custom2Filters = _._custom1Filters = _._statusFilters = _._stateFilters = _._sortAscending = _._sortField = _._list_ui_state$_filterClearedAt = _._list_ui_state$_filter = _._list_ui_state$_$v = null;
},
UpdateCurrentRoute: function UpdateCurrentRoute(t0) {
this.route = t0;
},
_$UserState$_: function(list, map) {
var _s9_ = "UserState";
if (map == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "map"));
if (list == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "list"));
return new Q._$UserState(map, list);
},
_$UserUIState$_: function(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) {
if (listUIState == null)
H.throwExpression(Y.BuiltValueNullFieldError$("UserUIState", "listUIState"));
return new Q._$UserUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter);
},
UserState: function UserState() {
},
UserUIState: function UserUIState() {
},
_$UserStateSerializer: function _$UserStateSerializer() {
},
_$UserUIStateSerializer: function _$UserUIStateSerializer() {
},
_$UserState: function _$UserState(t0, t1) {
this.map = t0;
this.list = t1;
this._user_state$__hashCode = null;
},
UserStateBuilder: function UserStateBuilder() {
this._user_state$_list = this._user_state$_map = this._user_state$_$v = null;
},
_$UserUIState: function _$UserUIState(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.editing = t0;
_.listUIState = t1;
_.selectedId = t2;
_.forceSelected = t3;
_.tabIndex = t4;
_.saveCompleter = t5;
_.cancelCompleter = t6;
_._user_state$__hashCode = null;
},
UserUIStateBuilder: function UserUIStateBuilder() {
var _ = this;
_._user_state$_cancelCompleter = _._user_state$_saveCompleter = _._user_state$_tabIndex = _._user_state$_forceSelected = _._user_state$_selectedId = _._user_state$_listUIState = _._user_state$_editing = _._user_state$_$v = null;
},
_UserUIState_Object_EntityUIState: function _UserUIState_Object_EntityUIState() {
},
BlankScreen: function BlankScreen(t0, t1) {
this.message = t0;
this.key = t1;
},
AppDropdownButton: function AppDropdownButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.labelText = t0;
_.value = t1;
_.onChanged = t2;
_.items = t3;
_.showBlank = t4;
_.enabled = t5;
_.showUseDefault = t6;
_.blankValue = t7;
_.key = t8;
_.$ti = t9;
},
AppDropdownButton_build_closure: function AppDropdownButton_build_closure(t0) {
this.$this = t0;
},
EntityPresenter_isFieldNumeric: function(field) {
if (C.JSString_methods.startsWith$1(field, "converted_"))
return true;
return C.JSArray_methods.contains$1(H.setRuntimeTypeInfo(["balance", "paid_to_date", "amount", "quantity", "price", "cost", "line_total", "discount", "profit", "total", "invoice_amount", "invoice_balance", "client_balance", "credit_balance", "tax_rate", "tax_amount", "tax_paid", "payment_amount", "net_balance", "rate", "calculated_rate", "duration", "net_amount", "net_total"], type$.JSArray_legacy_String), field);
},
EntityPresenter: function EntityPresenter() {
this.context = this.entity = null;
},
ClientEditDetails: function ClientEditDetails(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
ClientEditDetailsState: function ClientEditDetailsState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_._client_edit_details$_numberController = t0;
_._client_edit_details$_nameController = t1;
_._client_edit_details$_idNumberController = t2;
_._client_edit_details$_vatNumberController = t3;
_._client_edit_details$_websiteController = t4;
_._client_edit_details$_phoneController = t5;
_._client_edit_details$_custom1Controller = t6;
_._client_edit_details$_custom2Controller = t7;
_._client_edit_details$_custom3Controller = t8;
_._client_edit_details$_custom4Controller = t9;
_._client_edit_details$_debouncer = t10;
_._widget = _._client_edit_details$_controllers = null;
_._debugLifecycleState = t11;
_._framework$_element = null;
},
ClientEditDetailsState_didChangeDependencies_closure: function ClientEditDetailsState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
ClientEditDetailsState_didChangeDependencies_closure0: function ClientEditDetailsState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
ClientEditDetailsState_dispose_closure: function ClientEditDetailsState_dispose_closure(t0) {
this.$this = t0;
},
ClientEditDetailsState__onChanged_closure: function ClientEditDetailsState__onChanged_closure(t0) {
this.$this = t0;
},
ClientEditDetailsState__onChanged_closure0: function ClientEditDetailsState__onChanged_closure0(t0, t1) {
this.viewModel = t0;
this.client = t1;
},
ClientEditDetailsState_build_closure: function ClientEditDetailsState_build_closure(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
ClientEditDetailsState_build_closure0: function ClientEditDetailsState_build_closure0(t0, t1) {
this.viewModel = t0;
this.client = t1;
},
ClientEditDetailsState_build__closure0: function ClientEditDetailsState_build__closure0(t0) {
this.groupId = t0;
},
ClientEditDetailsState_build_closure1: function ClientEditDetailsState_build_closure1(t0, t1) {
this.viewModel = t0;
this.client = t1;
},
ClientEditDetailsState_build__closure: function ClientEditDetailsState_build__closure(t0) {
this.userId = t0;
},
ClientViewDetails: function ClientViewDetails(t0, t1) {
this.client = t0;
this.key = t1;
},
_ClientViewDetailsState: function _ClientViewDetailsState(t0) {
var _ = this;
_._widget = _._client_view_details$_launched = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_ClientViewDetailsState_build__buildDetailsList: function _ClientViewDetailsState_build__buildDetailsList(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.client = t1;
_.localization = t2;
_.context = t3;
},
_ClientViewDetailsState_build__buildDetailsList_closure: function _ClientViewDetailsState_build__buildDetailsList_closure(t0, t1, t2, t3, t4) {
var _ = this;
_.$this = t0;
_.listTiles = t1;
_.localization = t2;
_.client = t3;
_.context = t4;
},
_ClientViewDetailsState_build__buildDetailsList__closure1: function _ClientViewDetailsState_build__buildDetailsList__closure1(t0, t1) {
this.contact = t0;
this.client = t1;
},
_ClientViewDetailsState_build__buildDetailsList__closure2: function _ClientViewDetailsState_build__buildDetailsList__closure2(t0, t1) {
this.contact = t0;
this.localization = t1;
},
_ClientViewDetailsState_build__buildDetailsList__closure3: function _ClientViewDetailsState_build__buildDetailsList__closure3(t0, t1, t2) {
this.$this = t0;
this.contact = t1;
this.context = t2;
},
_ClientViewDetailsState_build__buildDetailsList___closure0: function _ClientViewDetailsState_build__buildDetailsList___closure0(t0, t1, t2) {
this.$this = t0;
this.contact = t1;
this.context = t2;
},
_ClientViewDetailsState_build__buildDetailsList__closure4: function _ClientViewDetailsState_build__buildDetailsList__closure4(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.contact = t2;
},
_ClientViewDetailsState_build__buildDetailsList___closure: function _ClientViewDetailsState_build__buildDetailsList___closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.contact = t2;
},
_ClientViewDetailsState_build__buildDetailsList_closure0: function _ClientViewDetailsState_build__buildDetailsList_closure0(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.client = t2;
},
_ClientViewDetailsState_build__buildDetailsList__closure0: function _ClientViewDetailsState_build__buildDetailsList__closure0(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.client = t2;
},
_ClientViewDetailsState_build__buildDetailsList_closure1: function _ClientViewDetailsState_build__buildDetailsList_closure1(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.client = t2;
},
_ClientViewDetailsState_build__buildDetailsList__closure: function _ClientViewDetailsState_build__buildDetailsList__closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.client = t2;
},
_ClientViewDetailsState_build__buildDetailsList_closure2: function _ClientViewDetailsState_build__buildDetailsList_closure2(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.client = t2;
},
_ClientViewDetailsState_build__buildDetailsList_closure3: function _ClientViewDetailsState_build__buildDetailsList_closure3(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.client = t2;
},
DashboardVM_fromStore: function(store) {
var state = store.get$_store$_state(),
t1 = state.uiState,
filter = t1.filter,
t2 = t1.dashboardUIState,
t3 = state.staticState.currencyMap,
t4 = $.$get$memoizedFilteredSelector(),
t5 = state.userCompanyStates;
t1 = t1.selectedCompanyIndex;
return new Q.DashboardVM(state, t2, t3, filter, t4.call$2(filter, J.$index$asx(t5._list, t1)), new Q.DashboardVM_fromStore_closure(new Q.DashboardVM_fromStore__handleRefresh(store)), new Q.DashboardVM_fromStore_closure0(store), new Q.DashboardVM_fromStore_closure1(store), new Q.DashboardVM_fromStore_closure2(store), new Q.DashboardVM_fromStore_closure3(store), new Q.DashboardVM_fromStore_closure4(store), new Q.DashboardVM_fromStore_closure5(store), new Q.DashboardVM_fromStore_closure6(store));
},
DashboardScreenBuilder: function DashboardScreenBuilder(t0) {
this.key = t0;
},
DashboardScreenBuilder_build_closure: function DashboardScreenBuilder_build_closure() {
},
DashboardVM: function DashboardVM(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
var _ = this;
_.state = t0;
_.dashboardUIState = t1;
_.currencyMap = t2;
_.filter = t3;
_.filteredList = t4;
_.onRefreshed = t5;
_.onSettingsChanged = t6;
_.onSelectionChanged = t7;
_.onEntityTypeChanged = t8;
_.onOffsetChanged = t9;
_.onCurrencyChanged = t10;
_.onTaxesChanged = t11;
_.onShowSidebar = t12;
},
DashboardVM_fromStore__handleRefresh: function DashboardVM_fromStore__handleRefresh(t0) {
this.store = t0;
},
DashboardVM_fromStore_closure: function DashboardVM_fromStore_closure(t0) {
this._handleRefresh = t0;
},
DashboardVM_fromStore_closure2: function DashboardVM_fromStore_closure2(t0) {
this.store = t0;
},
DashboardVM_fromStore_closure0: function DashboardVM_fromStore_closure0(t0) {
this.store = t0;
},
DashboardVM_fromStore_closure5: function DashboardVM_fromStore_closure5(t0) {
this.store = t0;
},
DashboardVM_fromStore_closure1: function DashboardVM_fromStore_closure1(t0) {
this.store = t0;
},
DashboardVM_fromStore_closure3: function DashboardVM_fromStore_closure3(t0) {
this.store = t0;
},
DashboardVM_fromStore_closure4: function DashboardVM_fromStore_closure4(t0) {
this.store = t0;
},
DashboardVM_fromStore_closure6: function DashboardVM_fromStore_closure6(t0) {
this.store = t0;
},
GroupEdit: function GroupEdit(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_GroupEditState: function _GroupEditState(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._group_edit$_nameController = t0;
_._group_edit$_custom1Controller = t1;
_._group_edit$_custom2Controller = t2;
_._group_edit$_controllers = t3;
_._group_edit$_debouncer = t4;
_.autoValidate = false;
_._widget = null;
_._debugLifecycleState = t5;
_._framework$_element = null;
},
_GroupEditState_didChangeDependencies_closure: function _GroupEditState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
_GroupEditState_didChangeDependencies_closure0: function _GroupEditState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
_GroupEditState_dispose_closure: function _GroupEditState_dispose_closure(t0) {
this.$this = t0;
},
_GroupEditState__onChanged_closure: function _GroupEditState__onChanged_closure(t0) {
this.$this = t0;
},
_GroupEditState__onChanged_closure0: function _GroupEditState__onChanged_closure0(t0, t1) {
this.$this = t0;
this.group = t1;
},
_GroupEditState_build_closure0: function _GroupEditState_build_closure0(t0) {
this.viewModel = t0;
},
_GroupEditState_build_closure1: function _GroupEditState_build_closure1(t0, t1) {
this.$this = t0;
this.viewModel = t1;
},
_GroupEditState_build__closure: function _GroupEditState_build__closure(t0, t1) {
this.$this = t0;
this.isValid = t1;
},
_GroupEditState_build_closure: function _GroupEditState_build_closure(t0, t1, t2) {
this.$this = t0;
this.localization = t1;
this.viewModel = t2;
},
_GroupEditState_build__closure0: function _GroupEditState_build__closure0(t0) {
this.localization = t0;
},
InvoicePresenter: function InvoicePresenter() {
this.context = this.entity = null;
},
PaymentPresenter: function PaymentPresenter() {
this.context = this.entity = null;
},
PaymentPresenter_getField_closure: function PaymentPresenter_getField_closure(t0) {
this.state = t0;
},
ProductListVM_fromStore: function(store) {
var t6, t7, t8,
state = store.get$_store$_state(),
t1 = $.$get$memoizedFilteredProductList(),
t2 = state.getUISelection$1(C.EntityType_product),
t3 = state.userCompanyStates,
t4 = state.uiState,
t5 = t4.selectedCompanyIndex;
t3 = t3._list;
t6 = J.getInterceptor$asx(t3);
t7 = t6.$index(t3, t5).productState.map;
t8 = t6.$index(t3, t5).productState.list;
t4 = t4.productUIState.listUIState;
t8 = t1.call$5(t2, t7, t8, t4, t6.$index(t3, t5).userState.map);
t7 = t6.$index(t3, t5).productState.map;
t4 = t4.filter;
t2 = t6.$index(t3, t5).userCompany.settings.getTableColumns$1(C.EntityType_product);
t1 = t2 == null ? F.ProductPresenter_getDefaultTableFields(t6.$index(t3, t5).userCompany) : t2;
return new Q.ProductListVM(state, t8, t7, t4, new Q.ProductListVM_fromStore_closure(new Q.ProductListVM_fromStore__handleRefresh(store)), t1, new Q.ProductListVM_fromStore_closure0(store), new Q.ProductListVM_fromStore_closure1(store));
},
ProductListBuilder: function ProductListBuilder(t0) {
this.key = t0;
},
ProductListBuilder_build_closure: function ProductListBuilder_build_closure() {
},
ProductListBuilder_build__closure: function ProductListBuilder_build__closure(t0) {
this.viewModel = t0;
},
ProductListVM: function ProductListVM(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.state = t0;
_.productList = t1;
_.productMap = t2;
_.filter = t3;
_.onRefreshed = t4;
_.tableColumns = t5;
_.onSortColumn = t6;
_.onClearMultielsect = t7;
},
ProductListVM_fromStore__handleRefresh: function ProductListVM_fromStore__handleRefresh(t0) {
this.store = t0;
},
ProductListVM_fromStore_closure: function ProductListVM_fromStore_closure(t0) {
this._handleRefresh = t0;
},
ProductListVM_fromStore_closure0: function ProductListVM_fromStore_closure0(t0) {
this.store = t0;
},
ProductListVM_fromStore_closure1: function ProductListVM_fromStore_closure1(t0) {
this.store = t0;
},
RecurringInvoiceEditNotesVM_RecurringInvoiceEditNotesVM$fromStore: function(store) {
var state = store.get$_store$_state(),
t1 = state.uiState,
recurringInvoice = t1.recurringInvoiceUIState.editing,
t2 = state.userCompanyStates;
t1 = t1.selectedCompanyIndex;
return new Q.RecurringInvoiceEditNotesVM(state, J.$index$asx(t2._list, t1).userCompany.company, recurringInvoice, new Q.RecurringInvoiceEditNotesVM_RecurringInvoiceEditNotesVM$fromStore_closure(store));
},
RecurringInvoiceEditNotesScreen: function RecurringInvoiceEditNotesScreen(t0) {
this.key = t0;
},
RecurringInvoiceEditNotesScreen_build_closure0: function RecurringInvoiceEditNotesScreen_build_closure0() {
},
RecurringInvoiceEditNotesScreen_build_closure: function RecurringInvoiceEditNotesScreen_build_closure() {
},
RecurringInvoiceEditNotesVM: function RecurringInvoiceEditNotesVM(t0, t1, t2, t3) {
var _ = this;
_.state = t0;
_.company = t1;
_.invoice = t2;
_.onChanged = t3;
},
RecurringInvoiceEditNotesVM_RecurringInvoiceEditNotesVM$fromStore_closure: function RecurringInvoiceEditNotesVM_RecurringInvoiceEditNotesVM$fromStore_closure(t0) {
this.store = t0;
},
RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore: function(store) {
var t4,
state = store.get$_store$_state(),
t1 = state.uiState,
t2 = t1.recurringInvoiceUIState,
recurringInvoice = t2.editing,
t3 = state.userCompanyStates;
t1 = t1.selectedCompanyIndex;
t1 = J.$index$asx(t3._list, t1).userCompany.company;
t2 = t2.editingItemIndex;
t3 = store.get$_store$_state();
t4 = t3.userCompanyStates;
t3 = t3.uiState.selectedCompanyIndex;
t3 = J.$index$asx(t4._list, t3).recurringInvoiceState.map;
t4 = recurringInvoice.id;
J.$index$asx(t3._map$_map, t4);
return new Q.RecurringInvoiceEditVM(state, t1, recurringInvoice, t2, new Q.RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure(store, state), new Q.RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure0(store, recurringInvoice), new Q.RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure1(state, store));
},
RecurringInvoiceEditScreen: function RecurringInvoiceEditScreen(t0) {
this.key = t0;
},
RecurringInvoiceEditScreen_build_closure0: function RecurringInvoiceEditScreen_build_closure0() {
},
RecurringInvoiceEditScreen_build_closure: function RecurringInvoiceEditScreen_build_closure() {
},
RecurringInvoiceEditVM: function RecurringInvoiceEditVM(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.state = t0;
_.company = t1;
_.invoice = t2;
_.invoiceItemIndex = t3;
_.onSavePressed = t4;
_.onItemsAdded = t5;
_.onCancelPressed = t6;
},
RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure(t0, t1) {
this.store = t0;
this.state = t1;
},
RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore__closure: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore__closure(t0, t1, t2) {
this.store = t0;
this.state = t1;
this.action = t2;
},
RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure(t0) {
this.localization = t0;
},
RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure0: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure0(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.recurringInvoice = t0;
_.localization = t1;
_.state = t2;
_.store = t3;
_.navigator = t4;
_.action = t5;
},
RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure1: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure1() {
},
RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore____closure: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore____closure(t0) {
this.error = t0;
},
RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure0: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure0(t0, t1) {
this.store = t0;
this.recurringInvoice = t1;
},
RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure1: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure1(t0, t1) {
this.state = t0;
this.store = t1;
},
TaskView: function TaskView(t0, t1, t2, t3) {
var _ = this;
_.viewModel = t0;
_.isFilter = t1;
_.tabIndex = t2;
_.key = t3;
},
_TaskViewState: function _TaskViewState(t0, t1) {
var _ = this;
_._task_view$_controller = null;
_.SingleTickerProviderStateMixin__ticker = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_TaskViewState_build_closure: function _TaskViewState_build_closure(t0, t1, t2) {
this.$this = t0;
this.viewModel = t1;
this.task = t2;
},
_TaskViewState_build__closure: function _TaskViewState_build__closure(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_TaskViewState_build__closure0: function _TaskViewState_build__closure0(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
__TaskViewState_State_SingleTickerProviderStateMixin: function __TaskViewState_State_SingleTickerProviderStateMixin() {
},
TaskStatusEditVM_TaskStatusEditVM$fromStore: function(store) {
var t3, t4, t5,
state = store.get$_store$_state(),
t1 = state.uiState,
taskStatus = t1.taskStatusUIState.editing,
t2 = state.userCompanyStates;
t1 = t1.selectedCompanyIndex;
t2 = t2._list;
t3 = J.getInterceptor$asx(t2);
t4 = t3.$index(t2, t1).taskStatusState.map;
t5 = taskStatus.id;
J.$index$asx(t4._map$_map, t5);
return new Q.TaskStatusEditVM(taskStatus, t3.$index(t2, t1).userCompany.company, new Q.TaskStatusEditVM_TaskStatusEditVM$fromStore_closure(store), new Q.TaskStatusEditVM_TaskStatusEditVM$fromStore_closure0(store, state), new Q.TaskStatusEditVM_TaskStatusEditVM$fromStore_closure1(store, state), state);
},
TaskStatusEditScreen: function TaskStatusEditScreen(t0) {
this.key = t0;
},
TaskStatusEditScreen_build_closure0: function TaskStatusEditScreen_build_closure0() {
},
TaskStatusEditScreen_build_closure: function TaskStatusEditScreen_build_closure() {
},
TaskStatusEditVM: function TaskStatusEditVM(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.taskStatus = t0;
_.company = t1;
_.onChanged = t2;
_.onSavePressed = t3;
_.onCancelPressed = t4;
_.state = t5;
},
TaskStatusEditVM_TaskStatusEditVM$fromStore_closure: function TaskStatusEditVM_TaskStatusEditVM$fromStore_closure(t0) {
this.store = t0;
},
TaskStatusEditVM_TaskStatusEditVM$fromStore_closure1: function TaskStatusEditVM_TaskStatusEditVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.state = t1;
},
TaskStatusEditVM_TaskStatusEditVM$fromStore_closure0: function TaskStatusEditVM_TaskStatusEditVM$fromStore_closure0(t0, t1) {
this.store = t0;
this.state = t1;
},
TaskStatusEditVM_TaskStatusEditVM$fromStore__closure: function TaskStatusEditVM_TaskStatusEditVM$fromStore__closure(t0, t1) {
this.store = t0;
this.state = t1;
},
TaskStatusEditVM_TaskStatusEditVM$fromStore___closure: function TaskStatusEditVM_TaskStatusEditVM$fromStore___closure(t0, t1, t2, t3, t4) {
var _ = this;
_.taskStatus = t0;
_.localization = t1;
_.state = t2;
_.store = t3;
_.navigator = t4;
},
TaskStatusEditVM_TaskStatusEditVM$fromStore___closure0: function TaskStatusEditVM_TaskStatusEditVM$fromStore___closure0() {
},
TaskStatusEditVM_TaskStatusEditVM$fromStore____closure: function TaskStatusEditVM_TaskStatusEditVM$fromStore____closure(t0) {
this.error = t0;
},
VendorEditDetails: function VendorEditDetails(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
VendorEditDetailsState: function VendorEditDetailsState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_._vendor_edit_details$_numberController = t0;
_._vendor_edit_details$_nameController = t1;
_._vendor_edit_details$_idNumberController = t2;
_._vendor_edit_details$_vatNumberController = t3;
_._vendor_edit_details$_websiteController = t4;
_._vendor_edit_details$_phoneController = t5;
_._vendor_edit_details$_custom1Controller = t6;
_._vendor_edit_details$_custom2Controller = t7;
_._vendor_edit_details$_custom3Controller = t8;
_._vendor_edit_details$_custom4Controller = t9;
_._vendor_edit_details$_debouncer = t10;
_._widget = _._vendor_edit_details$_controllers = null;
_._debugLifecycleState = t11;
_._framework$_element = null;
},
VendorEditDetailsState_didChangeDependencies_closure: function VendorEditDetailsState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
VendorEditDetailsState_didChangeDependencies_closure0: function VendorEditDetailsState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
VendorEditDetailsState_dispose_closure: function VendorEditDetailsState_dispose_closure(t0) {
this.$this = t0;
},
VendorEditDetailsState__onChanged_closure: function VendorEditDetailsState__onChanged_closure(t0) {
this.$this = t0;
},
VendorEditDetailsState__onChanged_closure0: function VendorEditDetailsState__onChanged_closure0(t0, t1) {
this.viewModel = t0;
this.vendor = t1;
},
VendorEditDetailsState_build_closure: function VendorEditDetailsState_build_closure(t0) {
this.context = t0;
},
VendorEditDetailsState_build_closure0: function VendorEditDetailsState_build_closure0(t0, t1) {
this.viewModel = t0;
this.vendor = t1;
},
VendorEditDetailsState_build__closure: function VendorEditDetailsState_build__closure(t0) {
this.userId = t0;
},
VendorEditFooter: function VendorEditFooter(t0, t1) {
this.vendor = t0;
this.key = t1;
},
VendorEditFooter_build_closure: function VendorEditFooter_build_closure(t0) {
this.store = t0;
},
_platform: function() {
if ($._manualDartRegistrationNeeded)
$._manualDartRegistrationNeeded = false;
return $.$get$PathProviderPlatform__instance();
},
getApplicationDocumentsDirectory: function() {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.Directory),
$async$returnValue, path;
var $async$getApplicationDocumentsDirectory = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
$async$goto = 3;
return P._asyncAwait(Q._platform().getApplicationDocumentsPath$0(), $async$getApplicationDocumentsDirectory);
case 3:
// returning from await.
path = $async$result;
if (path == null)
throw H.wrapException(new Q.MissingPlatformDirectoryException("Unable to get application documents directory"));
$async$returnValue = P.Directory_Directory(path);
// goto return
$async$goto = 1;
break;
case 1:
// return
return P._asyncReturn($async$returnValue, $async$completer);
}
});
return P._asyncStartSync($async$getApplicationDocumentsDirectory, $async$completer);
},
MissingPlatformDirectoryException: function MissingPlatformDirectoryException(t0) {
this.message = t0;
},
QrBitBuffer: function QrBitBuffer(t0) {
this._bit_buffer$_buffer = t0;
this._bit_buffer$_length = 0;
},
_QrBitBuffer_Object_ListMixin: function _QrBitBuffer_Object_ListMixin() {
},
ValueWrapper: function ValueWrapper(t0, t1) {
this.value = t0;
this.$ti = t1;
},
Version_parse: function(versionString) {
var t2, parts, major, minor, patch, preReleaseString, preReleaseList, build, t3, _null = null,
t1 = versionString == null ? _null : C.JSString_methods.trim$0(versionString).length === 0;
if (t1 !== false)
throw H.wrapException(P.FormatException$("Cannot parse empty string into version", _null, _null));
t1 = $.$get$Version__versionRegex();
versionString.toString;
t2 = t1._nativeRegExp;
if (!t2.test(versionString))
throw H.wrapException(P.FormatException$("Not a properly formatted version string", _null, _null));
t1 = t1.firstMatch$1(versionString)._match;
parts = t1[1].split(".");
major = P.int_parse(parts[0], _null);
t2 = parts.length;
if (t2 > 1) {
minor = P.int_parse(parts[1], _null);
patch = t2 > 2 ? P.int_parse(parts[2], _null) : _null;
} else {
patch = _null;
minor = patch;
}
preReleaseString = t1[3];
if (preReleaseString == null)
preReleaseString = "";
t2 = type$.JSArray_String;
preReleaseList = H.setRuntimeTypeInfo([], t2);
if (C.JSString_methods.trim$0(preReleaseString).length !== 0)
preReleaseList = H.setRuntimeTypeInfo(preReleaseString.split("."), t2);
build = t1[5];
if (build == null)
build = "";
t1 = minor == null ? 0 : minor;
t2 = patch == null ? 0 : patch;
t3 = new Q.Version(major, t1, t2, build, preReleaseList);
t3.Version$5$build$preRelease(major, t1, t2, build, preReleaseList);
return t3;
},
Version__compare: function(a, b) {
var t3, preReleaseMax, i, aNumeric, bNumeric,
t1 = a.major,
t2 = b.major;
if (t1 > t2)
return 1;
if (t1 < t2)
return -1;
t1 = a.minor;
t2 = b.minor;
if (t1 > t2)
return 1;
if (t1 < t2)
return -1;
t1 = a.patch;
t2 = b.patch;
if (t1 > t2)
return 1;
if (t1 < t2)
return -1;
t1 = a._preRelease;
t2 = type$.String;
if (P.List_List$from(t1, true, t2).length === 0)
if (P.List_List$from(b._preRelease, true, t2).length === 0)
return 0;
else
return 1;
else {
t3 = b._preRelease;
if (P.List_List$from(t3, true, t2).length === 0)
return -1;
else {
preReleaseMax = P.List_List$from(t1, true, t2).length;
if (P.List_List$from(t3, true, t2).length > P.List_List$from(t1, true, t2).length)
preReleaseMax = P.List_List$from(t3, true, t2).length;
for (i = 0; i < preReleaseMax; ++i) {
if (P.List_List$from(t3, true, t2).length <= i)
return 1;
else if (P.List_List$from(t1, true, t2).length <= i)
return -1;
if (J.$eq$(P.List_List$from(t1, true, t2)[i], P.List_List$from(t3, true, t2)[i]))
continue;
aNumeric = Q.Version__isNumeric(P.List_List$from(t1, true, t2)[i]);
bNumeric = Q.Version__isNumeric(P.List_List$from(t3, true, t2)[i]);
if (aNumeric && bNumeric)
if (P.double_parse(P.List_List$from(t1, true, t2)[i]) > P.double_parse(P.List_List$from(t3, true, t2)[i]))
return 1;
else
return -1;
else if (bNumeric)
return 1;
else if (aNumeric)
return -1;
else {
t1 = P.List_List$from(t1, true, t2)[i];
t2 = P.List_List$from(t3, true, t2)[i];
t1.toString;
if (typeof t2 != "string")
H.throwExpression(H.argumentErrorValue(t2));
if (J.$eq$(t1, t2))
t1 = 0;
else
t1 = t1 < t2 ? -1 : 1;
return t1;
}
}
}
}
return 0;
},
Version__isNumeric: function(s) {
if (s == null)
return false;
return H.Primitives_parseDouble(s) != null;
},
Version: function Version(t0, t1, t2, t3, t4) {
var _ = this;
_.major = t0;
_.minor = t1;
_.patch = t2;
_.build = t3;
_._preRelease = t4;
},
_PlatformAdaptiveIcons__isCupertino: function() {
switch (U.defaultTargetPlatform()) {
case C.TargetPlatform_0:
case C.TargetPlatform_1:
case C.TargetPlatform_3:
case C.TargetPlatform_5:
return false;
case C.TargetPlatform_2:
case C.TargetPlatform_4:
return true;
default:
throw H.wrapException(H.ReachabilityError$(string$.x60null_c));
}
},
pickFile: function(allowedExtensions, fileIndex, fileType) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.legacy_MultipartFile),
$async$returnValue, t1;
var $async$pickFile = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
t1 = Q._pickFile(allowedExtensions, fileIndex, fileType);
$async$returnValue = t1;
// goto return
$async$goto = 1;
break;
case 1:
// return
return P._asyncReturn($async$returnValue, $async$completer);
}
});
return P._asyncStartSync($async$pickFile, $async$completer);
},
_pickFile: function(allowedExtensions, fileIndex, fileType) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.legacy_MultipartFile),
$async$returnValue, file, t1, t2, result;
var $async$_pickFile = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
t1 = $.$get$FilePicker__instance();
t2 = fileType == null ? C.FileType_5 : fileType;
$async$goto = 3;
return P._asyncAwait(t1.pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData(true, false, allowedExtensions == null ? H.setRuntimeTypeInfo([], type$.JSArray_legacy_String) : allowedExtensions, t2, true), $async$_pickFile);
case 3:
// returning from await.
result = $async$result;
if (result != null && J.get$isNotEmpty$asx(result.files)) {
file = J.get$first$ax(result.files);
t1 = fileIndex == null ? "file" : fileIndex;
$async$returnValue = K.MultipartFile_MultipartFile$fromBytes(t1, file.bytes, file.name);
// goto return
$async$goto = 1;
break;
}
$async$returnValue = null;
// goto return
$async$goto = 1;
break;
case 1:
// return
return P._asyncReturn($async$returnValue, $async$completer);
}
});
return P._asyncStartSync($async$_pickFile, $async$completer);
},
getEntityActionIcon: function(entityAction) {
switch (entityAction) {
case C.EntityAction_edit:
return C.IconData_57882_MaterialIcons_null_false;
case C.EntityAction_viewPdf:
case C.EntityAction_download:
return C.IconData_58560_MaterialIcons_null_false;
case C.EntityAction_clientPortal:
return C.IconData_57712_MaterialIcons_null_false;
case C.EntityAction_clone:
case C.EntityAction_cloneToOther:
case C.EntityAction_cloneToInvoice:
case C.EntityAction_cloneToExpense:
case C.EntityAction_cloneToQuote:
case C.EntityAction_cloneToCredit:
case C.EntityAction_cloneToRecurring:
return C.IconData_57750_MaterialIcons_null_false;
case C.EntityAction_markSent:
return C.IconData_58608_MaterialIcons_null_false;
case C.EntityAction_markPaid:
return C.IconData_58497_MaterialIcons_null_false;
case C.EntityAction_bulkEmailCredit:
case C.EntityAction_bulkEmailInvoice:
case C.EntityAction_bulkEmailQuote:
case C.EntityAction_emailQuote:
case C.EntityAction_emailInvoice:
case C.EntityAction_emailCredit:
case C.EntityAction_emailPayment:
case C.EntityAction_resendInvite:
return C.IconData_58737_MaterialIcons_null_true;
case C.EntityAction_archive:
return C.IconData_57489_MaterialIcons_null_false;
case C.EntityAction_delete:
return C.IconData_57785_MaterialIcons_null_false;
case C.EntityAction_remove:
return C.IconData_58648_MaterialIcons_null_false;
case C.EntityAction_restore:
return C.IconData_58676_MaterialIcons_null_false;
case C.EntityAction_convertToInvoice:
return C.IconData_57744_MaterialIcons_null_false;
case C.EntityAction_approve:
return C.IconData_57690_MaterialIcons_null_false;
case C.EntityAction_newInvoice:
case C.EntityAction_newExpense:
case C.EntityAction_newTask:
case C.EntityAction_newClient:
case C.EntityAction_newPayment:
case C.EntityAction_newQuote:
case C.EntityAction_newCredit:
case C.EntityAction_newRecurringInvoice:
case C.EntityAction_newRecurringQuote:
case C.EntityAction_newRecurringExpense:
case C.EntityAction_invoiceTask:
case C.EntityAction_invoiceExpense:
case C.EntityAction_invoiceProject:
return C.IconData_57424_MaterialIcons_null_false;
case C.EntityAction_resume:
case C.EntityAction_start:
return C.IconData_58571_MaterialIcons_null_false;
case C.EntityAction_stop:
return C.IconData_58886_MaterialIcons_null_false;
case C.EntityAction_settings:
return C.IconData_58751_MaterialIcons_null_false;
case C.EntityAction_refund:
case C.EntityAction_cancel:
return C.IconData_58648_MaterialIcons_null_false;
case C.EntityAction_reverse:
return C.IconData_59020_MaterialIcons_null_true;
case C.EntityAction_copy:
return C.IconData_57744_MaterialIcons_null_false;
case C.EntityAction_apply:
return C.IconData_58497_MaterialIcons_null_false;
default:
return null;
}
},
getEntityIcon: function(entityType) {
switch (entityType) {
case C.EntityType_dashboard:
return C._MdiIconData_rJg;
case C.EntityType_reports:
return C._MdiIconData_egL1;
case C.EntityType_settings:
return C._MdiIconData_AmO;
case C.EntityType_product:
return C._MdiIconData_7T12;
case C.EntityType_project:
return C._MdiIconData_2Nv0;
case C.EntityType_client:
return C.IconData_58502_MaterialIcons_null_false;
case C.EntityType_invoice:
return C._MdiIconData_2C7;
case C.EntityType_recurringInvoice:
case C.EntityType_recurringExpense:
case C.EntityType_recurringQuote:
return C._MdiIconData_90Y;
case C.EntityType_payment:
return C._MdiIconData_dEB;
case C.EntityType_companyGateway:
return C._MdiIconData_ifn0;
case C.EntityType_quote:
return C._MdiIconData_sUr;
case C.EntityType_vendor:
return C.IconData_57627_MaterialIcons_null_false;
case C.EntityType_expense:
return C._MdiIconData_jVE;
case C.EntityType_task:
return C._MdiIconData_90Y0;
case C.EntityType_group:
return C._MdiIconData_I2F;
case C.EntityType_user:
return C.IconData_58513_MaterialIcons_null_false;
case C.EntityType_credit:
return C._MdiIconData_yrt;
case C.EntityType_design:
return C._MdiIconData_atK;
case C.EntityType_paymentTerm:
return C._MdiIconData_dEB0;
case C.EntityType_token:
return C._MdiIconData_wMy0;
case C.EntityType_webhook:
return C._MdiIconData_FFB;
case C.EntityType_expenseCategory:
case C.EntityType_taskStatus:
return C._MdiIconData_yvL;
case C.EntityType_subscription:
return C._MdiIconData_egL2;
default:
return C._MdiIconData_UEg;
}
},
getFileTypeIcon: function(type) {
switch (type) {
case "pdf":
return C._MdiIconData_agj;
case "psd":
return C._MdiIconData_jVE;
case "txt":
return C._MdiIconData_Skt0;
case "doc":
case "docx":
return C._MdiIconData_43h0;
case "xls":
case "xlsx":
return C._MdiIconData_UEg0;
case "ppt":
case "pptt":
return C._MdiIconData_MO92;
default:
return null;
}
},
getSettingIcon: function(section) {
switch (section) {
case "company_details":
return C.IconData_57627_MaterialIcons_null_false;
case "user_details":
return C.IconData_58513_MaterialIcons_null_false;
case "localization":
return C.IconData_58214_MaterialIcons_null_false;
case "online_payments":
case "company_gateways":
return C._MdiIconData_dEB;
case "tax_settings":
case "tax_settings_rates":
return C._MdiIconData_egL;
case "import_export":
return C.IconData_58168_MaterialIcons_null_false;
case "device_settings":
return C.IconData_58751_MaterialIcons_null_false;
case "group_settings":
return C._MdiIconData_I2F;
case "generated_numbers":
return C._MdiIconData_MO90;
case "custom_fields":
return C._MdiIconData_Skt;
case "custom_designs":
return C._MdiIconData_atK;
case "invoice_design":
return C._MdiIconData_EuK0;
case "workflow_settings":
return C._MdiIconData_IAW;
case "client_portal":
return C._MdiIconData_Qa6;
case "buy_now_buttons":
return C._MdiIconData_FFB;
case "email_settings":
return C.IconData_58307_MaterialIcons_null_false;
case "templates_and_reminders":
return C._MdiIconData_CtR;
case "credit_cards_and_banks":
return C._MdiIconData_FFB;
case "data_visualizations":
return C._MdiIconData_FFB;
case "user_management":
return C.IconData_58502_MaterialIcons_null_false;
case "account_management":
return C._MdiIconData_GDY;
case "product_settings":
return Q.getEntityIcon(C.EntityType_product);
case "expense_settings":
case "expense_category":
return Q.getEntityIcon(C.EntityType_expense);
case "task_settings":
case "task_status":
return Q.getEntityIcon(C.EntityType_task);
case "subscriptions":
return Q.getEntityIcon(C.EntityType_subscription);
default:
return null;
}
},
getActivityIcon: function(categoryId) {
switch (categoryId) {
case 2:
return C.IconData_57898_MaterialIcons_null_false;
case 1:
return C.IconData_57759_MaterialIcons_null_false;
case 4:
return C.IconData_58560_MaterialIcons_null_false;
case 5:
return C.IconData_58729_MaterialIcons_null_false;
case 3:
return C._MdiIconData_FFB;
default:
return C._MdiIconData_UEg;
}
}
},
Y = {
HuffmanTable$: function(lengths) {
var t1 = new Y.HuffmanTable();
t1.HuffmanTable$1(lengths);
return t1;
},
HuffmanTable: function HuffmanTable() {
this.__HuffmanTable_table = $;
this.maxCodeLength = 0;
this.minCodeLength = 2147483647;
},
$jc: function(hash, value) {
hash = hash + value & 536870911;
hash = hash + ((hash & 524287) << 10) & 536870911;
return hash ^ hash >>> 6;
},
$jf: function(hash) {
hash = hash + ((hash & 67108863) << 3) & 536870911;
hash ^= hash >>> 11;
return hash + ((hash & 16383) << 15) & 536870911;
},
BuiltValueNullFieldError$: function(type, field) {
return new Y.BuiltValueNullFieldError(type, field);
},
BuiltValueNestedFieldError$: function(type, field, error) {
return new Y.BuiltValueNestedFieldError(type, field, error);
},
EnumClass: function EnumClass() {
},
newBuiltValueToStringHelper_closure: function newBuiltValueToStringHelper_closure() {
},
IndentingBuiltValueToStringHelper: function IndentingBuiltValueToStringHelper(t0) {
this._result = t0;
},
BuiltValueNullFieldError: function BuiltValueNullFieldError(t0, t1) {
this.type = t0;
this.field = t1;
},
BuiltValueNestedFieldError: function BuiltValueNestedFieldError(t0, t1, t2) {
this.type = t0;
this.field = t1;
this.error = t2;
},
_getRawName: function(type) {
var $name = J.toString$0$(type),
genericsStart = J.indexOf$1$asx($name, "<");
return genericsStart === -1 ? $name : C.JSString_methods.substring$2($name, 0, genericsStart);
},
BuiltJsonSerializers: function BuiltJsonSerializers(t0, t1, t2, t3, t4) {
var _ = this;
_._typeToSerializer = t0;
_._wireNameToSerializer = t1;
_._typeNameToSerializer = t2;
_.builderFactories = t3;
_.serializerPlugins = t4;
},
BuiltJsonSerializersBuilder: function BuiltJsonSerializersBuilder(t0, t1, t2, t3, t4) {
var _ = this;
_._typeToSerializer = t0;
_._wireNameToSerializer = t1;
_._typeNameToSerializer = t2;
_._builderFactories = t3;
_._plugins = t4;
},
NoneDrawStrategy$: function(chartContext, graphicsFactory, $D) {
var t1, t2;
$.$get$StyleFactory__styleFactory().toString;
graphicsFactory.toString;
t1 = new X.LineStyle();
t1.color = C.Color_ePM;
t1.strokeWidth = 1;
t2 = graphicsFactory.createTextPaint$0();
t2.color = C.Color_WL1;
t2.fontSize = 0;
return new Y.NoneDrawStrategy(t1, t2, $D._eval$1("NoneDrawStrategy<0>"));
},
NoneDrawStrategy: function NoneDrawStrategy(t0, t1, t2) {
this.axisLineStyle = t0;
this.noneTextStyle = t1;
this.$ti = t2;
},
NoneDrawStrategy_decorateTicks_closure: function NoneDrawStrategy_decorateTicks_closure(t0) {
this.$this = t0;
},
TimeStepIteratorFactory: function TimeStepIteratorFactory() {
},
BaseLegendContentBuilder: function BaseLegendContentBuilder() {
},
BaseLegendContentBuilder_build_closure: function BaseLegendContentBuilder_build_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.legend = t1;
_.context = t2;
_.showMeasures = t3;
},
TabularLegendContentBuilder: function TabularLegendContentBuilder(t0, t1) {
this.legendEntryLayout = t0;
this.legendLayout = t1;
},
HeapPriorityQueue: function HeapPriorityQueue(t0, t1, t2) {
var _ = this;
_.comparison = t0;
_._queue = t1;
_._modificationCount = _._priority_queue$_length = 0;
_.$ti = t2;
},
TweenSequenceItem$: function(tween, weight, $T) {
return new Y.TweenSequenceItem(tween, weight, $T._eval$1("TweenSequenceItem<0>"));
},
TweenSequence: function TweenSequence(t0, t1, t2) {
this._tween_sequence$_items = t0;
this._intervals = t1;
this.$ti = t2;
},
TweenSequenceItem: function TweenSequenceItem(t0, t1, t2) {
this.tween = t0;
this.weight = t1;
this.$ti = t2;
},
_Interval: function _Interval(t0, t1) {
this.start = t0;
this.end = t1;
},
TextTreeConfiguration$: function(addBlankLineIfNoChildren, afterDescriptionIfBody, afterName, afterProperties, beforeName, beforeProperties, bodyIndent, footer, isBlankLineBetweenPropertiesAndChildren, isNameOnOwnLine, lineBreak, lineBreakProperties, linkCharacter, mandatoryFooter, prefixLastChildLineOne, prefixLineOne, prefixOtherLines, prefixOtherLinesRootNode, propertyPrefixIfChildren, propertyPrefixNoChildren, propertySeparator, showChildren, suffixLineOne) {
return new Y.TextTreeConfiguration(prefixLineOne, suffixLineOne, prefixOtherLines, prefixLastChildLineOne, prefixOtherLinesRootNode, propertyPrefixIfChildren, propertyPrefixNoChildren, linkCharacter, C.JSString_methods.$mul(" ", linkCharacter.length), lineBreak, lineBreakProperties, beforeName, afterName, afterDescriptionIfBody, beforeProperties, afterProperties, propertySeparator, bodyIndent, showChildren, addBlankLineIfNoChildren, isNameOnOwnLine, footer, mandatoryFooter, isBlankLineBetweenPropertiesAndChildren);
},
_PrefixedStringBuilder__wordWrapLine: function(message, wrapRanges, width, otherLineOffset, startOffset) {
return Y._PrefixedStringBuilder__wordWrapLine$body(message, wrapRanges, width, otherLineOffset, startOffset);
},
_PrefixedStringBuilder__wordWrapLine$body: function($async$message, $async$wrapRanges, $async$width, $async$otherLineOffset, $async$startOffset) {
return P._makeSyncStarIterable(function() {
var message = $async$message,
wrapRanges = $async$wrapRanges,
width = $async$width,
otherLineOffset = $async$otherLineOffset,
startOffset = $async$startOffset;
var $async$goto = 0, $async$handler = 2, $async$currentError, startForLengthCalculations, _lastWordStart_get, _lastWordStart_set, noWrap, addPrefix, index, mode, lastWordEnd, start, t2, _box_0, t1;
return function $async$_PrefixedStringBuilder__wordWrapLine($async$errorCode, $async$result) {
if ($async$errorCode === 1) {
$async$currentError = $async$result;
$async$goto = $async$handler;
}
while (true)
switch ($async$goto) {
case 0:
// Function start
_box_0 = {};
t1 = message.length;
$async$goto = t1 + startOffset < width ? 3 : 4;
break;
case 3:
// then
$async$goto = 5;
return message;
case 5:
// after yield
// goto return
$async$goto = 1;
break;
case 4:
// join
startForLengthCalculations = -startOffset;
_box_0._lastWordStart = $;
_lastWordStart_get = new Y._PrefixedStringBuilder__wordWrapLine__lastWordStart_get(_box_0);
_lastWordStart_set = new Y._PrefixedStringBuilder__wordWrapLine__lastWordStart_set(_box_0);
_box_0.currentChunk = 0;
noWrap = new Y._PrefixedStringBuilder__wordWrapLine_noWrap(_box_0, wrapRanges);
addPrefix = false, index = 0, mode = C._WordWrapParseMode_0, lastWordEnd = null, start = 0;
case 6:
// for condition
// trivial condition
case 8:
// switch
switch (mode) {
case C._WordWrapParseMode_0:
// goto case
$async$goto = 10;
break;
case C._WordWrapParseMode_1:
// goto case
$async$goto = 11;
break;
case C._WordWrapParseMode_2:
// goto case
$async$goto = 12;
break;
default:
// goto default
$async$goto = 13;
break;
}
break;
case 10:
// case
while (true) {
if (!(index < t1 && message[index] === " "))
break;
++index;
}
_lastWordStart_set.call$1(index);
mode = C._WordWrapParseMode_1;
// goto after switch
$async$goto = 9;
break;
case 11:
// case
while (true) {
if (index < t1)
t2 = message[index] !== " " || noWrap.call$1(index);
else
t2 = false;
if (!t2)
break;
++index;
}
mode = C._WordWrapParseMode_2;
// goto after switch
$async$goto = 9;
break;
case 12:
// case
t2 = index - startForLengthCalculations;
$async$goto = t2 > width || index === t1 ? 14 : 16;
break;
case 14:
// then
if (t2 <= width || lastWordEnd == null)
lastWordEnd = index;
$async$goto = 17;
return C.JSString_methods.substring$2(message, start, lastWordEnd);
case 17:
// after yield
if (lastWordEnd >= t1) {
// goto return
$async$goto = 1;
break;
}
if (lastWordEnd === index) {
while (true) {
if (!(index < t1 && message[index] === " "))
break;
++index;
}
start = index;
mode = C._WordWrapParseMode_1;
} else {
start = _lastWordStart_get.call$0();
mode = C._WordWrapParseMode_2;
}
startForLengthCalculations = start - otherLineOffset;
addPrefix = true;
lastWordEnd = null;
// goto join
$async$goto = 15;
break;
case 16:
// else
lastWordEnd = index;
mode = C._WordWrapParseMode_0;
case 15:
// join
// goto after switch
$async$goto = 9;
break;
case 13:
// default
throw H.wrapException(H.ReachabilityError$(string$.x60null_c));
case 9:
// after switch
// goto for condition
$async$goto = 6;
break;
case 7:
// after for
case 1:
// return
return P._IterationMarker_endOfIteration();
case 2:
// rethrow
return P._IterationMarker_uncaughtError($async$currentError);
}
};
}, type$.String);
},
DiagnosticsNode_DiagnosticsNode$message: function(message, allowWrap, style) {
var _null = null;
return Y.DiagnosticsProperty$("", _null, allowWrap, C.C__NoDefaultValue, message, false, _null, _null, C.DiagnosticLevel_3, _null, false, false, true, style, _null, type$.void);
},
DiagnosticsProperty$: function($name, value, allowWrap, defaultValue, description, expandableValue, ifEmpty, ifNull, level, linePrefix, missingIfNull, showName, showSeparator, style, tooltip, $T) {
var t1;
if (ifNull == null)
t1 = missingIfNull ? "MISSING" : null;
else
t1 = ifNull;
return new Y.DiagnosticsProperty(description, false, allowWrap, t1, ifEmpty, tooltip, missingIfNull, value, true, defaultValue, level, null, $name, showSeparator, showName, linePrefix, style, $T._eval$1("DiagnosticsProperty<0>"));
},
DiagnosticableTreeNode$: function($name, style, value) {
return new Y.DiagnosticableTreeNode(value, $name, true, true, null, style);
},
shortHash: function(object) {
var t1 = J.get$hashCode$(object);
t1.toString;
return C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(t1 & 1048575, 16), 5, "0");
},
describeEnum: function(enumEntry) {
var description = J.toString$0$(enumEntry);
return C.JSString_methods.substring$1(description, J.indexOf$1$asx(description, ".") + 1);
},
DiagnosticLevel: function DiagnosticLevel(t0, t1) {
this.index = t0;
this._diagnostics$_name = t1;
},
DiagnosticsTreeStyle: function DiagnosticsTreeStyle(t0) {
this._diagnostics$_name = t0;
},
TextTreeConfiguration: function TextTreeConfiguration(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23) {
var _ = this;
_.prefixLineOne = t0;
_.suffixLineOne = t1;
_.prefixOtherLines = t2;
_.prefixLastChildLineOne = t3;
_.prefixOtherLinesRootNode = t4;
_.propertyPrefixIfChildren = t5;
_.propertyPrefixNoChildren = t6;
_.linkCharacter = t7;
_.childLinkSpace = t8;
_.lineBreak = t9;
_.lineBreakProperties = t10;
_.beforeName = t11;
_.afterName = t12;
_.afterDescriptionIfBody = t13;
_.beforeProperties = t14;
_.afterProperties = t15;
_.propertySeparator = t16;
_.bodyIndent = t17;
_.showChildren = t18;
_.addBlankLineIfNoChildren = t19;
_.isNameOnOwnLine = t20;
_.footer = t21;
_.mandatoryFooter = t22;
_.isBlankLineBetweenPropertiesAndChildren = t23;
},
_WordWrapParseMode: function _WordWrapParseMode(t0) {
this._diagnostics$_name = t0;
},
_PrefixedStringBuilder: function _PrefixedStringBuilder(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.prefixLineOne = t0;
_._prefixOtherLines = t1;
_._nextPrefixOtherLines = null;
_.wrapWidth = t2;
_._diagnostics$_buffer = t3;
_._currentLine = t4;
_._wrappableRanges = t5;
_._numLines = 0;
},
_PrefixedStringBuilder__wordWrapLine__lastWordStart_set: function _PrefixedStringBuilder__wordWrapLine__lastWordStart_set(t0) {
this._box_0 = t0;
},
_PrefixedStringBuilder__wordWrapLine__lastWordStart_get: function _PrefixedStringBuilder__wordWrapLine__lastWordStart_get(t0) {
this._box_0 = t0;
},
_PrefixedStringBuilder__wordWrapLine_noWrap: function _PrefixedStringBuilder__wordWrapLine_noWrap(t0, t1) {
this._box_0 = t0;
this.wrapRanges = t1;
},
_NoDefaultValue: function _NoDefaultValue() {
},
TextTreeRenderer: function TextTreeRenderer(t0, t1, t2, t3) {
var _ = this;
_._wrapWidth = t0;
_._wrapWidthProperties = t1;
_._minLevel = t2;
_._maxDescendentsTruncatableNode = t3;
},
TextTreeRenderer__debugRender_visitor: function TextTreeRenderer__debugRender_visitor(t0, t1) {
this._box_0 = t0;
this.descendants = t1;
},
TextTreeRenderer__debugRender_closure: function TextTreeRenderer__debugRender_closure(t0) {
this.$this = t0;
},
DiagnosticsNode: function DiagnosticsNode() {
},
DiagnosticsProperty: function DiagnosticsProperty(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) {
var _ = this;
_._description = t0;
_.expandableValue = t1;
_.allowWrap = t2;
_.ifNull = t3;
_.ifEmpty = t4;
_.tooltip = t5;
_.missingIfNull = t6;
_._diagnostics$_value = t7;
_._valueComputed = t8;
_._diagnostics$_exception = null;
_.defaultValue = t9;
_._defaultLevel = t10;
_._computeValue = t11;
_.name = t12;
_.showSeparator = t13;
_.showName = t14;
_.linePrefix = t15;
_.style = t16;
_.$ti = t17;
},
DiagnosticableNode: function DiagnosticableNode() {
},
DiagnosticableTreeNode: function DiagnosticableTreeNode(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.value = t0;
_._cachedBuilder = null;
_.name = t1;
_.showSeparator = t2;
_.showName = t3;
_.linePrefix = t4;
_.style = t5;
},
DiagnosticPropertiesBuilder: function DiagnosticPropertiesBuilder(t0, t1) {
this.properties = t0;
this.defaultDiagnosticsTreeStyle = t1;
this.emptyBodyDescription = null;
},
Diagnosticable: function Diagnosticable() {
},
DiagnosticableTree: function DiagnosticableTree() {
},
DiagnosticableTreeMixin: function DiagnosticableTreeMixin() {
},
DiagnosticsBlock: function DiagnosticsBlock() {
},
_DiagnosticableTree_Object_Diagnosticable: function _DiagnosticableTree_Object_Diagnosticable() {
},
DialogTheme: function DialogTheme(t0, t1, t2, t3, t4) {
var _ = this;
_.backgroundColor = t0;
_.elevation = t1;
_.shape = t2;
_.titleTextStyle = t3;
_.contentTextStyle = t4;
},
_DialogTheme_Object_Diagnosticable: function _DialogTheme_Object_Diagnosticable() {
},
InkHighlight: function InkHighlight(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_._ink_highlight$_shape = t0;
_._ink_highlight$_radius = t1;
_._ink_highlight$_borderRadius = t2;
_._ink_highlight$_customBorder = t3;
_._rectCallback = t4;
_._ink_highlight$_textDirection = t5;
_.__InkHighlight__alphaController = _.__InkHighlight__alpha = $;
_._active = true;
_._ink_well$_color = t6;
_._material$_controller = t7;
_.referenceBox = t8;
_.onRemoved = t9;
_._material$_debugDisposed = false;
},
Radio$: function(activeColor, autofocus, groupValue, materialTapTargetSize, onChanged, toggleable, value, $T) {
return new Y.Radio(value, groupValue, onChanged, toggleable, activeColor, materialTapTargetSize, false, null, $T._eval$1("Radio<0>"));
},
Radio: function Radio(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.value = t0;
_.groupValue = t1;
_.onChanged = t2;
_.toggleable = t3;
_.activeColor = t4;
_.materialTapTargetSize = t5;
_.autofocus = t6;
_.key = t7;
_.$ti = t8;
},
_RadioState: function _RadioState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
var _ = this;
_._radio$_painter = t0;
_.ToggleableStateMixin___ToggleableStateMixin__positionController = t1;
_.ToggleableStateMixin___ToggleableStateMixin__position = t2;
_.ToggleableStateMixin___ToggleableStateMixin__reactionController = t3;
_.ToggleableStateMixin___ToggleableStateMixin__reaction = t4;
_.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade = t5;
_.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController = t6;
_.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade = t7;
_.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController = t8;
_.ToggleableStateMixin___ToggleableStateMixin__actionMap = t9;
_.ToggleableStateMixin__downPosition = t10;
_.ToggleableStateMixin__focused = t11;
_.ToggleableStateMixin__hovering = t12;
_.TickerProviderStateMixin__tickers = t13;
_._widget = null;
_._debugLifecycleState = t14;
_._framework$_element = null;
_.$ti = t15;
},
_RadioState__widgetFillColor_closure: function _RadioState__widgetFillColor_closure(t0) {
this.$this = t0;
},
_RadioState__defaultFillColor_closure: function _RadioState__defaultFillColor_closure(t0) {
this.themeData = t0;
},
_RadioState_build_closure: function _RadioState_build_closure(t0, t1) {
this.$this = t0;
this.themeData = t1;
},
_RadioPainter: function _RadioPainter(t0) {
var _ = this;
_._isHovered = _._isFocused = _._downPosition = _._splashRadius = _._toggleable$_focusColor = _._toggleable$_hoverColor = _._reactionColor = _._inactiveReactionColor = _._inactiveColor = _._activeColor = _._reactionHoverFade = _._reactionFocusFade = _._toggleable$_reaction = _._toggleable$_position = null;
_.ChangeNotifier__listeners = t0;
},
__RadioState_State_TickerProviderStateMixin: function __RadioState_State_TickerProviderStateMixin() {
},
__RadioState_State_TickerProviderStateMixin_ToggleableStateMixin: function __RadioState_State_TickerProviderStateMixin_ToggleableStateMixin() {
},
BorderSide_merge: function(a, b) {
var t1 = a.style,
aIsNone = t1 === C.BorderStyle_0 && a.width === 0,
bIsNone = b.style === C.BorderStyle_0 && b.width === 0;
if (aIsNone && bIsNone)
return C.BorderSide_m7u;
if (aIsNone)
return b;
if (bIsNone)
return a;
return new Y.BorderSide(a.color, a.width + b.width, t1);
},
BorderSide_canMerge: function(a, b) {
var t2,
t1 = a.style;
if (!(t1 === C.BorderStyle_0 && a.width === 0))
t2 = b.style === C.BorderStyle_0 && b.width === 0;
else
t2 = true;
if (t2)
return true;
return t1 === b.style && J.$eq$(a.color, b.color);
},
BorderSide_lerp: function(a, b, t) {
var t1, t2, t3, colorA, colorB,
_s80_ = string$.x60null_c;
if (t === 0)
return a;
if (t === 1)
return b;
t1 = P.lerpDouble(a.width, b.width, t);
t1.toString;
if (t1 < 0)
return C.BorderSide_m7u;
t2 = a.style;
t3 = b.style;
if (t2 === t3) {
t3 = P.Color_lerp(a.color, b.color, t);
t3.toString;
return new Y.BorderSide(t3, t1, t2);
}
switch (t2) {
case C.BorderStyle_1:
colorA = a.color;
break;
case C.BorderStyle_0:
t2 = a.color;
colorA = P.Color$fromARGB(0, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255);
break;
default:
throw H.wrapException(H.ReachabilityError$(_s80_));
}
switch (t3) {
case C.BorderStyle_1:
colorB = b.color;
break;
case C.BorderStyle_0:
t2 = b.color;
colorB = P.Color$fromARGB(0, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255);
break;
default:
throw H.wrapException(H.ReachabilityError$(_s80_));
}
t2 = P.Color_lerp(colorA, colorB, t);
t2.toString;
return new Y.BorderSide(t2, t1, C.BorderStyle_1);
},
ShapeBorder_lerp: function(a, b, t) {
var t1,
result = b != null ? b.lerpFrom$2(a, t) : null;
if (result == null && a != null)
result = a.lerpTo$2(b, t);
if (result == null)
t1 = t < 0.5 ? a : b;
else
t1 = result;
return t1;
},
_CompoundBorder_lerp: function(a, b, t) {
var index, localA, localB, t1, localResult,
aList = a instanceof Y._CompoundBorder ? a.borders : H.setRuntimeTypeInfo([a], type$.JSArray_nullable_ShapeBorder),
bList = b instanceof Y._CompoundBorder ? b.borders : H.setRuntimeTypeInfo([b], type$.JSArray_nullable_ShapeBorder),
results = H.setRuntimeTypeInfo([], type$.JSArray_ShapeBorder),
$length = Math.max(aList.length, bList.length);
for (index = 0; index < $length; ++index) {
localA = index < aList.length ? aList[index] : null;
localB = index < bList.length ? bList[index] : null;
t1 = localA != null;
if (t1 && localB != null) {
localResult = localA.lerpTo$2(localB, t);
if (localResult == null)
localResult = localB.lerpFrom$2(localA, t);
if (localResult != null) {
results.push(localResult);
continue;
}
}
if (localB != null)
results.push(localB.scale$1(0, t));
if (t1)
results.push(localA.scale$1(0, 1 - t));
}
return new Y._CompoundBorder(results);
},
paintBorder: function(canvas, rect, bottom, left, right, $top) {
var path, t1, t2, t3, t4,
_s80_ = string$.x60null_c,
paint = new H.SurfacePaint(new H.SurfacePaintData());
paint.set$strokeWidth(0);
path = P.Path_Path();
switch ($top.style) {
case C.BorderStyle_1:
paint.set$color(0, $top.color);
path.reset$0(0);
t1 = rect.left;
t2 = rect.top;
path.moveTo$2(0, t1, t2);
t3 = rect.right;
path.lineTo$2(0, t3, t2);
t4 = $top.width;
if (t4 === 0)
paint.set$style(0, C.PaintingStyle_1);
else {
paint.set$style(0, C.PaintingStyle_0);
t2 += t4;
path.lineTo$2(0, t3 - right.width, t2);
path.lineTo$2(0, t1 + left.width, t2);
}
canvas.drawPath$2(0, path, paint);
break;
case C.BorderStyle_0:
break;
default:
throw H.wrapException(H.ReachabilityError$(_s80_));
}
switch (right.style) {
case C.BorderStyle_1:
paint.set$color(0, right.color);
path.reset$0(0);
t1 = rect.right;
t2 = rect.top;
path.moveTo$2(0, t1, t2);
t3 = rect.bottom;
path.lineTo$2(0, t1, t3);
t4 = right.width;
if (t4 === 0)
paint.set$style(0, C.PaintingStyle_1);
else {
paint.set$style(0, C.PaintingStyle_0);
t1 -= t4;
path.lineTo$2(0, t1, t3 - bottom.width);
path.lineTo$2(0, t1, t2 + $top.width);
}
canvas.drawPath$2(0, path, paint);
break;
case C.BorderStyle_0:
break;
default:
throw H.wrapException(H.ReachabilityError$(_s80_));
}
switch (bottom.style) {
case C.BorderStyle_1:
paint.set$color(0, bottom.color);
path.reset$0(0);
t1 = rect.right;
t2 = rect.bottom;
path.moveTo$2(0, t1, t2);
t3 = rect.left;
path.lineTo$2(0, t3, t2);
t4 = bottom.width;
if (t4 === 0)
paint.set$style(0, C.PaintingStyle_1);
else {
paint.set$style(0, C.PaintingStyle_0);
t2 -= t4;
path.lineTo$2(0, t3 + left.width, t2);
path.lineTo$2(0, t1 - right.width, t2);
}
canvas.drawPath$2(0, path, paint);
break;
case C.BorderStyle_0:
break;
default:
throw H.wrapException(H.ReachabilityError$(_s80_));
}
switch (left.style) {
case C.BorderStyle_1:
paint.set$color(0, left.color);
path.reset$0(0);
t1 = rect.left;
t2 = rect.bottom;
path.moveTo$2(0, t1, t2);
t3 = rect.top;
path.lineTo$2(0, t1, t3);
t4 = left.width;
if (t4 === 0)
paint.set$style(0, C.PaintingStyle_1);
else {
paint.set$style(0, C.PaintingStyle_0);
t1 += t4;
path.lineTo$2(0, t1, t3 + $top.width);
path.lineTo$2(0, t1, t2 - bottom.width);
}
canvas.drawPath$2(0, path, paint);
break;
case C.BorderStyle_0:
break;
default:
throw H.wrapException(H.ReachabilityError$(_s80_));
}
},
BorderStyle: function BorderStyle(t0) {
this._borders$_name = t0;
},
BorderSide: function BorderSide(t0, t1, t2) {
this.color = t0;
this.width = t1;
this.style = t2;
},
ShapeBorder: function ShapeBorder() {
},
OutlinedBorder: function OutlinedBorder() {
},
_CompoundBorder: function _CompoundBorder(t0) {
this.borders = t0;
},
_CompoundBorder_dimensions_closure: function _CompoundBorder_dimensions_closure() {
},
_CompoundBorder_scale_closure: function _CompoundBorder_scale_closure(t0) {
this.t = t0;
},
_CompoundBorder_toString_closure: function _CompoundBorder_toString_closure() {
},
IconTheme$: function(child, data, key) {
return new Y.IconTheme(data, child, key);
},
IconTheme_merge: function(child, data) {
return new T.Builder(new Y.IconTheme_merge_closure(null, data, child), null);
},
IconTheme__getInheritedIconThemeData: function(context) {
var iconTheme = context.dependOnInheritedWidgetOfExactType$1$0(type$.IconTheme),
t1 = iconTheme == null ? null : iconTheme.data;
return t1 == null ? C.IconThemeData_Color_4278190080_1_24 : t1;
},
IconTheme: function IconTheme(t0, t1, t2) {
this.data = t0;
this.child = t1;
this.key = t2;
},
IconTheme_merge_closure: function IconTheme_merge_closure(t0, t1, t2) {
this.key = t0;
this.data = t1;
this.child = t2;
},
ScrollAwareImageProvider: function ScrollAwareImageProvider(t0, t1, t2) {
this.context = t0;
this.imageProvider = t1;
this.$ti = t2;
},
ScrollAwareImageProvider_resolveStreamForKey_closure: function ScrollAwareImageProvider_resolveStreamForKey_closure(t0, t1, t2, t3, t4) {
var _ = this;
_.$this = t0;
_.configuration = t1;
_.stream = t2;
_.key = t3;
_.handleError = t4;
},
ScrollAwareImageProvider_resolveStreamForKey__closure: function ScrollAwareImageProvider_resolveStreamForKey__closure(t0, t1, t2, t3, t4) {
var _ = this;
_.$this = t0;
_.configuration = t1;
_.stream = t2;
_.key = t3;
_.handleError = t4;
},
ClampingScrollSimulation$: function(position, tolerance, velocity) {
var t1 = new Y.ClampingScrollSimulation(position, velocity, tolerance),
deceleration = t1._splineDeceleration$1(velocity),
t2 = $.$get$ClampingScrollSimulation__kDecelerationRate();
t1.__ClampingScrollSimulation__duration = C.JSNumber_methods.round$0(1000 * Math.exp(deceleration / (t2 - 1)));
t1.__ClampingScrollSimulation__distance = 778.3530259679998 * Math.exp(t2 / (t2 - 1) * t1._splineDeceleration$1(velocity));
return t1;
},
_NBSample$: function(time, duration) {
var tInf, t2, dInf,
t1 = new Y._NBSample(),
t = time * 1000 / duration,
index = C.JSNumber_methods.round$0(C.JSNumber_methods.clamp$2(100 * t, 0, 100));
t1.___NBSample__distanceCoef = 1;
t1.___NBSample__velocityCoef = 0;
if (index < 100) {
tInf = index / 100;
t2 = index + 1;
dInf = $._NBSample__splinePosition[index];
t1.___NBSample__velocityCoef = ($._NBSample__splinePosition[t2] - dInf) / (t2 / 100 - tInf);
t1.___NBSample__distanceCoef = dInf + (t - tInf) * t1.get$_velocityCoef();
}
return t1;
},
BouncingScrollSimulation: function BouncingScrollSimulation(t0, t1, t2, t3) {
var _ = this;
_.leadingExtent = t0;
_.trailingExtent = t1;
_.spring = t2;
_.__BouncingScrollSimulation__springTime = _.__BouncingScrollSimulation__springSimulation = _.__BouncingScrollSimulation__frictionSimulation = $;
_._timeOffset = 0;
_.tolerance = t3;
},
ClampingScrollSimulation: function ClampingScrollSimulation(t0, t1, t2) {
var _ = this;
_.position = t0;
_.velocity = t1;
_.__ClampingScrollSimulation__distance = _.__ClampingScrollSimulation__duration = $;
_.tolerance = t2;
},
_NBSample: function _NBSample() {
this.___NBSample__distanceCoef = this.___NBSample__velocityCoef = $;
},
TextEditingAction: function TextEditingAction() {
},
CacheManager: function CacheManager() {
},
GlobalCupertinoLocalizations: function GlobalCupertinoLocalizations() {
},
_GlobalCupertinoLocalizationsDelegate: function _GlobalCupertinoLocalizationsDelegate() {
},
_GlobalCupertinoLocalizationsDelegate_load_closure: function _GlobalCupertinoLocalizationsDelegate_load_closure(t0) {
this.locale = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__dayFormat_set: function _GlobalCupertinoLocalizationsDelegate_load_closure__dayFormat_set(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__decimalFormat_set: function _GlobalCupertinoLocalizationsDelegate_load_closure__decimalFormat_set(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__doubleDigitMinuteFormat_set: function _GlobalCupertinoLocalizationsDelegate_load_closure__doubleDigitMinuteFormat_set(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__fullYearFormat_set: function _GlobalCupertinoLocalizationsDelegate_load_closure__fullYearFormat_set(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__mediumDateFormat_set: function _GlobalCupertinoLocalizationsDelegate_load_closure__mediumDateFormat_set(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__singleDigitHourFormat_set: function _GlobalCupertinoLocalizationsDelegate_load_closure__singleDigitHourFormat_set(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__singleDigitMinuteFormat_set: function _GlobalCupertinoLocalizationsDelegate_load_closure__singleDigitMinuteFormat_set(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__singleDigitSecondFormat_set: function _GlobalCupertinoLocalizationsDelegate_load_closure__singleDigitSecondFormat_set(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__fullYearFormat_get: function _GlobalCupertinoLocalizationsDelegate_load_closure__fullYearFormat_get(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__dayFormat_get: function _GlobalCupertinoLocalizationsDelegate_load_closure__dayFormat_get(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__mediumDateFormat_get: function _GlobalCupertinoLocalizationsDelegate_load_closure__mediumDateFormat_get(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__singleDigitHourFormat_get: function _GlobalCupertinoLocalizationsDelegate_load_closure__singleDigitHourFormat_get(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__singleDigitMinuteFormat_get: function _GlobalCupertinoLocalizationsDelegate_load_closure__singleDigitMinuteFormat_get(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__doubleDigitMinuteFormat_get: function _GlobalCupertinoLocalizationsDelegate_load_closure__doubleDigitMinuteFormat_get(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__singleDigitSecondFormat_get: function _GlobalCupertinoLocalizationsDelegate_load_closure__singleDigitSecondFormat_get(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure__decimalFormat_get: function _GlobalCupertinoLocalizationsDelegate_load_closure__decimalFormat_get(t0) {
this._box_0 = t0;
},
_GlobalCupertinoLocalizationsDelegate_load_closure_loadFormats: function _GlobalCupertinoLocalizationsDelegate_load_closure_loadFormats(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._fullYearFormat_set = t0;
_._dayFormat_set = t1;
_._mediumDateFormat_set = t2;
_._singleDigitHourFormat_set = t3;
_._singleDigitMinuteFormat_set = t4;
_._doubleDigitMinuteFormat_set = t5;
_._singleDigitSecondFormat_set = t6;
_._decimalFormat_set = t7;
},
MaterialLocalizationDe$: function(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) {
return new Y.MaterialLocalizationDe(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
},
MaterialLocalizationEn$: function(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) {
return new Y.MaterialLocalizationEn(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
},
MaterialLocalizationEs$: function(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) {
return new Y.MaterialLocalizationEs(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
},
MaterialLocalizationFr$: function(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) {
return new Y.MaterialLocalizationFr(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
},
MaterialLocalizationPt$: function(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) {
return new Y.MaterialLocalizationPt(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
},
MaterialLocalizationSr$: function(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) {
return new Y.MaterialLocalizationSr(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
},
MaterialLocalizationZh$: function(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) {
return new Y.MaterialLocalizationZh(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
},
MaterialLocalizationZhHant$: function(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) {
return new Y.MaterialLocalizationZhHant(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
},
MaterialLocalizationZhHantHk$: function(compactDateFormat, decimalFormat, fullYearFormat, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) {
return new Y.MaterialLocalizationZhHantHk("zh_Hant_HK", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
},
MaterialLocalizationZhHantTw$: function(compactDateFormat, decimalFormat, fullYearFormat, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) {
return new Y.MaterialLocalizationZhHantTw("zh_Hant_TW", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
},
getMaterialTranslation: function(locale, fullYearFormat, compactDateFormat, shortDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, shortMonthDayFormat, decimalFormat, twoDigitZeroPaddedFormat) {
switch (locale.get$languageCode(locale)) {
case "af":
return new Y.MaterialLocalizationAf("af", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "am":
return new Y.MaterialLocalizationAm("am", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ar":
return new Y.MaterialLocalizationAr("ar", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "as":
return new Y.MaterialLocalizationAs("as", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "az":
return new Y.MaterialLocalizationAz("az", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "be":
return new Y.MaterialLocalizationBe("be", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "bg":
return new Y.MaterialLocalizationBg("bg", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "bn":
return new Y.MaterialLocalizationBn("bn", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "bs":
return new Y.MaterialLocalizationBs("bs", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ca":
return new Y.MaterialLocalizationCa("ca", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "cs":
return new Y.MaterialLocalizationCs("cs", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "da":
return new Y.MaterialLocalizationDa("da", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "de":
switch (locale.get$countryCode()) {
case "CH":
return new Y.MaterialLocalizationDeCh("de_CH", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
}
return Y.MaterialLocalizationDe$(compactDateFormat, decimalFormat, fullYearFormat, "de", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat);
case "el":
return new Y.MaterialLocalizationEl("el", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "en":
switch (locale.get$countryCode()) {
case "AU":
return new Y.MaterialLocalizationEnAu("en_AU", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "CA":
return new Y.MaterialLocalizationEnCa("en_CA", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "GB":
return new Y.MaterialLocalizationEnGb("en_GB", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "IE":
return new Y.MaterialLocalizationEnIe("en_IE", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "IN":
return new Y.MaterialLocalizationEnIn("en_IN", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "NZ":
return new Y.MaterialLocalizationEnNz("en_NZ", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "SG":
return new Y.MaterialLocalizationEnSg("en_SG", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ZA":
return new Y.MaterialLocalizationEnZa("en_ZA", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
}
return Y.MaterialLocalizationEn$(compactDateFormat, decimalFormat, fullYearFormat, "en", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat);
case "es":
switch (locale.get$countryCode()) {
case "419":
return new Y.MaterialLocalizationEs419("es_419", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "AR":
return new Y.MaterialLocalizationEsAr("es_AR", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "BO":
return new Y.MaterialLocalizationEsBo("es_BO", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "CL":
return new Y.MaterialLocalizationEsCl("es_CL", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "CO":
return new Y.MaterialLocalizationEsCo("es_CO", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "CR":
return new Y.MaterialLocalizationEsCr("es_CR", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "DO":
return new Y.MaterialLocalizationEsDo("es_DO", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "EC":
return new Y.MaterialLocalizationEsEc("es_EC", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "GT":
return new Y.MaterialLocalizationEsGt("es_GT", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "HN":
return new Y.MaterialLocalizationEsHn("es_HN", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "MX":
return new Y.MaterialLocalizationEsMx("es_MX", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "NI":
return new Y.MaterialLocalizationEsNi("es_NI", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "PA":
return new Y.MaterialLocalizationEsPa("es_PA", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "PE":
return new Y.MaterialLocalizationEsPe("es_PE", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "PR":
return new Y.MaterialLocalizationEsPr("es_PR", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "PY":
return new Y.MaterialLocalizationEsPy("es_PY", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "SV":
return new Y.MaterialLocalizationEsSv("es_SV", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "US":
return new Y.MaterialLocalizationEsUs("es_US", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "UY":
return new Y.MaterialLocalizationEsUy("es_UY", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "VE":
return new Y.MaterialLocalizationEsVe("es_VE", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
}
return Y.MaterialLocalizationEs$(compactDateFormat, decimalFormat, fullYearFormat, "es", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat);
case "et":
return new Y.MaterialLocalizationEt("et", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "eu":
return new Y.MaterialLocalizationEu("eu", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "fa":
return new Y.MaterialLocalizationFa("fa", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "fi":
return new Y.MaterialLocalizationFi("fi", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "fil":
return new Y.MaterialLocalizationFil("fil", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "fr":
switch (locale.get$countryCode()) {
case "CA":
return new Y.MaterialLocalizationFrCa("fr_CA", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
}
return Y.MaterialLocalizationFr$(compactDateFormat, decimalFormat, fullYearFormat, "fr", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat);
case "gl":
return new Y.MaterialLocalizationGl("gl", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "gsw":
return new Y.MaterialLocalizationGsw("gsw", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "gu":
return new Y.MaterialLocalizationGu("gu", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "he":
return new Y.MaterialLocalizationHe("he", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "hi":
return new Y.MaterialLocalizationHi("hi", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "hr":
return new Y.MaterialLocalizationHr("hr", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "hu":
return new Y.MaterialLocalizationHu("hu", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "hy":
return new Y.MaterialLocalizationHy("hy", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "id":
return new Y.MaterialLocalizationId("id", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "is":
return new Y.MaterialLocalizationIs("is", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "it":
return new Y.MaterialLocalizationIt("it", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ja":
return new Y.MaterialLocalizationJa("ja", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ka":
return new Y.MaterialLocalizationKa("ka", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "kk":
return new Y.MaterialLocalizationKk("kk", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "km":
return new Y.MaterialLocalizationKm("km", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "kn":
return new Y.MaterialLocalizationKn("kn", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ko":
return new Y.MaterialLocalizationKo("ko", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ky":
return new Y.MaterialLocalizationKy("ky", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "lo":
return new Y.MaterialLocalizationLo("lo", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "lt":
return new Y.MaterialLocalizationLt("lt", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "lv":
return new Y.MaterialLocalizationLv("lv", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "mk":
return new Y.MaterialLocalizationMk("mk", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ml":
return new Y.MaterialLocalizationMl("ml", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "mn":
return new Y.MaterialLocalizationMn("mn", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "mr":
return new Y.MaterialLocalizationMr("mr", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ms":
return new Y.MaterialLocalizationMs("ms", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "my":
return new Y.MaterialLocalizationMy("my", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "nb":
return new Y.MaterialLocalizationNb("nb", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ne":
return new Y.MaterialLocalizationNe("ne", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "nl":
return new Y.MaterialLocalizationNl("nl", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "no":
return new Y.MaterialLocalizationNo("no", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "or":
return new Y.MaterialLocalizationOr("or", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "pa":
return new Y.MaterialLocalizationPa("pa", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "pl":
return new Y.MaterialLocalizationPl("pl", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ps":
return new Y.MaterialLocalizationPs("ps", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "pt":
switch (locale.get$countryCode()) {
case "PT":
return new Y.MaterialLocalizationPtPt("pt_PT", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
}
return Y.MaterialLocalizationPt$(compactDateFormat, decimalFormat, fullYearFormat, "pt", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat);
case "ro":
return new Y.MaterialLocalizationRo("ro", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ru":
return new Y.MaterialLocalizationRu("ru", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "si":
return new Y.MaterialLocalizationSi("si", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "sk":
return new Y.MaterialLocalizationSk("sk", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "sl":
return new Y.MaterialLocalizationSl("sl", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "sq":
return new Y.MaterialLocalizationSq("sq", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "sr":
switch (null) {
case "Cyrl":
return new Y.MaterialLocalizationSrCyrl("sr_Cyrl", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "Latn":
return new Y.MaterialLocalizationSrLatn("sr_Latn", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
}
return Y.MaterialLocalizationSr$(compactDateFormat, decimalFormat, fullYearFormat, "sr", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat);
case "sv":
return new Y.MaterialLocalizationSv("sv", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "sw":
return new Y.MaterialLocalizationSw("sw", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ta":
return new Y.MaterialLocalizationTa("ta", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "te":
return new Y.MaterialLocalizationTe("te", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "th":
return new Y.MaterialLocalizationTh("th", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "tl":
return new Y.MaterialLocalizationTl("tl", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "tr":
return new Y.MaterialLocalizationTr("tr", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "uk":
return new Y.MaterialLocalizationUk("uk", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "ur":
return new Y.MaterialLocalizationUr("ur", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "uz":
return new Y.MaterialLocalizationUz("uz", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "vi":
return new Y.MaterialLocalizationVi("vi", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "zh":
switch (null) {
case "Hans":
return new Y.MaterialLocalizationZhHans("zh_Hans", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
case "Hant":
switch (locale.get$countryCode()) {
case "HK":
return Y.MaterialLocalizationZhHantHk$(compactDateFormat, decimalFormat, fullYearFormat, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat);
case "TW":
return Y.MaterialLocalizationZhHantTw$(compactDateFormat, decimalFormat, fullYearFormat, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat);
}
return Y.MaterialLocalizationZhHant$(compactDateFormat, decimalFormat, fullYearFormat, "zh_Hant", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat);
}
switch (locale.get$countryCode()) {
case "HK":
return Y.MaterialLocalizationZhHantHk$(compactDateFormat, decimalFormat, fullYearFormat, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat);
case "TW":
return Y.MaterialLocalizationZhHantTw$(compactDateFormat, decimalFormat, fullYearFormat, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat);
}
return Y.MaterialLocalizationZh$(compactDateFormat, decimalFormat, fullYearFormat, "zh", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat);
case "zu":
return new Y.MaterialLocalizationZu("zu", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat);
}
return null;
},
MaterialLocalizationAf: function MaterialLocalizationAf(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationAm: function MaterialLocalizationAm(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationAr: function MaterialLocalizationAr(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationAs: function MaterialLocalizationAs(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationAz: function MaterialLocalizationAz(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationBe: function MaterialLocalizationBe(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationBg: function MaterialLocalizationBg(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationBn: function MaterialLocalizationBn(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationBs: function MaterialLocalizationBs(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationCa: function MaterialLocalizationCa(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationCs: function MaterialLocalizationCs(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationDa: function MaterialLocalizationDa(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationDe: function MaterialLocalizationDe(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationDeCh: function MaterialLocalizationDeCh(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEl: function MaterialLocalizationEl(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEn: function MaterialLocalizationEn(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEnAu: function MaterialLocalizationEnAu(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEnCa: function MaterialLocalizationEnCa(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEnGb: function MaterialLocalizationEnGb(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEnIe: function MaterialLocalizationEnIe(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEnIn: function MaterialLocalizationEnIn(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEnNz: function MaterialLocalizationEnNz(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEnSg: function MaterialLocalizationEnSg(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEnZa: function MaterialLocalizationEnZa(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEs: function MaterialLocalizationEs(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEs419: function MaterialLocalizationEs419(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsAr: function MaterialLocalizationEsAr(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsBo: function MaterialLocalizationEsBo(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsCl: function MaterialLocalizationEsCl(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsCo: function MaterialLocalizationEsCo(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsCr: function MaterialLocalizationEsCr(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsDo: function MaterialLocalizationEsDo(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsEc: function MaterialLocalizationEsEc(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsGt: function MaterialLocalizationEsGt(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsHn: function MaterialLocalizationEsHn(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsMx: function MaterialLocalizationEsMx(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsNi: function MaterialLocalizationEsNi(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsPa: function MaterialLocalizationEsPa(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsPe: function MaterialLocalizationEsPe(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsPr: function MaterialLocalizationEsPr(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsPy: function MaterialLocalizationEsPy(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsSv: function MaterialLocalizationEsSv(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsUs: function MaterialLocalizationEsUs(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsUy: function MaterialLocalizationEsUy(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEsVe: function MaterialLocalizationEsVe(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEt: function MaterialLocalizationEt(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationEu: function MaterialLocalizationEu(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationFa: function MaterialLocalizationFa(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationFi: function MaterialLocalizationFi(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationFil: function MaterialLocalizationFil(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationFr: function MaterialLocalizationFr(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationFrCa: function MaterialLocalizationFrCa(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationGl: function MaterialLocalizationGl(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationGsw: function MaterialLocalizationGsw(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationGu: function MaterialLocalizationGu(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationHe: function MaterialLocalizationHe(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationHi: function MaterialLocalizationHi(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationHr: function MaterialLocalizationHr(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationHu: function MaterialLocalizationHu(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationHy: function MaterialLocalizationHy(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationId: function MaterialLocalizationId(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationIs: function MaterialLocalizationIs(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationIt: function MaterialLocalizationIt(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationJa: function MaterialLocalizationJa(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationKa: function MaterialLocalizationKa(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationKk: function MaterialLocalizationKk(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationKm: function MaterialLocalizationKm(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationKn: function MaterialLocalizationKn(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationKo: function MaterialLocalizationKo(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationKy: function MaterialLocalizationKy(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationLo: function MaterialLocalizationLo(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationLt: function MaterialLocalizationLt(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationLv: function MaterialLocalizationLv(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationMk: function MaterialLocalizationMk(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationMl: function MaterialLocalizationMl(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationMn: function MaterialLocalizationMn(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationMr: function MaterialLocalizationMr(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationMs: function MaterialLocalizationMs(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationMy: function MaterialLocalizationMy(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationNb: function MaterialLocalizationNb(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationNe: function MaterialLocalizationNe(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationNl: function MaterialLocalizationNl(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationNo: function MaterialLocalizationNo(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationOr: function MaterialLocalizationOr(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationPa: function MaterialLocalizationPa(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationPl: function MaterialLocalizationPl(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationPs: function MaterialLocalizationPs(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationPt: function MaterialLocalizationPt(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationPtPt: function MaterialLocalizationPtPt(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationRo: function MaterialLocalizationRo(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationRu: function MaterialLocalizationRu(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationSi: function MaterialLocalizationSi(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationSk: function MaterialLocalizationSk(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationSl: function MaterialLocalizationSl(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationSq: function MaterialLocalizationSq(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationSr: function MaterialLocalizationSr(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationSrCyrl: function MaterialLocalizationSrCyrl(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationSrLatn: function MaterialLocalizationSrLatn(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationSv: function MaterialLocalizationSv(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationSw: function MaterialLocalizationSw(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationTa: function MaterialLocalizationTa(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationTe: function MaterialLocalizationTe(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationTh: function MaterialLocalizationTh(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationTl: function MaterialLocalizationTl(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationTr: function MaterialLocalizationTr(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationUk: function MaterialLocalizationUk(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationUr: function MaterialLocalizationUr(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationUz: function MaterialLocalizationUz(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationVi: function MaterialLocalizationVi(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationZh: function MaterialLocalizationZh(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationZhHans: function MaterialLocalizationZhHans(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationZhHant: function MaterialLocalizationZhHant(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationZhHantHk: function MaterialLocalizationZhHantHk(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationZhHantTw: function MaterialLocalizationZhHantTw(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
MaterialLocalizationZu: function MaterialLocalizationZu(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._localeName = t0;
_._fullYearFormat0 = t1;
_._compactDateFormat = t2;
_._mediumDateFormat0 = t3;
_._longDateFormat = t4;
_._yearMonthFormat = t5;
_._decimalFormat0 = t6;
_._twoDigitZeroPaddedFormat = t7;
},
SettingsRepository: function SettingsRepository() {
},
TaskRepository: function TaskRepository() {
},
_$DashboardUIState$_: function(selectedEntities, selectedEntityType, settings, showSidebar) {
if (selectedEntities == null)
H.throwExpression(Y.BuiltValueNullFieldError$("DashboardUIState", "selectedEntities"));
return new Y._$DashboardUIState(settings, selectedEntityType, selectedEntities, showSidebar);
},
_$DashboardUISettings$_: function(compareCustomEndDate, compareCustomStartDate, compareDateRange, currencyId, customEndDate, customStartDate, dateRange, enableComparison, includeTaxes, offset) {
var _s19_ = "DashboardUISettings";
if (customEndDate == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "customEndDate"));
if (compareCustomEndDate == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "compareCustomEndDate"));
return new Y._$DashboardUISettings(dateRange, customStartDate, customEndDate, enableComparison, compareDateRange, compareCustomStartDate, compareCustomEndDate, offset, currencyId, includeTaxes);
},
DashboardUIState: function DashboardUIState() {
},
DashboardUISettings: function DashboardUISettings() {
},
_$DashboardUIStateSerializer: function _$DashboardUIStateSerializer() {
},
_$DashboardUISettingsSerializer: function _$DashboardUISettingsSerializer() {
},
_$DashboardUIState: function _$DashboardUIState(t0, t1, t2, t3) {
var _ = this;
_.settings = t0;
_.selectedEntityType = t1;
_.selectedEntities = t2;
_.showSidebar = t3;
_._dashboard_state$__hashCode = null;
},
DashboardUIStateBuilder: function DashboardUIStateBuilder() {
var _ = this;
_._showSidebar = _._selectedEntities = _._selectedEntityType = _._dashboard_state$_settings = _._dashboard_state$_$v = null;
},
_$DashboardUISettings: function _$DashboardUISettings(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.dateRange = t0;
_.customStartDate = t1;
_.customEndDate = t2;
_.enableComparison = t3;
_.compareDateRange = t4;
_.compareCustomStartDate = t5;
_.compareCustomEndDate = t6;
_.offset = t7;
_.currencyId = t8;
_.includeTaxes = t9;
_._dashboard_state$__hashCode = null;
},
DashboardUISettingsBuilder: function DashboardUISettingsBuilder() {
var _ = this;
_._includeTaxes = _._dashboard_state$_currencyId = _._offset = _._compareCustomEndDate = _._compareCustomStartDate = _._compareDateRange = _._enableComparison = _._dashboard_state$_customEndDate = _._dashboard_state$_customStartDate = _._dateRange = _._dashboard_state$_$v = null;
},
_$DesignState$_: function(list, map) {
var _s11_ = "DesignState";
if (map == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "map"));
if (list == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "list"));
return new Y._$DesignState(map, list);
},
_$DesignUIState$_: function(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) {
if (listUIState == null)
H.throwExpression(Y.BuiltValueNullFieldError$("DesignUIState", "listUIState"));
return new Y._$DesignUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter);
},
DesignState: function DesignState() {
},
DesignState_cleanDesign_closure: function DesignState_cleanDesign_closure(t0) {
this.$this = t0;
},
DesignState_cleanDesign_closure0: function DesignState_cleanDesign_closure0() {
},
DesignState_customDesigns_closure: function DesignState_customDesigns_closure(t0) {
this.$this = t0;
},
DesignState_customDesigns_closure0: function DesignState_customDesigns_closure0(t0) {
this.$this = t0;
},
DesignState_loadDesigns_closure0: function DesignState_loadDesigns_closure0() {
},
DesignState_loadDesigns_closure1: function DesignState_loadDesigns_closure1() {
},
DesignState_loadDesigns_closure: function DesignState_loadDesigns_closure(t0, t1) {
this.$this = t0;
this.map = t1;
},
DesignUIState: function DesignUIState() {
},
_$DesignStateSerializer: function _$DesignStateSerializer() {
},
_$DesignUIStateSerializer: function _$DesignUIStateSerializer() {
},
_$DesignState: function _$DesignState(t0, t1) {
this.map = t0;
this.list = t1;
this._design_state$__hashCode = null;
},
DesignStateBuilder: function DesignStateBuilder() {
this._design_state$_list = this._design_state$_map = this._design_state$_$v = null;
},
_$DesignUIState: function _$DesignUIState(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.editing = t0;
_.listUIState = t1;
_.selectedId = t2;
_.forceSelected = t3;
_.tabIndex = t4;
_.saveCompleter = t5;
_.cancelCompleter = t6;
_._design_state$__hashCode = null;
},
DesignUIStateBuilder: function DesignUIStateBuilder() {
var _ = this;
_._design_state$_cancelCompleter = _._design_state$_saveCompleter = _._design_state$_tabIndex = _._design_state$_forceSelected = _._design_state$_selectedId = _._design_state$_listUIState = _._design_state$_editing = _._design_state$_$v = null;
},
_DesignUIState_Object_EntityUIState: function _DesignUIState_Object_EntityUIState() {
},
_editDocument: function() {
return new Y._editDocument_closure();
},
_viewDocument: function() {
return new Y._viewDocument_closure();
},
_viewDocumentList: function() {
return new Y._viewDocumentList_closure0();
},
_archiveDocument: function(repository) {
return new Y._archiveDocument_closure(repository);
},
_deleteDocument: function(repository) {
return new Y._deleteDocument_closure(repository);
},
_restoreDocument: function(repository) {
return new Y._restoreDocument_closure(repository);
},
_loadDocument: function(repository) {
return new Y._loadDocument_closure(repository);
},
_loadDocuments: function(repository) {
return new Y._loadDocuments_closure(repository);
},
_editDocument_closure: function _editDocument_closure() {
},
_viewDocument_closure: function _viewDocument_closure() {
},
_viewDocumentList_closure0: function _viewDocumentList_closure0() {
},
_viewDocumentList__closure: function _viewDocumentList__closure() {
},
_archiveDocument_closure: function _archiveDocument_closure(t0) {
this.repository = t0;
},
_archiveDocument__closure: function _archiveDocument__closure(t0) {
this.store = t0;
},
_archiveDocument__closure0: function _archiveDocument__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archiveDocument__closure1: function _archiveDocument__closure1(t0, t1, t2) {
this.store = t0;
this.prevDocuments = t1;
this.action = t2;
},
_deleteDocument_closure: function _deleteDocument_closure(t0) {
this.repository = t0;
},
_deleteDocument__closure: function _deleteDocument__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_deleteDocument__closure0: function _deleteDocument__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restoreDocument_closure: function _restoreDocument_closure(t0) {
this.repository = t0;
},
_restoreDocument__closure: function _restoreDocument__closure(t0) {
this.store = t0;
},
_restoreDocument__closure0: function _restoreDocument__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restoreDocument__closure1: function _restoreDocument__closure1(t0, t1, t2) {
this.store = t0;
this.prevDocuments = t1;
this.action = t2;
},
_loadDocument_closure: function _loadDocument_closure(t0) {
this.repository = t0;
},
_loadDocument__closure: function _loadDocument__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadDocument__closure0: function _loadDocument__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadDocuments_closure: function _loadDocuments_closure(t0) {
this.repository = t0;
},
_loadDocuments__closure: function _loadDocuments__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadDocuments__closure0: function _loadDocuments__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_$ProductState$_: function(list, map) {
var _s12_ = "ProductState";
if (map == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "map"));
if (list == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "list"));
return new Y._$ProductState(map, list);
},
_$ProductUIState$_: function(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) {
if (listUIState == null)
H.throwExpression(Y.BuiltValueNullFieldError$("ProductUIState", "listUIState"));
return new Y._$ProductUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter);
},
ProductState: function ProductState() {
},
ProductState_loadProducts_closure0: function ProductState_loadProducts_closure0() {
},
ProductState_loadProducts_closure1: function ProductState_loadProducts_closure1() {
},
ProductState_loadProducts_closure: function ProductState_loadProducts_closure(t0, t1) {
this.$this = t0;
this.map = t1;
},
ProductUIState: function ProductUIState() {
},
_$ProductStateSerializer: function _$ProductStateSerializer() {
},
_$ProductUIStateSerializer: function _$ProductUIStateSerializer() {
},
_$ProductState: function _$ProductState(t0, t1) {
this.map = t0;
this.list = t1;
this._product_state$__hashCode = null;
},
ProductStateBuilder: function ProductStateBuilder() {
this._product_state$_list = this._product_state$_map = this._product_state$_$v = null;
},
_$ProductUIState: function _$ProductUIState(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.editing = t0;
_.listUIState = t1;
_.selectedId = t2;
_.forceSelected = t3;
_.tabIndex = t4;
_.saveCompleter = t5;
_.cancelCompleter = t6;
_._product_state$__hashCode = null;
},
ProductUIStateBuilder: function ProductUIStateBuilder() {
var _ = this;
_._product_state$_cancelCompleter = _._product_state$_saveCompleter = _._product_state$_tabIndex = _._product_state$_forceSelected = _._product_state$_selectedId = _._product_state$_listUIState = _._product_state$_editing = _._product_state$_$v = null;
},
_ProductUIState_Object_EntityUIState: function _ProductUIState_Object_EntityUIState() {
},
filteredQuotesSelector: function(selectionState, quoteMap, quoteList, clientMap, quoteListState, userMap) {
var filterEntityId = selectionState.filterEntityId,
filterEntityType = selectionState.filterEntityType,
t1 = J.where$1$ax(quoteList._list, new Y.filteredQuotesSelector_closure(quoteMap, clientMap, selectionState, filterEntityType, filterEntityId, quoteListState)),
list = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
C.JSArray_methods.sort$1(list, new Y.filteredQuotesSelector_closure0(quoteMap, quoteListState, clientMap, userMap));
return list;
},
quoteStatsForClient: function(clientId, quoteMap) {
var t1 = {};
t1.countArchived = t1.countActive = 0;
J.forEach$1$ax(quoteMap._map$_map, new Y.quoteStatsForClient_closure(t1, clientId));
return new T.EntityStats(t1.countActive, t1.countArchived);
},
quoteStatsForDesign: function(designId, quoteMap) {
var t1 = {};
t1.countArchived = t1.countActive = 0;
J.forEach$1$ax(quoteMap._map$_map, new Y.quoteStatsForDesign_closure(t1, designId));
return new T.EntityStats(t1.countActive, t1.countArchived);
},
quoteStatsForUser: function(userId, quoteMap) {
var t1 = {};
t1.countArchived = t1.countActive = 0;
J.forEach$1$ax(quoteMap._map$_map, new Y.quoteStatsForUser_closure(t1, userId));
return new T.EntityStats(t1.countActive, t1.countArchived);
},
hasQuoteChanges: function(quote, quoteMap) {
var t1;
if (quote.get$isNew())
t1 = quote.isChanged;
else {
t1 = quote.id;
t1 = !quote.$eq(0, J.$index$asx(quoteMap._map$_map, t1));
}
return t1;
},
memoizedFilteredQuoteList_closure: function memoizedFilteredQuoteList_closure() {
},
filteredQuotesSelector_closure: function filteredQuotesSelector_closure(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.quoteMap = t0;
_.clientMap = t1;
_.selectionState = t2;
_.filterEntityType = t3;
_.filterEntityId = t4;
_.quoteListState = t5;
},
filteredQuotesSelector_closure0: function filteredQuotesSelector_closure0(t0, t1, t2, t3) {
var _ = this;
_.quoteMap = t0;
_.quoteListState = t1;
_.clientMap = t2;
_.userMap = t3;
},
memoizedQuoteStatsForClient_closure: function memoizedQuoteStatsForClient_closure() {
},
quoteStatsForClient_closure: function quoteStatsForClient_closure(t0, t1) {
this._box_0 = t0;
this.clientId = t1;
},
memoizedQuoteStatsForDesign_closure: function memoizedQuoteStatsForDesign_closure() {
},
quoteStatsForDesign_closure: function quoteStatsForDesign_closure(t0, t1) {
this._box_0 = t0;
this.designId = t1;
},
memoizedQuoteStatsForUser_closure: function memoizedQuoteStatsForUser_closure() {
},
quoteStatsForUser_closure: function quoteStatsForUser_closure(t0, t1) {
this._box_0 = t0;
this.userId = t1;
},
prefReducer: function(state, action, selectedCompanyId) {
return state.rebuild$1(new Y.prefReducer_closure(selectedCompanyId, state, action));
},
_resortFields: function(value, entityType, field) {
var t1,
sortField = J.$index$asx(value._map$_map, entityType);
if (sortField == null)
sortField = X._$PrefStateSortField$_(field !== "number", field);
t1 = new X.PrefStateSortFieldBuilder();
t1._pref_state$_$v = sortField;
new Y._resortFields_closure(sortField, field).call$1(t1);
return value.rebuild$1(new Y._resortFields_closure0(entityType, t1.build$0(0)));
},
companyPrefReducer: function(state, action) {
var t2, t3, t1 = {};
t1.state = state;
if (state == null) {
t2 = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_HistoryRecord);
t2 = t1.state = new X._$CompanyPrefState(t2);
} else
t2 = state;
t3 = new X.CompanyPrefStateBuilder();
t3._pref_state$_$v = t2;
new Y.companyPrefReducer_closure(t1, action).call$1(t3);
return t3.build$0(0);
},
_addToHistory: function(list, record) {
var old,
t1 = record.id,
t2 = t1 == null;
if (!t2 && C.JSString_methods.startsWith$1(t1, "-"))
return list;
if (record.entityType === C.EntityType_settings)
if (C.JSString_methods.endsWith$1(t2 ? "" : t1, "_edit"))
return list;
old = J.firstWhere$2$orElse$ax(list._list, new Y._addToHistory_closure(record), new Y._addToHistory_closure0());
if (old != null)
return list.rebuild$1(new Y._addToHistory_closure1(old, record));
else
return list.rebuild$1(new Y._addToHistory_closure2(record, list));
},
prefReducer_closure: function prefReducer_closure(t0, t1, t2) {
this.selectedCompanyId = t0;
this.state = t1;
this.action = t2;
},
_resortFields_closure: function _resortFields_closure(t0, t1) {
this.sortField = t0;
this.field = t1;
},
_resortFields_closure0: function _resortFields_closure0(t0, t1) {
this.entityType = t0;
this.directon = t1;
},
sortFieldsReducer_closure: function sortFieldsReducer_closure() {
},
sortFieldsReducer_closure0: function sortFieldsReducer_closure0() {
},
sortFieldsReducer_closure1: function sortFieldsReducer_closure1() {
},
sortFieldsReducer_closure2: function sortFieldsReducer_closure2() {
},
sortFieldsReducer_closure3: function sortFieldsReducer_closure3() {
},
sortFieldsReducer_closure4: function sortFieldsReducer_closure4() {
},
sortFieldsReducer_closure5: function sortFieldsReducer_closure5() {
},
sortFieldsReducer_closure6: function sortFieldsReducer_closure6() {
},
sortFieldsReducer_closure7: function sortFieldsReducer_closure7() {
},
sortFieldsReducer_closure8: function sortFieldsReducer_closure8() {
},
sortFieldsReducer_closure9: function sortFieldsReducer_closure9() {
},
sortFieldsReducer_closure10: function sortFieldsReducer_closure10() {
},
sortFieldsReducer_closure11: function sortFieldsReducer_closure11() {
},
sortFieldsReducer_closure12: function sortFieldsReducer_closure12() {
},
sortFieldsReducer_closure13: function sortFieldsReducer_closure13() {
},
sortFieldsReducer_closure14: function sortFieldsReducer_closure14() {
},
sortFieldsReducer_closure15: function sortFieldsReducer_closure15() {
},
sortFieldsReducer_closure16: function sortFieldsReducer_closure16() {
},
sortFieldsReducer_closure17: function sortFieldsReducer_closure17() {
},
sortFieldsReducer_closure18: function sortFieldsReducer_closure18() {
},
sortFieldsReducer_closure19: function sortFieldsReducer_closure19() {
},
sortFieldsReducer_closure20: function sortFieldsReducer_closure20() {
},
sidebarEditorReducer_closure: function sidebarEditorReducer_closure() {
},
sidebarEditorReducer__closure: function sidebarEditorReducer__closure(t0, t1) {
this.entityType = t0;
this.value = t1;
},
sidebarEditorReducer__closure0: function sidebarEditorReducer__closure0(t0) {
this.entityType = t0;
},
menuVisibleReducer_closure: function menuVisibleReducer_closure() {
},
menuVisibleReducer_closure0: function menuVisibleReducer_closure0() {
},
historyVisibleReducer_closure: function historyVisibleReducer_closure() {
},
historyVisibleReducer_closure0: function historyVisibleReducer_closure0() {
},
layoutReducer_closure: function layoutReducer_closure() {
},
moduleLayoutReducer_closure: function moduleLayoutReducer_closure() {
},
moduleLayoutReducer_closure0: function moduleLayoutReducer_closure0() {
},
rowsPerPageReducer_closure: function rowsPerPageReducer_closure() {
},
manuSidebarReducer_closure: function manuSidebarReducer_closure() {
},
historySidebarReducer_closure: function historySidebarReducer_closure() {
},
darkModeReducer_closure: function darkModeReducer_closure() {
},
persistDataReducer_closure: function persistDataReducer_closure() {
},
showKanbanReducer_closure: function showKanbanReducer_closure() {
},
isFilterVisibleReducer_closure: function isFilterVisibleReducer_closure() {
},
longPressReducer_closure: function longPressReducer_closure() {
},
isPreviewVisibleReducer_closure: function isPreviewVisibleReducer_closure() {
},
isPreviewVisibleReducer_closure0: function isPreviewVisibleReducer_closure0() {
},
requireAuthenticationReducer_closure: function requireAuthenticationReducer_closure() {
},
colorThemeReducer_closure: function colorThemeReducer_closure() {
},
customColorsReducer_closure: function customColorsReducer_closure() {
},
companyPrefReducer_closure: function companyPrefReducer_closure(t0, t1) {
this._box_0 = t0;
this.action = t1;
},
historyReducer_closure: function historyReducer_closure() {
},
historyReducer__closure: function historyReducer__closure() {
},
historyReducer_closure0: function historyReducer_closure0() {
},
historyReducer_closure1: function historyReducer_closure1() {
},
historyReducer_closure2: function historyReducer_closure2() {
},
historyReducer_closure3: function historyReducer_closure3() {
},
historyReducer_closure4: function historyReducer_closure4() {
},
historyReducer_closure5: function historyReducer_closure5() {
},
historyReducer_closure6: function historyReducer_closure6() {
},
historyReducer_closure7: function historyReducer_closure7() {
},
historyReducer_closure8: function historyReducer_closure8() {
},
historyReducer_closure9: function historyReducer_closure9() {
},
historyReducer_closure10: function historyReducer_closure10() {
},
historyReducer_closure11: function historyReducer_closure11() {
},
historyReducer_closure12: function historyReducer_closure12() {
},
historyReducer_closure13: function historyReducer_closure13() {
},
historyReducer_closure14: function historyReducer_closure14() {
},
historyReducer_closure15: function historyReducer_closure15() {
},
historyReducer_closure16: function historyReducer_closure16() {
},
historyReducer_closure17: function historyReducer_closure17() {
},
historyReducer_closure18: function historyReducer_closure18() {
},
historyReducer_closure19: function historyReducer_closure19() {
},
historyReducer_closure20: function historyReducer_closure20() {
},
historyReducer_closure21: function historyReducer_closure21() {
},
historyReducer_closure22: function historyReducer_closure22() {
},
historyReducer_closure23: function historyReducer_closure23() {
},
historyReducer_closure24: function historyReducer_closure24() {
},
historyReducer_closure25: function historyReducer_closure25() {
},
historyReducer_closure26: function historyReducer_closure26() {
},
historyReducer_closure27: function historyReducer_closure27() {
},
historyReducer_closure28: function historyReducer_closure28() {
},
historyReducer_closure29: function historyReducer_closure29() {
},
historyReducer_closure30: function historyReducer_closure30() {
},
historyReducer_closure31: function historyReducer_closure31() {
},
historyReducer_closure32: function historyReducer_closure32() {
},
historyReducer_closure33: function historyReducer_closure33() {
},
historyReducer_closure34: function historyReducer_closure34() {
},
historyReducer_closure35: function historyReducer_closure35() {
},
historyReducer_closure36: function historyReducer_closure36() {
},
historyReducer_closure37: function historyReducer_closure37() {
},
historyReducer_closure38: function historyReducer_closure38() {
},
historyReducer_closure39: function historyReducer_closure39() {
},
historyReducer_closure40: function historyReducer_closure40() {
},
historyReducer_closure41: function historyReducer_closure41() {
},
historyReducer_closure42: function historyReducer_closure42() {
},
historyReducer_closure43: function historyReducer_closure43() {
},
historyReducer_closure44: function historyReducer_closure44() {
},
historyReducer_closure45: function historyReducer_closure45() {
},
historyReducer_closure46: function historyReducer_closure46() {
},
_addToHistory_closure: function _addToHistory_closure(t0) {
this.record = t0;
},
_addToHistory_closure0: function _addToHistory_closure0() {
},
_addToHistory_closure1: function _addToHistory_closure1(t0, t1) {
this.old = t0;
this.record = t1;
},
_addToHistory_closure2: function _addToHistory_closure2(t0, t1) {
this.record = t0;
this.list = t1;
},
_$VendorState$_: function(list, map) {
var _s11_ = "VendorState";
if (map == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "map"));
if (list == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "list"));
return new Y._$VendorState(map, list);
},
_$VendorUIState$_: function(cancelCompleter, editing, editingContact, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) {
if (listUIState == null)
H.throwExpression(Y.BuiltValueNullFieldError$("VendorUIState", "listUIState"));
return new Y._$VendorUIState(editing, editingContact, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter);
},
VendorState: function VendorState() {
},
VendorState_loadVendors_closure0: function VendorState_loadVendors_closure0() {
},
VendorState_loadVendors_closure1: function VendorState_loadVendors_closure1() {
},
VendorState_loadVendors_closure: function VendorState_loadVendors_closure(t0, t1) {
this.$this = t0;
this.map = t1;
},
VendorUIState: function VendorUIState() {
},
_$VendorStateSerializer: function _$VendorStateSerializer() {
},
_$VendorUIStateSerializer: function _$VendorUIStateSerializer() {
},
_$VendorState: function _$VendorState(t0, t1) {
this.map = t0;
this.list = t1;
this._vendor_state$__hashCode = null;
},
VendorStateBuilder: function VendorStateBuilder() {
this._vendor_state$_list = this._vendor_state$_map = this._vendor_state$_$v = null;
},
_$VendorUIState: function _$VendorUIState(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.editing = t0;
_.editingContact = t1;
_.listUIState = t2;
_.selectedId = t3;
_.forceSelected = t4;
_.tabIndex = t5;
_.saveCompleter = t6;
_.cancelCompleter = t7;
_._vendor_state$__hashCode = null;
},
VendorUIStateBuilder: function VendorUIStateBuilder() {
var _ = this;
_._vendor_state$_cancelCompleter = _._vendor_state$_saveCompleter = _._vendor_state$_tabIndex = _._vendor_state$_forceSelected = _._vendor_state$_selectedId = _._vendor_state$_listUIState = _._editingContact = _._vendor_state$_editing = _._vendor_state$_$v = null;
},
_VendorUIState_Object_EntityUIState: function _VendorUIState_Object_EntityUIState() {
},
FormCard$: function(child, children, crossAxisAlignment, elevation, forceNarrow, internalPadding, isLast, padding) {
return new Y.FormCard(child, children, crossAxisAlignment, forceNarrow, padding, internalPadding, isLast, elevation, null);
},
FormCard: function FormCard(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.child = t0;
_.children = t1;
_.crossAxisAlignment = t2;
_.forceNarrow = t3;
_.padding = t4;
_.internalPadding = t5;
_.isLast = t6;
_.elevation = t7;
_.key = t8;
},
DynamicSelector$: function(allowClearing, entityId, entityIds, entityType, key, labelText, onAddPressed, onChanged, overrideSuggestedLabel) {
return new Y.DynamicSelector(labelText, allowClearing, entityId, entityIds, entityType, onChanged, overrideSuggestedLabel, onAddPressed, key);
},
DynamicSelector: function DynamicSelector(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.labelText = t0;
_.allowClearing = t1;
_.entityId = t2;
_.entityIds = t3;
_.entityType = t4;
_.onChanged = t5;
_.overrideSuggestedLabel = t6;
_.onAddPressed = t7;
_.key = t8;
},
DynamicSelector_build_closure: function DynamicSelector_build_closure(t0) {
this.$this = t0;
},
DynamicSelector_build_closure0: function DynamicSelector_build_closure0(t0, t1) {
this.$this = t0;
this.entityMap = t1;
},
DynamicSelector_build_closure1: function DynamicSelector_build_closure1(t0) {
this.$this = t0;
},
ListScaffold$: function(appBarActions, appBarLeadingActions, appBarTitle, body, bottomNavigationBar, entityType, floatingActionButton, onCancelSettingsIndex, onCancelSettingsSection, onCheckboxPressed, onHamburgerLongPress) {
return new Y.ListScaffold(entityType, body, bottomNavigationBar, floatingActionButton, appBarTitle, appBarActions, appBarLeadingActions, onHamburgerLongPress, onCancelSettingsSection, onCancelSettingsIndex, onCheckboxPressed, null);
},
ListScaffold: function ListScaffold(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_.entityType = t0;
_.body = t1;
_.bottomNavigationBar = t2;
_.floatingActionButton = t3;
_.appBarTitle = t4;
_.appBarActions = t5;
_.appBarLeadingActions = t6;
_.onHamburgerLongPress = t7;
_.onCancelSettingsSection = t8;
_.onCancelSettingsIndex = t9;
_.onCheckboxPressed = t10;
_.key = t11;
},
ListScaffold_build_closure: function ListScaffold_build_closure(t0) {
this.context = t0;
},
ListScaffold_build_closure0: function ListScaffold_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
ListScaffold_build_closure1: function ListScaffold_build_closure1(t0, t1) {
this.$this = t0;
this.localization = t1;
},
ListScaffold_build__closure0: function ListScaffold_build__closure0(t0) {
this.context = t0;
},
ListScaffold_build_closure2: function ListScaffold_build_closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
ListScaffold_build_closure3: function ListScaffold_build_closure3(t0) {
this.$this = t0;
},
ListScaffold_build_closure6: function ListScaffold_build_closure6(t0) {
this.store = t0;
},
ListScaffold_build_closure4: function ListScaffold_build_closure4(t0, t1, t2) {
this.$this = t0;
this.store = t1;
this.state = t2;
},
ListScaffold_build_closure5: function ListScaffold_build_closure5(t0, t1, t2) {
this.localization = t0;
this.state = t1;
this.store = t2;
},
ListScaffold_build__closure: function ListScaffold_build__closure(t0, t1, t2) {
this.context = t0;
this.state = t1;
this.store = t2;
},
LoginView: function LoginView(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_LoginState: function _LoginState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_._login_view$_formKey = t0;
_._login_view$_firstNameController = t1;
_._login_view$_lastNameController = t2;
_._login_view$_emailController = t3;
_._login_view$_passwordController = t4;
_._urlController = t5;
_._secretController = t6;
_._oneTimePasswordController = t7;
_._tokenController = t8;
_._buttonController = t9;
_._loginError = "";
_._isSelfHosted = _._emailLogin = _._tokenLogin = false;
_._createAccount = true;
_._privacyChecked = _._termsChecked = _._login_view$_autoValidate = _._recoverPassword = _._hideGoogle = false;
_._widget = null;
_._debugLifecycleState = t10;
_._framework$_element = null;
},
_LoginState__submitSignUpForm_closure: function _LoginState__submitSignUpForm_closure(t0, t1) {
this.$this = t0;
this.isValid = t1;
},
_LoginState__submitSignUpForm_closure0: function _LoginState__submitSignUpForm_closure0(t0, t1) {
this.$this = t0;
this.localization = t1;
},
_LoginState__submitSignUpForm__closure1: function _LoginState__submitSignUpForm__closure1(t0) {
this.context = t0;
},
_LoginState__submitSignUpForm_closure1: function _LoginState__submitSignUpForm_closure1(t0) {
this.$this = t0;
},
_LoginState__submitSignUpForm__closure0: function _LoginState__submitSignUpForm__closure0(t0) {
this.$this = t0;
},
_LoginState__submitSignUpForm_closure2: function _LoginState__submitSignUpForm_closure2(t0) {
this.$this = t0;
},
_LoginState__submitSignUpForm__closure: function _LoginState__submitSignUpForm__closure(t0, t1) {
this.$this = t0;
this.error = t1;
},
_LoginState__submitLoginForm_closure: function _LoginState__submitLoginForm_closure(t0, t1) {
this.$this = t0;
this.isValid = t1;
},
_LoginState__submitLoginForm_closure0: function _LoginState__submitLoginForm_closure0(t0) {
this.$this = t0;
},
_LoginState__submitLoginForm__closure0: function _LoginState__submitLoginForm__closure0(t0) {
this.$this = t0;
},
_LoginState__submitLoginForm___closure: function _LoginState__submitLoginForm___closure() {
},
_LoginState__submitLoginForm_closure1: function _LoginState__submitLoginForm_closure1(t0) {
this.$this = t0;
},
_LoginState__submitLoginForm__closure: function _LoginState__submitLoginForm__closure(t0, t1) {
this.$this = t0;
this.error = t1;
},
_LoginState_build_closure: function _LoginState_build_closure() {
},
_LoginState_build_closure0: function _LoginState_build_closure0(t0) {
this.$this = t0;
},
_LoginState_build__closure6: function _LoginState_build__closure6(t0) {
this.$this = t0;
},
_LoginState_build_closure1: function _LoginState_build_closure1(t0, t1, t2) {
this.$this = t0;
this.viewModel = t1;
this.context = t2;
},
_LoginState_build_closure2: function _LoginState_build_closure2(t0) {
this.$this = t0;
},
_LoginState_build__closure5: function _LoginState_build__closure5(t0) {
this.$this = t0;
},
_LoginState_build_closure3: function _LoginState_build_closure3(t0) {
this.$this = t0;
},
_LoginState_build__closure4: function _LoginState_build__closure4(t0) {
this.$this = t0;
},
_LoginState_build_closure4: function _LoginState_build_closure4(t0) {
this.$this = t0;
},
_LoginState_build__closure3: function _LoginState_build__closure3(t0, t1) {
this.$this = t0;
this.index = t1;
},
_LoginState_build_closure5: function _LoginState_build_closure5(t0) {
this.$this = t0;
},
_LoginState_build__closure2: function _LoginState_build__closure2(t0, t1) {
this.$this = t0;
this.index = t1;
},
_LoginState_build_closure7: function _LoginState_build_closure7(t0) {
this.localization = t0;
},
_LoginState_build_closure6: function _LoginState_build_closure6(t0) {
this.$this = t0;
},
_LoginState_build_closure8: function _LoginState_build_closure8(t0) {
this.$this = t0;
},
_LoginState_build_closure9: function _LoginState_build_closure9(t0) {
this.$this = t0;
},
_LoginState_build_closure10: function _LoginState_build_closure10(t0) {
this.$this = t0;
},
_LoginState_build_closure11: function _LoginState_build_closure11(t0) {
this.$this = t0;
},
_LoginState_build__closure1: function _LoginState_build__closure1(t0, t1) {
this.$this = t0;
this.value = t1;
},
_LoginState_build_closure12: function _LoginState_build_closure12(t0) {
this.$this = t0;
},
_LoginState_build__closure0: function _LoginState_build__closure0(t0, t1) {
this.$this = t0;
this.value = t1;
},
_LoginState_build_closure13: function _LoginState_build_closure13(t0) {
this.$this = t0;
},
_LoginState_build_closure14: function _LoginState_build_closure14(t0) {
this.$this = t0;
},
_LoginState_build_closure15: function _LoginState_build_closure15(t0) {
this.$this = t0;
},
_LoginState_build__closure: function _LoginState_build__closure(t0) {
this.$this = t0;
},
_LoginState_build_closure16: function _LoginState_build_closure16() {
},
_LoginState_build_closure17: function _LoginState_build_closure17(t0) {
this.platform = t0;
},
RuledText: function RuledText(t0, t1) {
this.text = t0;
this.key = t1;
},
ClientListVM_fromStore: function(store) {
var t6, t7, t8, t9,
state = store.get$_store$_state(),
t1 = $.$get$memoizedFilteredClientList(),
t2 = state.getUISelection$1(C.EntityType_client),
t3 = state.userCompanyStates,
t4 = state.uiState,
t5 = t4.selectedCompanyIndex;
t3 = t3._list;
t6 = J.getInterceptor$asx(t3);
t7 = t6.$index(t3, t5).clientState.map;
t8 = t6.$index(t3, t5).clientState.list;
t9 = t6.$index(t3, t5).groupState.map;
t4 = t4.clientUIState.listUIState;
t9 = t1.call$7(t2, t7, t8, t9, t4, t6.$index(t3, t5).userState.map, state.staticState);
t8 = t6.$index(t3, t5).clientState.map;
t4 = t4.filter;
t7 = t6.$index(t3, t5).userCompany.settings.getTableColumns$1(C.EntityType_client);
if (t7 == null) {
t6.$index(t3, t5).toString;
t1 = H.setRuntimeTypeInfo(["number", "name", "balance", "paid_to_date", "contact_name", "contact_email", "last_login_at"], type$.JSArray_legacy_String);
} else
t1 = t7;
return new Y.ClientListVM(state, t9, t8, t4, new Y.ClientListVM_fromStore_closure(new Y.ClientListVM_fromStore__handleRefresh(store)), t1, new Y.ClientListVM_fromStore_closure0(store), new Y.ClientListVM_fromStore_closure1(store));
},
ClientListBuilder: function ClientListBuilder(t0) {
this.key = t0;
},
ClientListBuilder_build_closure: function ClientListBuilder_build_closure() {
},
ClientListBuilder_build__closure: function ClientListBuilder_build__closure(t0) {
this.viewModel = t0;
},
ClientListVM: function ClientListVM(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.state = t0;
_.clientList = t1;
_.clientMap = t2;
_.filter = t3;
_.onRefreshed = t4;
_.tableColumns = t5;
_.onSortColumn = t6;
_.onClearMultielsect = t7;
},
ClientListVM_fromStore__handleRefresh: function ClientListVM_fromStore__handleRefresh(t0) {
this.store = t0;
},
ClientListVM_fromStore_closure: function ClientListVM_fromStore_closure(t0) {
this._handleRefresh = t0;
},
ClientListVM_fromStore_closure0: function ClientListVM_fromStore_closure0(t0) {
this.store = t0;
},
ClientListVM_fromStore_closure1: function ClientListVM_fromStore_closure1(t0) {
this.store = t0;
},
CompanyGatewayScreenVM_fromStore: function(store) {
var t4, t5, t6, t7, t8, t9,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t5 = t4.$index(t1, t3).companyGatewayState.map;
t6 = $.$get$memoizedFilteredCompanyGatewayList();
t7 = t4.$index(t1, t3).companyGatewayState.map;
t8 = t4.$index(t1, t3).companyGatewayState.list;
t9 = t2.companyGatewayUIState.listUIState;
t2 = t2.settingsUIState;
t6.call$5(t7, t8, t9, t2.get$settings().companyGatewayIds, t2.entityType === C.EntityType_company);
t4.$index(t1, t3).toString;
return new Y.CompanyGatewayScreenVM(t9.selectedIds != null, t5, new Y.CompanyGatewayScreenVM_fromStore_closure(store));
},
CompanyGatewayScreenBuilder: function CompanyGatewayScreenBuilder(t0) {
this.key = t0;
},
CompanyGatewayScreenBuilder_build_closure: function CompanyGatewayScreenBuilder_build_closure() {
},
CompanyGatewayScreenVM: function CompanyGatewayScreenVM(t0, t1, t2) {
this.isInMultiselect = t0;
this.companyGatewayMap = t1;
this.onSavePressed = t2;
},
CompanyGatewayScreenVM_fromStore_closure: function CompanyGatewayScreenVM_fromStore_closure(t0) {
this.store = t0;
},
CompanyGatewayScreenVM_fromStore__closure: function CompanyGatewayScreenVM_fromStore__closure(t0, t1) {
this.store = t0;
this.context = t1;
},
_DashboardPanel$: function(context, currentData, isLoaded, onDateSelected, previousData, title, viewModel) {
return new Y._DashboardPanel(viewModel, context, title, currentData, previousData, isLoaded, onDateSelected, null);
},
DashboardPanels: function DashboardPanels(t0, t1, t2) {
this.viewModel = t0;
this.scrollController = t1;
this.key = t2;
},
DashboardPanels__showDateOptions_closure: function DashboardPanels__showDateOptions_closure(t0) {
this.$this = t0;
},
DashboardPanels__header_closure: function DashboardPanels__header_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.$this = t0;
_.localization = t1;
_.settings = t2;
_.hasMultipleCurrencies = t3;
_.company = t4;
_.clientMap = t5;
_.groupMap = t6;
_.state = t7;
},
DashboardPanels__header__closure: function DashboardPanels__header__closure(t0, t1, t2) {
this.$this = t0;
this.isWide = t1;
this.context = t2;
},
DashboardPanels__header__closure0: function DashboardPanels__header__closure0(t0, t1) {
this.$this = t0;
this.localization = t1;
},
DashboardPanels__header__closure1: function DashboardPanels__header__closure1(t0, t1, t2) {
this.$this = t0;
this.isWide = t1;
this.context = t2;
},
DashboardPanels__header__closure2: function DashboardPanels__header__closure2(t0) {
this.$this = t0;
},
DashboardPanels__header__closure3: function DashboardPanels__header__closure3(t0) {
this.$this = t0;
},
DashboardPanels__header__closure4: function DashboardPanels__header__closure4(t0) {
this.localization = t0;
},
DashboardPanels__header___closure1: function DashboardPanels__header___closure1(t0) {
this.localization = t0;
},
DashboardPanels__header__closure5: function DashboardPanels__header__closure5(t0, t1, t2) {
this.$this = t0;
this.state = t1;
this.context = t2;
},
DashboardPanels__header___closure0: function DashboardPanels__header___closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
DashboardPanels__header__closure6: function DashboardPanels__header__closure6(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_._box_0 = t0;
_.context = t1;
_.localization = t2;
_.settings = t3;
_.hasMultipleCurrencies = t4;
_.company = t5;
_.taxSettings = t6;
},
DashboardPanels__header___closure: function DashboardPanels__header___closure(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._box_0 = t0;
_.localization = t1;
_.settings = t2;
_.hasMultipleCurrencies = t3;
_.company = t4;
_.taxSettings = t5;
},
DashboardPanels__header____closure: function DashboardPanels__header____closure(t0) {
this.context = t0;
},
DashboardPanels__header__closure7: function DashboardPanels__header__closure7(t0) {
this.$this = t0;
},
DashboardPanels__paymentChart_closure: function DashboardPanels__paymentChart_closure() {
},
DashboardPanels__paymentChart_closure0: function DashboardPanels__paymentChart_closure0(t0, t1) {
this.onDateSelected = t0;
this.currentData = t1;
},
DashboardPanels__quoteChart_closure: function DashboardPanels__quoteChart_closure() {
},
DashboardPanels__quoteChart_closure0: function DashboardPanels__quoteChart_closure0(t0, t1) {
this.onDateSelected = t0;
this.currentData = t1;
},
DashboardPanels__taskChart_closure: function DashboardPanels__taskChart_closure() {
},
DashboardPanels__taskChart_closure0: function DashboardPanels__taskChart_closure0(t0, t1) {
this.onDateSelected = t0;
this.currentData = t1;
},
DashboardPanels__expenseChart_closure: function DashboardPanels__expenseChart_closure() {
},
DashboardPanels__expenseChart_closure0: function DashboardPanels__expenseChart_closure0(t0, t1) {
this.onDateSelected = t0;
this.currentData = t1;
},
DashboardPanels_build_closure: function DashboardPanels_build_closure(t0) {
this.$this = t0;
},
DashboardPanels_build_closure0: function DashboardPanels_build_closure0(t0) {
this.$this = t0;
},
DashboardPanels_build_closure1: function DashboardPanels_build_closure1(t0) {
this.$this = t0;
},
DashboardPanels_build_closure2: function DashboardPanels_build_closure2(t0) {
this.$this = t0;
},
DashboardPanels_build_closure3: function DashboardPanels_build_closure3(t0) {
this.$this = t0;
},
_DashboardPanel: function _DashboardPanel(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.viewModel = t0;
_.context = t1;
_.title = t2;
_.currentData = t3;
_.previousData = t4;
_.isLoaded = t5;
_.onDateSelected = t6;
_.key = t7;
},
__DashboardPanelState: function __DashboardPanelState(t0) {
var _ = this;
_._widget = _._dashboard_panels$_chart = _._previousData = _._currentData = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
__DashboardPanelState_build_closure: function __DashboardPanelState_build_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.state = t1;
_.settings = t2;
_.localization = t3;
},
__DashboardPanelState_build__closure0: function __DashboardPanelState_build__closure0() {
},
__DashboardPanelState_build__closure1: function __DashboardPanelState_build__closure1() {
},
__DashboardPanelState_build__closure: function __DashboardPanelState_build__closure(t0) {
this.state = t0;
},
__DashboardPanelState_build__closure3: function __DashboardPanelState_build__closure3() {
},
__DashboardPanelState_build__closure4: function __DashboardPanelState_build__closure4() {
},
__DashboardPanelState_build__closure2: function __DashboardPanelState_build__closure2() {
},
_InvoiceChart: function _InvoiceChart(t0, t1, t2, t3) {
var _ = this;
_.viewModel = t0;
_.context = t1;
_.onDateSelected = t2;
_.key = t3;
},
_InvoiceChart_build_closure: function _InvoiceChart_build_closure() {
},
_InvoiceChart_build_closure0: function _InvoiceChart_build_closure0(t0, t1) {
this.$this = t0;
this.currentData = t1;
},
ExpenseViewDocuments: function ExpenseViewDocuments(t0, t1, t2) {
this.viewModel = t0;
this.expense = t1;
this.key = t2;
},
ExpenseViewDocuments_build_closure: function ExpenseViewDocuments_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ExpenseViewDocuments_build_closure0: function ExpenseViewDocuments_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
ExpenseCategoryScreen: function ExpenseCategoryScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
ExpenseCategoryScreen_build_closure9: function ExpenseCategoryScreen_build_closure9(t0) {
this.store = t0;
},
ExpenseCategoryScreen_build_closure8: function ExpenseCategoryScreen_build_closure8(t0) {
this.store = t0;
},
ExpenseCategoryScreen_build_closure7: function ExpenseCategoryScreen_build_closure7(t0) {
this.store = t0;
},
ExpenseCategoryScreen_build_closure4: function ExpenseCategoryScreen_build_closure4(t0) {
this.store = t0;
},
ExpenseCategoryScreen_build_closure5: function ExpenseCategoryScreen_build_closure5(t0) {
this.store = t0;
},
ExpenseCategoryScreen_build_closure: function ExpenseCategoryScreen_build_closure(t0) {
this.store = t0;
},
ExpenseCategoryScreen_build_closure0: function ExpenseCategoryScreen_build_closure0(t0) {
this.store = t0;
},
ExpenseCategoryScreen_build_closure1: function ExpenseCategoryScreen_build_closure1(t0) {
this.store = t0;
},
ExpenseCategoryScreen_build_closure2: function ExpenseCategoryScreen_build_closure2(t0) {
this.store = t0;
},
ExpenseCategoryScreen_build_closure3: function ExpenseCategoryScreen_build_closure3(t0) {
this.store = t0;
},
ExpenseCategoryScreen_build_closure6: function ExpenseCategoryScreen_build_closure6(t0) {
this.context = t0;
},
GroupListVM_fromStore: function(store) {
var t4, t5,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t5 = t4.$index(t1, t3).userCompany;
t2 = t2.groupUIState;
t2.toString;
t2 = t2.listUIState;
return new Y.GroupListVM(state, t5, $.$get$memoizedFilteredGroupList().call$4(state.getUISelection$1(C.EntityType_group), t4.$index(t1, t3).groupState.map, t4.$index(t1, t3).groupState.list, t2), t4.$index(t1, t3).groupState.map, t2.filter, new Y.GroupListVM_fromStore_closure(new Y.GroupListVM_fromStore__handleRefresh(store)), new Y.GroupListVM_fromStore_closure0(store), new Y.GroupListVM_fromStore_closure1(store));
},
GroupListBuilder: function GroupListBuilder(t0) {
this.key = t0;
},
GroupListBuilder_build_closure: function GroupListBuilder_build_closure() {
},
GroupListBuilder_build__closure: function GroupListBuilder_build__closure(t0) {
this.viewModel = t0;
},
GroupListVM: function GroupListVM(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.state = t0;
_.userCompany = t1;
_.groupList = t2;
_.groupMap = t3;
_.filter = t4;
_.onRefreshed = t5;
_.onSortColumn = t6;
_.onClearMultielsect = t7;
},
GroupListVM_fromStore__handleRefresh: function GroupListVM_fromStore__handleRefresh(t0) {
this.store = t0;
},
GroupListVM_fromStore_closure: function GroupListVM_fromStore_closure(t0) {
this._handleRefresh = t0;
},
GroupListVM_fromStore_closure0: function GroupListVM_fromStore_closure0(t0) {
this.store = t0;
},
GroupListVM_fromStore_closure1: function GroupListVM_fromStore_closure1(t0) {
this.store = t0;
},
InvoiceScreen: function InvoiceScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
InvoiceScreen_build_closure17: function InvoiceScreen_build_closure17(t0) {
this.store = t0;
},
InvoiceScreen_build_closure15: function InvoiceScreen_build_closure15(t0) {
this.store = t0;
},
InvoiceScreen_build_closure16: function InvoiceScreen_build_closure16(t0) {
this.store = t0;
},
InvoiceScreen_build_closure4: function InvoiceScreen_build_closure4(t0) {
this.store = t0;
},
InvoiceScreen_build_closure5: function InvoiceScreen_build_closure5(t0) {
this.store = t0;
},
InvoiceScreen_build_closure6: function InvoiceScreen_build_closure6(t0) {
this.store = t0;
},
InvoiceScreen_build_closure0: function InvoiceScreen_build_closure0(t0) {
this.store = t0;
},
InvoiceScreen_build_closure1: function InvoiceScreen_build_closure1(t0) {
this.store = t0;
},
InvoiceScreen_build_closure2: function InvoiceScreen_build_closure2(t0) {
this.store = t0;
},
InvoiceScreen_build_closure3: function InvoiceScreen_build_closure3(t0) {
this.store = t0;
},
InvoiceScreen_build_closure7: function InvoiceScreen_build_closure7(t0) {
this.localization = t0;
},
InvoiceScreen_build_closure8: function InvoiceScreen_build_closure8(t0) {
this.localization = t0;
},
InvoiceScreen_build_closure9: function InvoiceScreen_build_closure9(t0) {
this.localization = t0;
},
InvoiceScreen_build_closure10: function InvoiceScreen_build_closure10(t0) {
this.localization = t0;
},
InvoiceScreen_build_closure11: function InvoiceScreen_build_closure11(t0) {
this.localization = t0;
},
InvoiceScreen_build_closure12: function InvoiceScreen_build_closure12(t0) {
this.localization = t0;
},
InvoiceScreen_build_closure13: function InvoiceScreen_build_closure13(t0) {
this.localization = t0;
},
InvoiceScreen_build_closure: function InvoiceScreen_build_closure(t0) {
this.store = t0;
},
InvoiceScreen_build_closure14: function InvoiceScreen_build_closure14(t0) {
this.context = t0;
},
PaymentRefund: function PaymentRefund(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_PaymentRefundState: function _PaymentRefundState(t0, t1, t2, t3) {
var _ = this;
_._payment_refund$_amountController = t0;
_._payment_refund$_controllers = t1;
_._payment_refund$_debouncer = t2;
_.autoValidate = false;
_._widget = null;
_._debugLifecycleState = t3;
_._framework$_element = null;
},
_PaymentRefundState_didChangeDependencies_closure: function _PaymentRefundState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
_PaymentRefundState_didChangeDependencies_closure0: function _PaymentRefundState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
_PaymentRefundState_dispose_closure: function _PaymentRefundState_dispose_closure(t0) {
this.$this = t0;
},
_PaymentRefundState__onChanged_closure: function _PaymentRefundState__onChanged_closure(t0) {
this.$this = t0;
},
_PaymentRefundState__onChanged__closure: function _PaymentRefundState__onChanged__closure(t0) {
this.$this = t0;
},
_PaymentRefundState_build_closure: function _PaymentRefundState_build_closure() {
},
_PaymentRefundState_build_closure1: function _PaymentRefundState_build_closure1(t0) {
this.context = t0;
},
_PaymentRefundState_build_closure0: function _PaymentRefundState_build_closure0(t0, t1) {
this.viewModel = t0;
this.payment = t1;
},
_PaymentRefundState_build__closure1: function _PaymentRefundState_build__closure1(t0) {
this.date = t0;
},
_PaymentRefundState_build_closure2: function _PaymentRefundState_build_closure2(t0, t1) {
this.viewModel = t0;
this.payment = t1;
},
_PaymentRefundState_build__closure0: function _PaymentRefundState_build__closure0(t0) {
this.value = t0;
},
_PaymentRefundState_build_closure3: function _PaymentRefundState_build_closure3(t0, t1) {
this.viewModel = t0;
this.payment = t1;
},
_PaymentRefundState_build__closure: function _PaymentRefundState_build__closure(t0) {
this.value = t0;
},
_PaymentRefundState_build_onSavePressed: function _PaymentRefundState_build_onSavePressed(t0, t1) {
this.$this = t0;
this.viewModel = t1;
},
_PaymentRefundState_build_onSavePressed_closure: function _PaymentRefundState_build_onSavePressed_closure(t0, t1) {
this.$this = t0;
this.isValid = t1;
},
_PaymentRefundState_build_onSavePressed_closure0: function _PaymentRefundState_build_onSavePressed_closure0(t0) {
this.context = t0;
},
_PaymentRefundState_build_closure4: function _PaymentRefundState_build_closure4(t0) {
this.viewModel = t0;
},
_PaymentRefundState_build_closure5: function _PaymentRefundState_build_closure5(t0) {
this.onSavePressed = t0;
},
_PaymentRefundState_build_closure6: function _PaymentRefundState_build_closure6(t0) {
this.context = t0;
},
_PaymentRefundState_build_closure7: function _PaymentRefundState_build_closure7(t0, t1) {
this.onSavePressed = t0;
this.context = t1;
},
PaymentableEditor0: function PaymentableEditor0(t0, t1, t2, t3) {
var _ = this;
_.viewModel = t0;
_.paymentable = t1;
_.index = t2;
_.key = t3;
},
_PaymentableEditorState0: function _PaymentableEditorState0(t0, t1, t2) {
var _ = this;
_._payment_refund$_amountController = t0;
_._payment_refund$_invoiceId = "";
_._payment_refund$_controllers = t1;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
},
_PaymentableEditorState_didChangeDependencies_closure1: function _PaymentableEditorState_didChangeDependencies_closure1(t0) {
this.$this = t0;
},
_PaymentableEditorState_didChangeDependencies_closure2: function _PaymentableEditorState_didChangeDependencies_closure2(t0) {
this.$this = t0;
},
_PaymentableEditorState_dispose_closure: function _PaymentableEditorState_dispose_closure(t0) {
this.$this = t0;
},
_PaymentableEditorState__onChanged_closure6: function _PaymentableEditorState__onChanged_closure6(t0) {
this.$this = t0;
},
_PaymentableEditorState__onChanged_closure7: function _PaymentableEditorState__onChanged_closure7(t0) {
this.paymentable = t0;
},
_PaymentableEditorState__onChanged_closure8: function _PaymentableEditorState__onChanged_closure8(t0, t1) {
this.$this = t0;
this.paymentable = t1;
},
_PaymentableEditorState__onChanged_closure9: function _PaymentableEditorState__onChanged_closure9(t0) {
this.clientId = t0;
},
_PaymentableEditorState_build_closure5: function _PaymentableEditorState_build_closure5() {
},
_PaymentableEditorState_build_closure7: function _PaymentableEditorState_build_closure7(t0) {
this.context = t0;
},
_PaymentableEditorState_build_closure6: function _PaymentableEditorState_build_closure6(t0) {
this.$this = t0;
},
_PaymentableEditorState_build__closure2: function _PaymentableEditorState_build__closure2(t0, t1) {
this.$this = t0;
this.invoice = t1;
},
_PaymentableEditorState_build_closure8: function _PaymentableEditorState_build_closure8(t0, t1) {
this.hasMultipleInvoices = t0;
this.localization = t1;
},
_PaymentableEditorState_build_closure9: function _PaymentableEditorState_build_closure9(t0, t1, t2) {
this.$this = t0;
this.viewModel = t1;
this.payment = t2;
},
_PaymentableEditorState_build__closure1: function _PaymentableEditorState_build__closure1(t0) {
this.$this = t0;
},
PaymentRefundVM_PaymentRefundVM$fromStore: function(store) {
var t2, t3, t4, t5,
state = store.get$_store$_state(),
t1 = state.uiState,
payment = t1.paymentUIState.editing;
payment.get$isNew();
t2 = state.userCompanyStates;
t1 = t1.selectedCompanyIndex;
t2 = t2._list;
t3 = J.getInterceptor$asx(t2);
t4 = t3.$index(t2, t1).paymentState.map;
t5 = payment.id;
J.$index$asx(t4._map$_map, t5);
t3.$index(t2, t1).invoiceState.toString;
t3.$index(t2, t1).invoiceState.toString;
return new Y.PaymentRefundVM(state, payment, new Y.PaymentRefundVM_PaymentRefundVM$fromStore_closure(store), new Y.PaymentRefundVM_PaymentRefundVM$fromStore_closure0(store, payment), new Y.PaymentRefundVM_PaymentRefundVM$fromStore_closure1(store, state));
},
PaymentRefundScreen: function PaymentRefundScreen(t0) {
this.key = t0;
},
PaymentRefundScreen_build_closure0: function PaymentRefundScreen_build_closure0() {
},
PaymentRefundScreen_build_closure: function PaymentRefundScreen_build_closure() {
},
PaymentRefundVM: function PaymentRefundVM(t0, t1, t2, t3, t4) {
var _ = this;
_.state = t0;
_.payment = t1;
_.onChanged = t2;
_.onRefundPressed = t3;
_.onCancelPressed = t4;
},
PaymentRefundVM_PaymentRefundVM$fromStore_closure: function PaymentRefundVM_PaymentRefundVM$fromStore_closure(t0) {
this.store = t0;
},
PaymentRefundVM_PaymentRefundVM$fromStore_closure1: function PaymentRefundVM_PaymentRefundVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.state = t1;
},
PaymentRefundVM_PaymentRefundVM$fromStore_closure0: function PaymentRefundVM_PaymentRefundVM$fromStore_closure0(t0, t1) {
this.store = t0;
this.payment = t1;
},
PaymentRefundVM_PaymentRefundVM$fromStore__closure: function PaymentRefundVM_PaymentRefundVM$fromStore__closure(t0, t1, t2) {
this.context = t0;
this.store = t1;
this.payment = t2;
},
PaymentRefundVM_PaymentRefundVM$fromStore__closure0: function PaymentRefundVM_PaymentRefundVM$fromStore__closure0(t0) {
this.context = t0;
},
PaymentRefundVM_PaymentRefundVM$fromStore___closure: function PaymentRefundVM_PaymentRefundVM$fromStore___closure(t0) {
this.error = t0;
},
PaymentTermEditVM_PaymentTermEditVM$fromStore: function(store) {
var t3, t4, t5,
state = store.get$_store$_state(),
t1 = state.uiState,
paymentTerm = t1.paymentTermUIState.editing,
t2 = state.userCompanyStates;
t1 = t1.selectedCompanyIndex;
t2 = t2._list;
t3 = J.getInterceptor$asx(t2);
t4 = t3.$index(t2, t1).paymentTermState.map;
t5 = paymentTerm.id;
J.$index$asx(t4._map$_map, t5);
return new Y.PaymentTermEditVM(paymentTerm, t3.$index(t2, t1).userCompany.company, new Y.PaymentTermEditVM_PaymentTermEditVM$fromStore_closure(store), new Y.PaymentTermEditVM_PaymentTermEditVM$fromStore_closure0(store, state), new Y.PaymentTermEditVM_PaymentTermEditVM$fromStore_closure1(store, state), state);
},
PaymentTermEditScreen: function PaymentTermEditScreen(t0) {
this.key = t0;
},
PaymentTermEditScreen_build_closure0: function PaymentTermEditScreen_build_closure0() {
},
PaymentTermEditScreen_build_closure: function PaymentTermEditScreen_build_closure() {
},
PaymentTermEditVM: function PaymentTermEditVM(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.paymentTerm = t0;
_.company = t1;
_.onChanged = t2;
_.onSavePressed = t3;
_.onCancelPressed = t4;
_.state = t5;
},
PaymentTermEditVM_PaymentTermEditVM$fromStore_closure: function PaymentTermEditVM_PaymentTermEditVM$fromStore_closure(t0) {
this.store = t0;
},
PaymentTermEditVM_PaymentTermEditVM$fromStore_closure1: function PaymentTermEditVM_PaymentTermEditVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.state = t1;
},
PaymentTermEditVM_PaymentTermEditVM$fromStore_closure0: function PaymentTermEditVM_PaymentTermEditVM$fromStore_closure0(t0, t1) {
this.store = t0;
this.state = t1;
},
PaymentTermEditVM_PaymentTermEditVM$fromStore__closure: function PaymentTermEditVM_PaymentTermEditVM$fromStore__closure(t0, t1, t2) {
this.store = t0;
this.context = t1;
this.state = t2;
},
PaymentTermEditVM_PaymentTermEditVM$fromStore___closure: function PaymentTermEditVM_PaymentTermEditVM$fromStore___closure(t0, t1, t2, t3, t4) {
var _ = this;
_.paymentTerm = t0;
_.localization = t1;
_.state = t2;
_.store = t3;
_.context = t4;
},
PaymentTermEditVM_PaymentTermEditVM$fromStore___closure0: function PaymentTermEditVM_PaymentTermEditVM$fromStore___closure0() {
},
PaymentTermEditVM_PaymentTermEditVM$fromStore____closure: function PaymentTermEditVM_PaymentTermEditVM$fromStore____closure(t0) {
this.error = t0;
},
ProjectOverview: function ProjectOverview(t0, t1, t2) {
this.viewModel = t0;
this.isFilter = t1;
this.key = t2;
},
_ProjectOverviewState: function _ProjectOverviewState(t0) {
var _ = this;
_._widget = _._project_view_overview$_timer = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_ProjectOverviewState_initState_closure: function _ProjectOverviewState_initState_closure(t0) {
this.$this = t0;
},
_ProjectOverviewState_initState__closure: function _ProjectOverviewState_initState__closure() {
},
_ProjectOverviewState_build__buildView: function _ProjectOverviewState_build__buildView(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.$this = t0;
_.project = t1;
_.localization = t2;
_.state = t3;
_.client = t4;
_.company = t5;
_.fields = t6;
},
_ProjectOverviewState_build_closure: function _ProjectOverviewState_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
RecurringInvoiceListVM_fromStore: function(store) {
var t4, t5, t6, t7,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t4.$index(t1, t3).toString;
t2 = t2.recurringInvoiceUIState;
t2.toString;
t2 = t2.listUIState;
t5 = $.$get$memoizedFilteredRecurringInvoiceList().call$6(state.getUISelection$1(C.EntityType_recurringInvoice), t4.$index(t1, t3).recurringInvoiceState.map, t4.$index(t1, t3).clientState.map, t4.$index(t1, t3).recurringInvoiceState.list, t2, t4.$index(t1, t3).userState.map);
t6 = t4.$index(t1, t3).recurringInvoiceState.map;
t2 = t2.filter;
t7 = t4.$index(t1, t3).userCompany.settings.getTableColumns$1(C.EntityType_recurringInvoice);
if (t7 == null) {
t4.$index(t1, t3).toString;
t1 = H.setRuntimeTypeInfo(["status", "number", "client", "amount", "remaining_cycles", "next_send_date", "frequency", "due_date_days", "auto_bill"], type$.JSArray_legacy_String);
} else
t1 = t7;
return new Y.RecurringInvoiceListVM(state, t5, t6, t2, new Y.RecurringInvoiceListVM_fromStore_closure(new Y.RecurringInvoiceListVM_fromStore__handleRefresh(store)), t1, new Y.RecurringInvoiceListVM_fromStore_closure0(store), new Y.RecurringInvoiceListVM_fromStore_closure1(store));
},
RecurringInvoiceListBuilder: function RecurringInvoiceListBuilder(t0) {
this.key = t0;
},
RecurringInvoiceListBuilder_build_closure: function RecurringInvoiceListBuilder_build_closure() {
},
RecurringInvoiceListBuilder_build__closure: function RecurringInvoiceListBuilder_build__closure(t0) {
this.viewModel = t0;
},
RecurringInvoiceListVM: function RecurringInvoiceListVM(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.state = t0;
_.recurringInvoiceList = t1;
_.recurringInvoiceMap = t2;
_.filter = t3;
_.onRefreshed = t4;
_.tableColumns = t5;
_.onSortColumn = t6;
_.onClearMultielsect = t7;
},
RecurringInvoiceListVM_fromStore__handleRefresh: function RecurringInvoiceListVM_fromStore__handleRefresh(t0) {
this.store = t0;
},
RecurringInvoiceListVM_fromStore_closure: function RecurringInvoiceListVM_fromStore_closure(t0) {
this._handleRefresh = t0;
},
RecurringInvoiceListVM_fromStore_closure0: function RecurringInvoiceListVM_fromStore_closure0(t0) {
this.store = t0;
},
RecurringInvoiceListVM_fromStore_closure1: function RecurringInvoiceListVM_fromStore_closure1(t0) {
this.store = t0;
},
quoteReport: function(userCompany, reportsUIState, quoteMap, clientMap, vendorMap, userMap, staticState) {
var columns, t5, t6, t7, t8, t9, quote, t10, client, value, row, t11, t12, t13, value0, value1, value2, value3, t14, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15, value16, value17, value18, value19, value20, value21, value22, value23, value24, value25, value26, value27, value28, t15, t16, skip, t17, value29, t18, currencyId, selectedColumns, _null = null,
data = H.setRuntimeTypeInfo([], type$.JSArray_legacy_List_legacy_ReportElement),
reportSettings = userCompany.settings.reportSettings,
quoteReportSettings = reportSettings != null && J.containsKey$1$x(reportSettings._map$_map, "quote") ? J.$index$asx(reportSettings._map$_map, "quote") : A.ReportSettingsEntity_ReportSettingsEntity(_null, _null),
t1 = type$.JSArray_legacy_QuoteReportFields,
defaultColumns = H.setRuntimeTypeInfo([C.QuoteReportFields_10, C.QuoteReportFields_2, C.QuoteReportFields_0, C.QuoteReportFields_13, C.QuoteReportFields_15], t1),
t2 = quoteReportSettings.columns._list,
t3 = J.getInterceptor$asx(t2),
t4 = type$.legacy_QuoteReportFields;
if (t3.get$isNotEmpty(t2)) {
t2 = t3.map$1$1(t2, new Y.quoteReport_closure(), t4).where$1(0, new Y.quoteReport_closure0());
columns = D.BuiltList_BuiltList$from(P.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E")), t4);
} else
columns = D.BuiltList_BuiltList$from(defaultColumns, t4);
for (t2 = J.get$iterator$ax(quoteMap.get$keys(quoteMap)), t3 = columns._list, t4 = J.getInterceptor$ax(t3), t5 = type$.JSArray_legacy_String, t6 = userCompany.company, t7 = type$.JSArray_legacy_ReportElement, t8 = quoteMap._map$_map, t9 = J.getInterceptor$asx(t8); t2.moveNext$0();) {
quote = t9.$index(t8, t2.get$current(t2));
t10 = quote.clientId;
client = J.$index$asx(clientMap._map$_map, t10);
if (client == null)
client = T.ClientEntity_ClientEntity(_null, _null, _null);
value = quote.isDeleted;
if (value || client.isDeleted)
continue;
if (!t6.reportIncludeDrafts && quote.statusId === "1")
continue;
row = H.setRuntimeTypeInfo([], t7);
for (t10 = t4.get$iterator(t3), t11 = quote.id, t12 = quote.entityType, t13 = client.countryId, value0 = quote.exchangeRate, value1 = quote.amount, value2 = quote.taxAmount, value3 = value1 - value2, t14 = quote.statusId, value4 = quote.archivedAt, value5 = quote.updatedAt, value6 = quote.customSurcharge4, value7 = quote.customSurcharge3, value8 = quote.customSurcharge2, value9 = quote.customSurcharge1, value10 = quote.customValue4, value11 = quote.customValue3, value12 = quote.customValue2, value13 = quote.customValue1, value14 = quote.autoBill, value15 = quote.partial, value16 = quote.dueDate, value17 = quote.date, value18 = quote.partialDueDate, value19 = quote.poNumber, value20 = quote.discount, value21 = client.shippingAddress2, value22 = client.shippingAddress1, value23 = client.address2, value24 = client.address1, value25 = client.balance, value26 = client.displayName, value27 = quote.number, value28 = value1 / value0, t15 = client.settings, t16 = t6.settings, skip = false; t10.moveNext$0();) {
t17 = t10.get$current(t10);
switch (t17) {
case C.QuoteReportFields_0:
value29 = value1;
break;
case C.QuoteReportFields_1:
value29 = value28;
break;
case C.QuoteReportFields_10:
value29 = value27;
break;
case C.QuoteReportFields_2:
value29 = value26;
break;
case C.QuoteReportFields_3:
value29 = value25;
break;
case C.QuoteReportFields_4:
value29 = value24;
break;
case C.QuoteReportFields_5:
value29 = value23;
break;
case C.QuoteReportFields_6:
value29 = value22;
break;
case C.QuoteReportFields_7:
value29 = value21;
break;
case C.QuoteReportFields_9:
value29 = C.Map_IF4bq.$index(0, t14);
if (value29 == null)
value29 = "";
break;
case C.QuoteReportFields_11:
value29 = value20;
break;
case C.QuoteReportFields_12:
value29 = value19;
break;
case C.QuoteReportFields_14:
value29 = value18;
break;
case C.QuoteReportFields_13:
value29 = value17;
break;
case C.QuoteReportFields_15:
value29 = value16;
break;
case C.QuoteReportFields_16:
value29 = value15;
break;
case C.QuoteReportFields_17:
value29 = value14;
break;
case C.QuoteReportFields_18:
value29 = value13;
break;
case C.QuoteReportFields_19:
value29 = value12;
break;
case C.QuoteReportFields_20:
value29 = value11;
break;
case C.QuoteReportFields_21:
value29 = value10;
break;
case C.QuoteReportFields_22:
value29 = value9;
break;
case C.QuoteReportFields_23:
value29 = value8;
break;
case C.QuoteReportFields_24:
value29 = value7;
break;
case C.QuoteReportFields_25:
value29 = value6;
break;
case C.QuoteReportFields_26:
value29 = value5;
break;
case C.QuoteReportFields_27:
value29 = value4;
break;
case C.QuoteReportFields_28:
value29 = value;
break;
case C.QuoteReportFields_29:
value29 = C.JSArray_methods.contains$1(H.setRuntimeTypeInfo(["3", "4"], t5), t14);
break;
case C.QuoteReportFields_30:
value29 = value2;
break;
case C.QuoteReportFields_31:
value29 = value3;
break;
case C.QuoteReportFields_32:
value29 = value0;
break;
case C.QuoteReportFields_8:
t18 = J.$index$asx(staticState.countryMap._map$_map, t13);
value29 = t18 == null ? _null : t18.name;
if (value29 == null)
value29 = "";
break;
default:
value29 = "";
}
if (!A.ReportResult_matchField(N.EnumUtils_parse(t17), _null, reportsUIState, userCompany, value29))
skip = true;
t18 = J.getInterceptor$(value29);
if (t18.get$runtimeType(value29) === C.Type_bool_lhE)
row.push(new A.ReportBoolValue(value29, t12, t11));
else if (t18.get$runtimeType(value29) === C.Type_double_K1J || t18.get$runtimeType(value29) === C.Type_int_tHn) {
currencyId = t15.currencyId;
if (C.JSArray_methods.contains$1(H.setRuntimeTypeInfo([C.QuoteReportFields_1], t1), t17)) {
currencyId = t16.currencyId;
if (currencyId == null)
currencyId = "1";
}
row.push(new A.ReportNumberValue(value29, _null, currencyId, value0, t12, t11));
} else
row.push(new A.ReportStringValue(value29, t12, t11));
}
if (!skip)
data.push(row);
}
selectedColumns = t4.map$1$1(t3, new Y.quoteReport_closure1(), type$.legacy_String).toList$0(0);
C.JSArray_methods.sort$1(data, new Y.quoteReport_closure2(quoteReportSettings, selectedColumns));
t1 = type$.MappedListIterable_of_legacy_QuoteReportFields_and_legacy_String;
t2 = t1._eval$1("ListIterable.E");
return new A.ReportResult(selectedColumns, P.List_List$of(new H.MappedListIterable(C.List_GbU, new Y.quoteReport_closure3(), t1), true, t2), P.List_List$of(new H.MappedListIterable(defaultColumns, new Y.quoteReport_closure4(), t1), true, t2), data, true);
},
QuoteReportFields: function QuoteReportFields(t0) {
this._quote_report$_name = t0;
},
memoizedQuoteReport_closure: function memoizedQuoteReport_closure() {
},
quoteReport_closure: function quoteReport_closure() {
},
quoteReport_closure0: function quoteReport_closure0() {
},
quoteReport_closure1: function quoteReport_closure1() {
},
quoteReport_closure2: function quoteReport_closure2(t0, t1) {
this.quoteReportSettings = t0;
this.selectedColumns = t1;
},
quoteReport_closure3: function quoteReport_closure3() {
},
quoteReport_closure4: function quoteReport_closure4() {
},
WorkflowSettingsVM_fromStore: function(store) {
var state = store.get$_store$_state();
return new Y.WorkflowSettingsVM(state, new Y.WorkflowSettingsVM_fromStore_closure(store), state.uiState.settingsUIState.get$settings(), new Y.WorkflowSettingsVM_fromStore_closure0(store));
},
WorkflowSettingsScreen: function WorkflowSettingsScreen(t0) {
this.key = t0;
},
WorkflowSettingsScreen_build_closure: function WorkflowSettingsScreen_build_closure() {
},
WorkflowSettingsVM: function WorkflowSettingsVM(t0, t1, t2, t3) {
var _ = this;
_.state = t0;
_.onSavePressed = t1;
_.settings = t2;
_.onSettingsChanged = t3;
},
WorkflowSettingsVM_fromStore_closure0: function WorkflowSettingsVM_fromStore_closure0(t0) {
this.store = t0;
},
WorkflowSettingsVM_fromStore_closure: function WorkflowSettingsVM_fromStore_closure(t0) {
this.store = t0;
},
WorkflowSettingsVM_fromStore__closure: function WorkflowSettingsVM_fromStore__closure(t0, t1) {
this.store = t0;
this.context = t1;
},
SubscriptionListItem: function SubscriptionListItem(t0, t1, t2, t3, t4) {
var _ = this;
_.user = t0;
_.subscription = t1;
_.filter = t2;
_.isChecked = t3;
_.key = t4;
},
SubscriptionListItem_build_closure1: function SubscriptionListItem_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
SubscriptionListItem_build_closure0: function SubscriptionListItem_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
SubscriptionListItem_build_closure: function SubscriptionListItem_build_closure(t0) {
this.$this = t0;
},
TaskScreenVM_fromStore: function(store) {
var t4, t5, t6, t7, t8, t9, t10, t11, t12, t13,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t4.$index(t1, t3).taskState.toString;
t5 = $.$get$memoizedFilteredTaskList();
t6 = state.getUISelection$1(C.EntityType_task);
t7 = t4.$index(t1, t3).taskState.map;
t8 = t4.$index(t1, t3).clientState.map;
t9 = t4.$index(t1, t3).userState.map;
t10 = t4.$index(t1, t3).projectState.map;
t11 = t4.$index(t1, t3).invoiceState.map;
t12 = t4.$index(t1, t3).taskStatusState.map;
t13 = t4.$index(t1, t3).taskState.list;
t2 = t2.taskUIState.listUIState;
t13 = t5.call$9(t6, t7, t8, t9, t10, t11, t12, t13, t2);
t4.$index(t1, t3).toString;
t2.toString;
return new Y.TaskScreenVM(t13);
},
TaskScreenBuilder: function TaskScreenBuilder(t0) {
this.key = t0;
},
TaskScreenBuilder_build_closure: function TaskScreenBuilder_build_closure() {
},
TaskScreenVM: function TaskScreenVM(t0) {
this.taskList = t0;
},
TaskStatusScreen: function TaskStatusScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
TaskStatusScreen_build_closure9: function TaskStatusScreen_build_closure9(t0) {
this.store = t0;
},
TaskStatusScreen_build_closure7: function TaskStatusScreen_build_closure7(t0) {
this.store = t0;
},
TaskStatusScreen_build_closure8: function TaskStatusScreen_build_closure8(t0) {
this.store = t0;
},
TaskStatusScreen_build_closure4: function TaskStatusScreen_build_closure4(t0) {
this.store = t0;
},
TaskStatusScreen_build_closure5: function TaskStatusScreen_build_closure5(t0) {
this.store = t0;
},
TaskStatusScreen_build_closure: function TaskStatusScreen_build_closure(t0) {
this.store = t0;
},
TaskStatusScreen_build_closure0: function TaskStatusScreen_build_closure0(t0) {
this.store = t0;
},
TaskStatusScreen_build_closure1: function TaskStatusScreen_build_closure1(t0) {
this.store = t0;
},
TaskStatusScreen_build_closure2: function TaskStatusScreen_build_closure2(t0) {
this.store = t0;
},
TaskStatusScreen_build_closure3: function TaskStatusScreen_build_closure3(t0) {
this.store = t0;
},
TaskStatusScreen_build_closure6: function TaskStatusScreen_build_closure6(t0) {
this.context = t0;
},
TokenEdit: function TokenEdit(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_TokenEditState: function _TokenEditState(t0, t1, t2, t3) {
var _ = this;
_._token_edit$_debouncer = t0;
_._token_edit$_nameController = t1;
_._token_edit$_controllers = t2;
_._token_edit$_autoValidate = false;
_._widget = null;
_._debugLifecycleState = t3;
_._framework$_element = null;
},
_TokenEditState_didChangeDependencies_closure: function _TokenEditState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
_TokenEditState_didChangeDependencies_closure0: function _TokenEditState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
_TokenEditState_dispose_closure: function _TokenEditState_dispose_closure(t0) {
this.$this = t0;
},
_TokenEditState__onChanged_closure: function _TokenEditState__onChanged_closure(t0) {
this.$this = t0;
},
_TokenEditState__onChanged_closure0: function _TokenEditState__onChanged_closure0(t0, t1) {
this.$this = t0;
this.token = t1;
},
_TokenEditState_build_closure0: function _TokenEditState_build_closure0(t0) {
this.viewModel = t0;
},
_TokenEditState_build_closure1: function _TokenEditState_build_closure1(t0, t1) {
this.$this = t0;
this.viewModel = t1;
},
_TokenEditState_build__closure: function _TokenEditState_build__closure(t0, t1) {
this.$this = t0;
this.isValid = t1;
},
_TokenEditState_build_closure: function _TokenEditState_build_closure(t0, t1, t2) {
this.$this = t0;
this.localization = t1;
this.viewModel = t2;
},
_TokenEditState_build__closure0: function _TokenEditState_build__closure0(t0) {
this.localization = t0;
},
TokenView: function TokenView(t0, t1, t2) {
this.viewModel = t0;
this.isFilter = t1;
this.key = t2;
},
_TokenViewState: function _TokenViewState(t0) {
this._widget = null;
this._debugLifecycleState = t0;
this._framework$_element = null;
},
_TokenViewState_build_closure: function _TokenViewState_build_closure(t0) {
this.viewModel = t0;
},
_TokenListTile: function _TokenListTile(t0, t1) {
this.token = t0;
this.key = t1;
},
_TokenListTile_build_closure: function _TokenListTile_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
UserEditVM_UserEditVM$fromStore: function(store) {
var t3, t4, t5,
state = store.get$_store$_state(),
t1 = state.uiState,
user = t1.userUIState.editing,
t2 = state.userCompanyStates;
t1 = t1.selectedCompanyIndex;
t2 = t2._list;
t3 = J.getInterceptor$asx(t2);
t4 = t3.$index(t2, t1).userState.map;
t5 = user.id;
J.$index$asx(t4._map$_map, t5);
t3.$index(t2, t1).toString;
return new Y.UserEditVM(user, t3.$index(t2, t1).userCompany.company, new Y.UserEditVM_UserEditVM$fromStore_closure(store), new Y.UserEditVM_UserEditVM$fromStore_closure0(store, state), new Y.UserEditVM_UserEditVM$fromStore_closure1(store, state), state);
},
UserEditScreen: function UserEditScreen(t0) {
this.key = t0;
},
UserEditScreen_build_closure0: function UserEditScreen_build_closure0() {
},
UserEditScreen_build_closure: function UserEditScreen_build_closure() {
},
UserEditVM: function UserEditVM(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.user = t0;
_.company = t1;
_.onUserChanged = t2;
_.onSavePressed = t3;
_.onCancelPressed = t4;
_.state = t5;
},
UserEditVM_UserEditVM$fromStore_closure: function UserEditVM_UserEditVM$fromStore_closure(t0) {
this.store = t0;
},
UserEditVM_UserEditVM$fromStore_closure1: function UserEditVM_UserEditVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.state = t1;
},
UserEditVM_UserEditVM$fromStore_closure0: function UserEditVM_UserEditVM$fromStore_closure0(t0, t1) {
this.store = t0;
this.state = t1;
},
UserEditVM_UserEditVM$fromStore__closure: function UserEditVM_UserEditVM$fromStore__closure(t0, t1, t2) {
this.store = t0;
this.context = t1;
this.state = t2;
},
UserEditVM_UserEditVM$fromStore___closure: function UserEditVM_UserEditVM$fromStore___closure(t0, t1, t2) {
this.store = t0;
this.completer = t1;
this.user = t2;
},
UserEditVM_UserEditVM$fromStore___closure0: function UserEditVM_UserEditVM$fromStore___closure0(t0, t1, t2, t3, t4) {
var _ = this;
_.user = t0;
_.localization = t1;
_.state = t2;
_.store = t3;
_.navigator = t4;
},
UserEditVM_UserEditVM$fromStore___closure1: function UserEditVM_UserEditVM$fromStore___closure1() {
},
UserEditVM_UserEditVM$fromStore____closure: function UserEditVM_UserEditVM$fromStore____closure(t0) {
this.error = t0;
},
VendorViewDetails: function VendorViewDetails(t0, t1) {
this.vendor = t0;
this.key = t1;
},
_VendorViewDetailsState: function _VendorViewDetailsState(t0) {
var _ = this;
_._widget = _._launched = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_VendorViewDetailsState_build__buildDetailsList: function _VendorViewDetailsState_build__buildDetailsList(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.vendor = t1;
_.localization = t2;
_.context = t3;
},
_VendorViewDetailsState_build__buildDetailsList_closure: function _VendorViewDetailsState_build__buildDetailsList_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.listTiles = t1;
_.localization = t2;
_.context = t3;
},
_VendorViewDetailsState_build__buildDetailsList__closure1: function _VendorViewDetailsState_build__buildDetailsList__closure1(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.contact = t2;
},
_VendorViewDetailsState_build__buildDetailsList___closure0: function _VendorViewDetailsState_build__buildDetailsList___closure0(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.contact = t2;
},
_VendorViewDetailsState_build__buildDetailsList__closure2: function _VendorViewDetailsState_build__buildDetailsList__closure2(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.contact = t2;
},
_VendorViewDetailsState_build__buildDetailsList___closure: function _VendorViewDetailsState_build__buildDetailsList___closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.contact = t2;
},
_VendorViewDetailsState_build__buildDetailsList_closure0: function _VendorViewDetailsState_build__buildDetailsList_closure0(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.vendor = t2;
},
_VendorViewDetailsState_build__buildDetailsList__closure0: function _VendorViewDetailsState_build__buildDetailsList__closure0(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.vendor = t2;
},
_VendorViewDetailsState_build__buildDetailsList_closure1: function _VendorViewDetailsState_build__buildDetailsList_closure1(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.vendor = t2;
},
_VendorViewDetailsState_build__buildDetailsList__closure: function _VendorViewDetailsState_build__buildDetailsList__closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.vendor = t2;
},
_VendorViewDetailsState_build__buildDetailsList_closure2: function _VendorViewDetailsState_build__buildDetailsList_closure2(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.vendor = t2;
},
WebhookViewVM_WebhookViewVM$fromStore: function(store) {
var t4, t5, webhook,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t5 = t4.$index(t1, t3).webhookState.map;
t2 = t2.webhookUIState.selectedId;
webhook = J.$index$asx(t5._map$_map, t2);
if (webhook == null)
webhook = E.WebhookEntity_WebhookEntity(t2, null);
t1 = t4.$index(t1, t3).userCompany.company;
webhook.get$isNew();
return new Y.WebhookViewVM(state, webhook, t1, new Y.WebhookViewVM_WebhookViewVM$fromStore_closure(store));
},
WebhookViewScreen: function WebhookViewScreen(t0) {
this.key = t0;
},
WebhookViewScreen_build_closure0: function WebhookViewScreen_build_closure0() {
},
WebhookViewScreen_build_closure: function WebhookViewScreen_build_closure(t0) {
this.$this = t0;
},
WebhookViewVM: function WebhookViewVM(t0, t1, t2, t3) {
var _ = this;
_.state = t0;
_.webhook = t1;
_.company = t2;
_.onBackPressed = t3;
},
WebhookViewVM_WebhookViewVM$fromStore_closure: function WebhookViewVM_WebhookViewVM$fromStore_closure(t0) {
this.store = t0;
},
round: function(value, precision) {
return Y._round(C.JSString_methods.contains$1(H.S(value), "9999999") ? Y._round(value, precision + 1) : value, precision);
},
_round: function(value, precision) {
var fac;
if (isNaN(value))
return 0;
fac = Math.pow(10, precision);
return C.JSNumber_methods.round$0(value * fac) / fac;
},
parseInt: function(value, zeroIsNull) {
var intValue,
t1 = P.RegExp_RegExp("[^0-9\\.\\-]", true, false);
value.toString;
intValue = H.Primitives_parseInt(H.stringReplaceAllUnchecked(value, t1, ""), null);
if (intValue == null)
intValue = 0;
return intValue === 0 && zeroIsNull ? null : intValue;
},
parseDouble: function(value, zeroIsNull) {
var state, t2, doubleValue,
t1 = $.$get$navigatorKey();
t1.toString;
state = O.StoreProvider_of($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), type$.legacy_AppState).get$_store$_state();
t1 = state.userCompanyStates;
t2 = state.uiState.selectedCompanyIndex;
if (J.$index$asx(t1._list, t2).userCompany.company.useCommaAsDecimalPlace && J.contains$1$asx(value, ",")) {
value = H.stringReplaceAllUnchecked(value, ".", "");
value = H.stringReplaceAllUnchecked(value, ",", ".");
}
t1 = P.RegExp_RegExp("[^0-9\\.\\-]", true, false);
value.toString;
doubleValue = H.Primitives_parseDouble(H.stringReplaceAllUnchecked(value, t1, ""));
if (doubleValue == null)
doubleValue = 0;
return doubleValue === 0 && zeroIsNull ? null : doubleValue;
},
formatSize: function(size) {
return size > 1000000 ? "" + C.JSNumber_methods.toInt$0(Y.round(size / 1000000, 1)) + " MB" : "" + C.JSNumber_methods.toInt$0(Y.round(size / 1000, 0)) + " KB";
},
formatNumber: function(value, context, clientId, currencyId, formatNumberType, roundToPrecision, showCurrencyCode, zeroIsNull) {
var state, t1, t2, t3, company, client, t4, t5, t6, group, countryId, currency, t7, t8, companyCurrency, country, companyCountry, thousandSeparator, decimalSeparator, swapCurrencySymbol, thousandSeparator0, decimalSeparator0, formatted, formatter, prefix, _null = null, _s6_ = "custom",
_s11_ = "#,##0.#####";
if ((zeroIsNull || formatNumberType === C.FormatNumberType_4 || formatNumberType === C.FormatNumberType_5) && value === 0)
return _null;
else if (value == null)
return "";
if (formatNumberType === C.FormatNumberType_6)
return Y.formatDuration(P.Duration$(0, 0, 0, 0, 0, C.JSNumber_methods.toInt$0(value)), true);
state = O.StoreProvider_of(context, type$.legacy_AppState).get$_store$_state();
t1 = state.userCompanyStates;
t2 = state.uiState.selectedCompanyIndex;
t1 = t1._list;
t3 = J.getInterceptor$asx(t1);
company = t3.$index(t1, t2).userCompany.company;
client = J.$index$asx(t3.$index(t1, t2).clientState.map._map$_map, clientId);
t4 = t3.$index(t1, t2).groupState.map;
t5 = client == null;
t6 = t5 ? _null : client.groupId;
group = J.$index$asx(t4._map$_map, t6);
t4 = t5 ? _null : client.countryId;
countryId = (t4 == null ? "" : t4).length !== 0 && client.get$hasNameSet() ? client.countryId : company.settings.countryId;
if (currencyId === "-1") {
currencyId = company.settings.currencyId;
if (currencyId == null)
currencyId = "1";
} else if (!(currencyId != null && currencyId.length !== 0))
if (!t5 && client.get$hasCurrency())
currencyId = client.settings.currencyId;
else if (group != null && group.get$hasCurrency())
currencyId = group.settings.currencyId;
else {
currencyId = company.settings.currencyId;
if (currencyId == null)
currencyId = "1";
}
t4 = state.staticState;
t5 = t4.currencyMap._map$_map;
t6 = J.getInterceptor$asx(t5);
currency = t6.$index(t5, currencyId);
t7 = company.settings;
t8 = t7.currencyId;
companyCurrency = t6.$index(t5, t8 == null ? "1" : t8);
t4 = t4.countryMap._map$_map;
t5 = J.getInterceptor$asx(t4);
country = t5.$index(t4, countryId);
if (country == null)
country = L.CountryEntity_CountryEntity();
companyCountry = t5.$index(t4, t7.countryId);
if (companyCountry == null)
companyCountry = L.CountryEntity_CountryEntity();
if (currency == null)
return "";
if (formatNumberType === C.FormatNumberType_0 && roundToPrecision)
value = Y.round(value, currency.precision);
thousandSeparator = currency.thousandSeparator;
decimalSeparator = currency.decimalSeparator;
swapCurrencySymbol = companyCurrency.swapCurrencySymbol;
if (currency.id === "3") {
swapCurrencySymbol = companyCountry.swapCurrencySymbol;
thousandSeparator0 = country.thousandSeparator;
if (thousandSeparator0.length !== 0)
thousandSeparator = thousandSeparator0;
decimalSeparator0 = country.decimalSeparator;
if (decimalSeparator0.length !== 0)
decimalSeparator = decimalSeparator0;
}
if (C.JSArray_methods.contains$1(H.setRuntimeTypeInfo([C.FormatNumberType_4, C.FormatNumberType_5], type$.JSArray_legacy_FormatNumberType), formatNumberType)) {
decimalSeparator = t3.$index(t1, t2).userCompany.company.useCommaAsDecimalPlace ? "," : ".";
thousandSeparator = "";
}
$.$get$numberFormatSymbols().$indexSet(0, _s6_, B.NumberSymbols$("", "", decimalSeparator, "", "", thousandSeparator, "", "-", _s6_, "", "", "", "", "+", "", "0"));
if (formatNumberType === C.FormatNumberType_2)
return S.NumberFormat_NumberFormat("#,##0", _s6_).format$1(value);
else if (formatNumberType === C.FormatNumberType_3)
return S.NumberFormat_NumberFormat(_s11_, _s6_).format$1(value);
else if (formatNumberType === C.FormatNumberType_5)
return S.NumberFormat_NumberFormat("#.#####", _s6_).format$1(value);
else if (formatNumberType === C.FormatNumberType_4) {
t1 = currency.precision;
if (t1 === 0)
return S.NumberFormat_NumberFormat("#.#####", _s6_).format$1(value);
else if (t1 === 1)
return S.NumberFormat_NumberFormat("#.0####", _s6_).format$1(value);
else if (t1 === 2)
return S.NumberFormat_NumberFormat("#.00###", _s6_).format$1(value);
else if (t1 === 3)
return S.NumberFormat_NumberFormat("#.000##", _s6_).format$1(value);
formatted = _null;
} else {
if (formatNumberType === C.FormatNumberType_1)
formatter = S.NumberFormat_NumberFormat(_s11_, _s6_);
else {
t1 = currency.precision;
if (t1 === 0)
formatter = S.NumberFormat_NumberFormat(_s11_, _s6_);
else if (t1 === 1)
formatter = S.NumberFormat_NumberFormat("#,##0.0####", _s6_);
else if (t1 === 2)
formatter = S.NumberFormat_NumberFormat("#,##0.00###", _s6_);
else
formatter = t1 === 3 ? S.NumberFormat_NumberFormat("#,##0.000##", _s6_) : _null;
}
formatted = formatter.format$1(value < 0 ? value * -1 : value);
}
prefix = value < 0 ? "-" : "";
if (formatNumberType === C.FormatNumberType_1)
return prefix + H.S(formatted) + "%";
else {
t1 = showCurrencyCode == null ? t7.showCurrencyCode : showCurrencyCode;
if (t1 === true || currency.symbol.length === 0)
return prefix + H.S(formatted) + " " + currency.code;
else {
t1 = currency.symbol;
if (swapCurrencySymbol)
return prefix + H.S(formatted) + " " + C.JSString_methods.trim$0(t1);
else
return prefix + t1 + H.S(formatted);
}
}
},
formatURL: function(url) {
if (C.JSString_methods.startsWith$1(url, "http"))
return url;
return "http://" + url;
},
formatAddress: function(delimiter, isShipping, object) {
var address2, city, state, postalCode, str,
address1 = isShipping ? object.get$shippingAddress1() : object.get$address1();
if (address1 == null)
address1 = "";
address2 = isShipping ? object.get$shippingAddress2() : object.get$address2();
if (address2 == null)
address2 = "";
city = isShipping ? object.get$shippingCity() : object.get$city(object);
if (city == null)
city = "";
state = isShipping ? object.get$shippingState() : object.get$state(object);
if (state == null)
state = "";
postalCode = isShipping ? object.get$shippingPostalCode() : object.get$postalCode(object);
if (postalCode == null)
postalCode = "";
str = address1.length !== 0 ? address1 + delimiter : "";
if (address2.length !== 0)
str += address2 + delimiter;
if (city.length !== 0)
str += city + ", ";
if (state.length !== 0)
str += state + " ";
return postalCode.length !== 0 ? str + postalCode : str;
},
convertDateTimeToSqlDate: function(date) {
return C.JSArray_methods.get$first((date == null ? new P.DateTime(Date.now(), false) : date).toIso8601String$0().split("T"));
},
convertSqlDateToDateTime: function(date) {
var parts = (date == null ? Y.convertDateTimeToSqlDate(null) : date).split("-"),
t1 = Y.parseInt(parts[0], false),
t2 = Y.parseInt(parts[1], false),
t3 = Y.parseInt(parts[2], false);
t1 = H.Primitives_valueFromDecomposedDate(t1, t2, t3, 0, 0, 0, 0, true);
if (!H._isInt(t1))
H.throwExpression(H.argumentErrorValue(t1));
return new P.DateTime(t1, true);
},
formatDuration: function(duration, showSeconds) {
var parts,
time = J.toString$0$(duration).split(".")[0];
if (showSeconds)
return time;
else {
parts = time.split(":");
return H.S(parts[0]) + ":" + H.S(parts[1]);
}
},
parseDate: function(value, context) {
var state, t1, t2, company, dateFormats, dateFormatId;
if (value.length === 0)
return "";
state = O.StoreProvider_of(context, type$.legacy_AppState).get$_store$_state();
t1 = state.userCompanyStates;
t2 = state.uiState.selectedCompanyIndex;
company = J.$index$asx(t1._list, t2).userCompany.company;
dateFormats = state.staticState.dateFormatMap;
dateFormatId = company.settings.dateFormatId;
dateFormatId = (dateFormatId == null ? "" : dateFormatId).length !== 0 ? dateFormatId : "5";
return Y.convertDateTimeToSqlDate(A.DateFormat$(J.$index$asx(dateFormats._map$_map, dateFormatId).format, U.localeSelector(state))._date_format$_parse$3$strict$utc(value, false, false));
},
parseTime: function(value, context) {
var state, t1, t2, company, enableMilitaryTime, format;
if (value.length === 0)
return null;
state = O.StoreProvider_of(context, type$.legacy_AppState).get$_store$_state();
t1 = state.userCompanyStates;
t2 = state.uiState.selectedCompanyIndex;
company = J.$index$asx(t1._list, t2).userCompany.company;
t2 = C.JSString_methods.allMatches$1(":", value);
t2 = t2.get$length(t2);
enableMilitaryTime = company.settings.enableMilitaryTime;
if (t2 >= 2)
format = enableMilitaryTime ? "H:mm:ss" : "h:mm:ss a";
else
format = enableMilitaryTime ? "H:mm" : "h:mm a";
return A.DateFormat$("y-M-D " + format, U.localeSelector(state))._date_format$_parse$3$strict$utc("2000-01-01 " + value, false, false);
},
formatDate: function(value, context, showDate, showSeconds, showTime) {
var state, t1, t2, company, format, dateFormats, dateFormatId, formatter, parsed,
_s9_ = "h:mm:ss a";
if (value == null || value.length === 0)
return "";
state = O.StoreProvider_of(context, type$.legacy_AppState).get$_store$_state();
t1 = state.userCompanyStates;
t2 = state.uiState.selectedCompanyIndex;
company = J.$index$asx(t1._list, t2).userCompany.company;
if (showTime) {
if (!showDate)
format = company.settings.enableMilitaryTime ? "H:mm:ss" : _s9_;
else {
dateFormats = state.staticState.dateFormatMap;
t1 = company.settings;
dateFormatId = t1.dateFormatId;
dateFormatId = (dateFormatId == null ? "" : dateFormatId).length !== 0 ? dateFormatId : "5";
format = J.$index$asx(dateFormats._map$_map, dateFormatId).format;
t1 = t1.enableMilitaryTime ? "H:mm:ss" : _s9_;
format += " " + t1;
}
formatter = A.DateFormat$(format, U.localeSelector(state));
parsed = P.DateTime_tryParse(value);
return parsed == null ? "" : formatter.format$1(parsed.toLocal$0());
} else {
dateFormats = state.staticState.dateFormatMap;
t1 = company.settings.dateFormatId;
formatter = A.DateFormat$(J.$index$asx(dateFormats._map$_map, t1).format, U.localeSelector(state));
parsed = P.DateTime_tryParse(value);
return parsed == null ? "" : formatter.format$1(parsed);
}
},
formatApiUrl: function(url) {
url = Y.cleanApiUrl(url);
if (url.length === 0)
return "";
return url + "/api/v1";
},
cleanApiUrl: function(url) {
return C.JSString_methods.replaceFirst$2(C.JSString_methods.replaceFirst$2(C.JSString_methods.trim$0(url == null ? "" : url), P.RegExp_RegExp("/api/v1", true, false), ""), P.RegExp_RegExp("/$", true, false), "");
},
formatCustomValue: function(context, field, value) {
var t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization),
state = O.StoreProvider_of(context, type$.legacy_AppState).get$_store$_state(),
t2 = state.userCompanyStates,
t3 = state.uiState.selectedCompanyIndex;
switch (J.$index$asx(t2._list, t3).userCompany.company.getCustomFieldType$1(field)) {
case "switch":
return value === "yes" ? t1.get$yes() : t1.get$no();
case "date":
return Y.formatDate(value, context, true, true, false);
default:
return value;
}
},
FormatNumberType: function FormatNumberType(t0) {
this._formatting$_name = t0;
},
Level: function Level(t0, t1) {
this.name = t0;
this.value = t1;
},
ImageHandler$: function(alignment, color, colorBlendMode, errorBuilder, fadeInCurve, fadeInDuration, fadeOutCurve, fadeOutDuration, filterQuality, fit, height, image, imageBuilder, matchTextDirection, placeholderBuilder, placeholderFadeInDuration, progressIndicatorBuilder, repeat, width) {
var t1 = new Y.ImageHandler(image, width, height, fit, alignment, repeat, false, color, colorBlendMode, filterQuality, imageBuilder, placeholderBuilder, progressIndicatorBuilder, errorBuilder, placeholderFadeInDuration, fadeOutDuration, fadeOutCurve, fadeInDuration, fadeInCurve);
t1.__ImageHandler__placeholderType = t1._definePlaceholderType$0();
return t1;
},
_PlaceholderType: function _PlaceholderType(t0) {
this._image_handler$_name = t0;
},
ImageHandler: function ImageHandler(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) {
var _ = this;
_.image = t0;
_.width = t1;
_.height = t2;
_.fit = t3;
_.alignment = t4;
_.repeat = t5;
_.matchTextDirection = t6;
_.color = t7;
_.colorBlendMode = t8;
_.filterQuality = t9;
_.__ImageHandler__placeholderType = $;
_.imageBuilder = t10;
_.placeholderBuilder = t11;
_.progressIndicatorBuilder = t12;
_.errorBuilder = t13;
_.placeholderFadeInDuration = t14;
_.fadeOutDuration = t15;
_.fadeOutCurve = t16;
_.fadeInDuration = t17;
_.fadeInCurve = t18;
_._isLoaded = _._image_handler$_wasSynchronouslyLoaded = false;
},
PhotoViewDefaultError: function PhotoViewDefaultError(t0, t1) {
this.decoration = t0;
this.key = t1;
},
PhotoViewDefaultLoading: function PhotoViewDefaultLoading(t0, t1) {
this.event = t0;
this.key = t1;
},
QrRsBlock_getRSBlocks: function(typeNumber, errorCorrectLevel) {
var i, t1, count, totalCount, dataCount, j,
rsBlock = Y._getRsBlockTable(typeNumber, errorCorrectLevel),
$length = rsBlock.length / 3 | 0,
list = H.setRuntimeTypeInfo([], type$.JSArray_QrRsBlock);
for (i = 0; i < $length; ++i) {
t1 = i * 3;
count = rsBlock[t1];
totalCount = rsBlock[t1 + 1];
dataCount = rsBlock[t1 + 2];
for (j = 0; j < count; ++j)
list.push(new Y.QrRsBlock(totalCount, dataCount));
}
return list;
},
_getRsBlockTable: function(typeNumber, errorCorrectLevel) {
switch (errorCorrectLevel) {
case 1:
return C.List_exN[(typeNumber - 1) * 4];
case 0:
return C.List_exN[(typeNumber - 1) * 4 + 1];
case 3:
return C.List_exN[(typeNumber - 1) * 4 + 2];
case 2:
return C.List_exN[(typeNumber - 1) * 4 + 3];
default:
throw H.wrapException(P.ArgumentError$("bad rs block @ typeNumber: " + typeNumber + "/errorCorrectLevel:" + errorCorrectLevel));
}
},
QrRsBlock: function QrRsBlock(t0, t1) {
this.totalCount = t0;
this.dataCount = t1;
},
FileLocation$_: function(file, offset) {
if (offset < 0)
H.throwExpression(P.RangeError$("Offset may not be negative, was " + offset + "."));
else if (offset > file._decodedChars.length)
H.throwExpression(P.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + "."));
return new Y.FileLocation(file, offset);
},
SourceFile: function SourceFile(t0, t1, t2) {
var _ = this;
_.url = t0;
_._lineStarts = t1;
_._decodedChars = t2;
_._cachedLine = null;
},
FileLocation: function FileLocation(t0, t1) {
this.file = t0;
this.offset = t1;
},
_FileSpan: function _FileSpan(t0, t1, t2) {
this.file = t0;
this._file$_start = t1;
this._file$_end = t2;
},
SourceSpanMixin: function SourceSpanMixin() {
},
UrlLauncherPlugin: function UrlLauncherPlugin(t0, t1) {
this._window = t0;
this._isSafari = false;
this._instanceToken = t1;
},
BoxValueConstraints$: function(constraints, value, $T) {
return new Y.BoxValueConstraints(value, constraints.minWidth, constraints.maxWidth, constraints.minHeight, constraints.maxHeight, $T._eval$1("BoxValueConstraints<0>"));
},
BoxValueConstraints: function BoxValueConstraints(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.value = t0;
_.minWidth = t1;
_.maxWidth = t2;
_.minHeight = t3;
_.maxHeight = t4;
_.$ti = t5;
},
ValueLayoutBuilder: function ValueLayoutBuilder(t0, t1, t2) {
this.builder = t0;
this.key = t1;
this.$ti = t2;
},
_RenderValueLayoutBuilder: function _RenderValueLayoutBuilder(t0, t1, t2, t3, t4) {
var _ = this;
_.RenderConstrainedLayoutBuilder__callback = t0;
_.RenderConstrainedLayoutBuilder__needsBuild = t1;
_.RenderConstrainedLayoutBuilder__previousConstraints = t2;
_.RenderObjectWithChildMixin__child = t3;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
_.$ti = t4;
},
__RenderValueLayoutBuilder_RenderBox_RenderObjectWithChildMixin: function __RenderValueLayoutBuilder_RenderBox_RenderObjectWithChildMixin() {
},
__RenderValueLayoutBuilder_RenderBox_RenderObjectWithChildMixin_RenderConstrainedLayoutBuilder: function __RenderValueLayoutBuilder_RenderBox_RenderObjectWithChildMixin_RenderConstrainedLayoutBuilder() {
},
groupBy: function(values, key, $S, $T) {
var t1, _i, element, t2, t3,
map = P.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
for (t1 = $S._eval$1("JSArray<0>"), _i = 0; _i < 1; ++_i) {
element = values[_i];
t2 = key.call$1(element);
t3 = map.$index(0, t2);
if (t3 == null) {
t3 = H.setRuntimeTypeInfo([], t1);
map.$indexSet(0, t2, t3);
t2 = t3;
} else
t2 = t3;
t2.push(element);
}
return map;
}
},
S = {Inflate: function Inflate(t0, t1, t2, t3) {
var _ = this;
_.__Inflate_input = t0;
_.inputSet = false;
_.output = t1;
_._bitBufferLen = _._inflate$_bitBuffer = 0;
_._fixedLiteralLengthTable = t2;
_._fixedDistanceTable = t3;
}, NullSerializer: function NullSerializer(t0) {
this.types = t0;
},
SmallTickRendererSpec$: function(axisLineStyle, labelAnchor, labelCollisionOffsetFromAxisPx, labelCollisionOffsetFromTickPx, labelCollisionRotation, labelJustification, labelOffsetFromAxisPx, labelOffsetFromTickPx, labelRotation, labelStyle, lineStyle, minimumPaddingBetweenLabelsPx, tickLengthPx, $D) {
return new S.SmallTickRendererSpec(lineStyle, tickLengthPx, labelStyle, labelAnchor, labelJustification, labelOffsetFromAxisPx, labelCollisionOffsetFromAxisPx, labelOffsetFromTickPx, labelCollisionOffsetFromTickPx, minimumPaddingBetweenLabelsPx, labelRotation, labelCollisionRotation, axisLineStyle, $D._eval$1("SmallTickRendererSpec<0>"));
},
SmallTickRendererSpec: function SmallTickRendererSpec(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
var _ = this;
_.lineStyle = t0;
_.tickLengthPx = t1;
_.labelStyle = t2;
_.labelAnchor = t3;
_.labelJustification = t4;
_.labelOffsetFromAxisPx = t5;
_.labelCollisionOffsetFromAxisPx = t6;
_.labelOffsetFromTickPx = t7;
_.labelCollisionOffsetFromTickPx = t8;
_.minimumPaddingBetweenLabelsPx = t9;
_.labelRotation = t10;
_.labelCollisionRotation = t11;
_.axisLineStyle = t12;
_.$ti = t13;
},
SmallTickDrawStrategy: function SmallTickDrawStrategy(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
var _ = this;
_.tickLength = t0;
_.lineStyle = t1;
_.chartContext = t2;
_.graphicsFactory = t3;
_.axisLineStyle = t4;
_.labelStyle = t5;
_.tickLabelJustification = t6;
_._defaultTickLabelAnchor = t7;
_._labelDefaultOffsetFromAxisPx = t8;
_._labelCollisionOffsetFromAxisPx = t9;
_._labelDefaultOffsetFromTickPx = t10;
_._labelCollisionOffsetFromTickPx = t11;
_._labelDefaultRotation = t12;
_._labelCollisionRotation = t13;
_._rotateOnCollision = t14;
_.minimumPaddingBetweenLabelsPx = t15;
_.$ti = t16;
},
Tick: function Tick(t0, t1, t2, t3, t4) {
var _ = this;
_.value = t0;
_.textElement = t1;
_.locationPx = t2;
_.labelOffsetPx = t3;
_.$ti = t4;
},
SelectionTrigger: function SelectionTrigger(t0) {
this._selection_trigger$_name = t0;
},
getAnimatedColor: function(previous, target, animationPercent) {
var g, b,
t1 = target.r,
t2 = previous.r,
r = C.JSNumber_methods.round$0((t1 - t2) * animationPercent + t2);
t2 = target.g;
t1 = previous.g;
g = C.JSNumber_methods.round$0((t2 - t1) * animationPercent + t1);
t1 = target.b;
t2 = previous.b;
b = C.JSNumber_methods.round$0((t1 - t2) * animationPercent + t2);
t2 = target.a;
t1 = previous.a;
return new K.Color0(r, g, b, C.JSNumber_methods.round$0((t2 - t1) * animationPercent + t1), null, null);
},
FillPatternType: function FillPatternType(t0) {
this._chart_canvas0$_name = t0;
},
ChartCanvas: function ChartCanvas(t0, t1) {
this.canvas = t0;
this._chart_canvas$_paint = t1;
},
ErrorCodes_EINVAL: function() {
return S.ErrorCodes__platform(new S.ErrorCodes_EINVAL_closure());
},
ErrorCodes_EISDIR: function() {
return S.ErrorCodes__platform(new S.ErrorCodes_EISDIR_closure());
},
ErrorCodes_ELOOP: function() {
return S.ErrorCodes__platform(new S.ErrorCodes_ELOOP_closure());
},
ErrorCodes_ENOENT: function() {
return S.ErrorCodes__platform(new S.ErrorCodes_ENOENT_closure());
},
ErrorCodes_ENOTDIR: function() {
return S.ErrorCodes__platform(new S.ErrorCodes_ENOTDIR_closure());
},
ErrorCodes_ENOTEMPTY: function() {
return S.ErrorCodes__platform(new S.ErrorCodes_ENOTEMPTY_closure());
},
ErrorCodes__platform: function(getCode) {
var t1 = C.Map_IMoEm.$index(0, "linux");
if (t1 == null)
t1 = C.Map_IMoEm.$index(0, "linux");
t1.toString;
return getCode.call$1(t1);
},
ErrorCodes_EINVAL_closure: function ErrorCodes_EINVAL_closure() {
},
ErrorCodes_EISDIR_closure: function ErrorCodes_EISDIR_closure() {
},
ErrorCodes_ELOOP_closure: function ErrorCodes_ELOOP_closure() {
},
ErrorCodes_ENOENT_closure: function ErrorCodes_ENOENT_closure() {
},
ErrorCodes_ENOTDIR_closure: function ErrorCodes_ENOTDIR_closure() {
},
ErrorCodes_ENOTEMPTY_closure: function ErrorCodes_ENOTEMPTY_closure() {
},
_LinuxCodes: function _LinuxCodes() {
},
_MacOSCodes: function _MacOSCodes() {
},
_WindowsCodes: function _WindowsCodes() {
},
ProxyAnimation$: function(animation) {
var t1 = new S.ProxyAnimation(new R.ObserverList(H.setRuntimeTypeInfo([], type$.JSArray_of_void_Function_AnimationStatus), type$.ObserverList_of_void_Function_AnimationStatus), new R.ObserverList(H.setRuntimeTypeInfo([], type$.JSArray_of_void_Function), type$.ObserverList_of_void_Function), 0);
t1._animations$_parent = animation;
if (animation == null) {
t1._animations$_status = C.AnimationStatus_0;
t1._animations$_value = 0;
}
return t1;
},
CurvedAnimation$: function(curve, $parent, reverseCurve) {
var t1 = new S.CurvedAnimation($parent, curve, reverseCurve);
t1._updateCurveDirection$1($parent.get$status($parent));
$parent.addStatusListener$1(t1.get$_updateCurveDirection());
return t1;
},
TrainHoppingAnimation$: function(_currentTrain, _nextTrain, onSwitchedTrain) {
var t2, t3,
t1 = new S.TrainHoppingAnimation(_currentTrain, _nextTrain, onSwitchedTrain, new R.ObserverList(H.setRuntimeTypeInfo([], type$.JSArray_of_void_Function_AnimationStatus), type$.ObserverList_of_void_Function_AnimationStatus), new R.ObserverList(H.setRuntimeTypeInfo([], type$.JSArray_of_void_Function), type$.ObserverList_of_void_Function));
if (J.$eq$(_currentTrain.get$value(_currentTrain), _nextTrain.get$value(_nextTrain))) {
t1._currentTrain = _nextTrain;
t1._nextTrain = null;
t2 = _nextTrain;
} else {
if (_currentTrain.get$value(_currentTrain) > _nextTrain.get$value(_nextTrain))
t1._mode = C._TrainHoppingMode_1;
else
t1._mode = C._TrainHoppingMode_0;
t2 = _currentTrain;
}
t2.addStatusListener$1(t1.get$_statusChangeHandler());
t2 = t1.get$_valueChangeHandler();
t1._currentTrain.addListener$1(0, t2);
t3 = t1._nextTrain;
if (t3 != null)
t3.addListener$1(0, t2);
return t1;
},
AnimationMin$: function(first, next, $T) {
return new S.AnimationMin(first, next, new R.ObserverList(H.setRuntimeTypeInfo([], type$.JSArray_of_void_Function_AnimationStatus), type$.ObserverList_of_void_Function_AnimationStatus), new R.ObserverList(H.setRuntimeTypeInfo([], type$.JSArray_of_void_Function), type$.ObserverList_of_void_Function), 0, $T._eval$1("AnimationMin<0>"));
},
_AlwaysCompleteAnimation: function _AlwaysCompleteAnimation() {
},
_AlwaysDismissedAnimation: function _AlwaysDismissedAnimation() {
},
AlwaysStoppedAnimation: function AlwaysStoppedAnimation(t0, t1) {
this.value = t0;
this.$ti = t1;
},
AnimationWithParentMixin: function AnimationWithParentMixin() {
},
ProxyAnimation: function ProxyAnimation(t0, t1, t2) {
var _ = this;
_._animations$_parent = _._animations$_value = _._animations$_status = null;
_.AnimationLocalStatusListenersMixin__statusListeners = t0;
_.AnimationLocalListenersMixin__listeners = t1;
_.AnimationLazyListenerMixin__listenerCounter = t2;
},
ReverseAnimation: function ReverseAnimation(t0, t1, t2) {
this.parent = t0;
this.AnimationLocalStatusListenersMixin__statusListeners = t1;
this.AnimationLazyListenerMixin__listenerCounter = t2;
},
CurvedAnimation: function CurvedAnimation(t0, t1, t2) {
var _ = this;
_.parent = t0;
_.curve = t1;
_.reverseCurve = t2;
_._curveDirection = null;
},
_TrainHoppingMode: function _TrainHoppingMode(t0) {
this._animations$_name = t0;
},
TrainHoppingAnimation: function TrainHoppingAnimation(t0, t1, t2, t3, t4) {
var _ = this;
_._currentTrain = t0;
_._nextTrain = t1;
_._mode = null;
_.onSwitchedTrain = t2;
_._lastValue = _._lastStatus = null;
_.AnimationLocalStatusListenersMixin__statusListeners = t3;
_.AnimationLocalListenersMixin__listeners = t4;
},
CompoundAnimation: function CompoundAnimation() {
},
AnimationMin: function AnimationMin(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.first = t0;
_.next = t1;
_._lastValue = _._lastStatus = null;
_.AnimationLocalStatusListenersMixin__statusListeners = t2;
_.AnimationLocalListenersMixin__listeners = t3;
_.AnimationLazyListenerMixin__listenerCounter = t4;
_.$ti = t5;
},
_CompoundAnimation_Animation_AnimationLazyListenerMixin: function _CompoundAnimation_Animation_AnimationLazyListenerMixin() {
},
_CompoundAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalListenersMixin: function _CompoundAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalListenersMixin() {
},
_CompoundAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalListenersMixin_AnimationLocalStatusListenersMixin: function _CompoundAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalListenersMixin_AnimationLocalStatusListenersMixin() {
},
_CurvedAnimation_Animation_AnimationWithParentMixin: function _CurvedAnimation_Animation_AnimationWithParentMixin() {
},
_ProxyAnimation_Animation_AnimationLazyListenerMixin: function _ProxyAnimation_Animation_AnimationLazyListenerMixin() {
},
_ProxyAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalListenersMixin: function _ProxyAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalListenersMixin() {
},
_ProxyAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalListenersMixin_AnimationLocalStatusListenersMixin: function _ProxyAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalListenersMixin_AnimationLocalStatusListenersMixin() {
},
_ReverseAnimation_Animation_AnimationLazyListenerMixin: function _ReverseAnimation_Animation_AnimationLazyListenerMixin() {
},
_ReverseAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalStatusListenersMixin: function _ReverseAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalStatusListenersMixin() {
},
_TrainHoppingAnimation_Animation_AnimationEagerListenerMixin: function _TrainHoppingAnimation_Animation_AnimationEagerListenerMixin() {
},
_TrainHoppingAnimation_Animation_AnimationEagerListenerMixin_AnimationLocalListenersMixin: function _TrainHoppingAnimation_Animation_AnimationEagerListenerMixin_AnimationLocalListenersMixin() {
},
_TrainHoppingAnimation_Animation_AnimationEagerListenerMixin_AnimationLocalListenersMixin_AnimationLocalStatusListenersMixin: function _TrainHoppingAnimation_Animation_AnimationEagerListenerMixin_AnimationLocalListenersMixin_AnimationLocalStatusListenersMixin() {
},
AnimationLazyListenerMixin: function AnimationLazyListenerMixin() {
},
AnimationEagerListenerMixin: function AnimationEagerListenerMixin() {
},
AnimationLocalListenersMixin: function AnimationLocalListenersMixin() {
},
AnimationLocalStatusListenersMixin: function AnimationLocalStatusListenersMixin() {
},
DragStartBehavior: function DragStartBehavior(t0) {
this._recognizer$_name = t0;
},
GestureRecognizer: function GestureRecognizer() {
},
OneSequenceGestureRecognizer: function OneSequenceGestureRecognizer() {
},
GestureRecognizerState: function GestureRecognizerState(t0) {
this._recognizer$_name = t0;
},
PrimaryPointerGestureRecognizer: function PrimaryPointerGestureRecognizer() {
},
PrimaryPointerGestureRecognizer_addAllowedPointer_closure: function PrimaryPointerGestureRecognizer_addAllowedPointer_closure(t0, t1) {
this.$this = t0;
this.event = t1;
},
OffsetPair: function OffsetPair(t0, t1) {
this.local = t0;
this.global = t1;
},
_GestureRecognizer_GestureArenaMember_DiagnosticableTreeMixin: function _GestureRecognizer_GestureArenaMember_DiagnosticableTreeMixin() {
},
MaterialApp_createMaterialHeroController: function() {
return new T.HeroController(new S.MaterialApp_createMaterialHeroController_closure(), P.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$._HeroFlight));
},
ThemeMode: function ThemeMode(t0) {
this._app0$_name = t0;
},
MaterialApp: function MaterialApp(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_.navigatorKey = t0;
_.home = t1;
_.routes = t2;
_.onGenerateRoute = t3;
_.navigatorObservers = t4;
_.title = t5;
_.theme = t6;
_.locale = t7;
_.localizationsDelegates = t8;
_.supportedLocales = t9;
_.debugShowCheckedModeBanner = t10;
_.key = t11;
},
MaterialApp_createMaterialHeroController_closure: function MaterialApp_createMaterialHeroController_closure() {
},
MaterialScrollBehavior: function MaterialScrollBehavior() {
},
_MaterialAppState: function _MaterialAppState(t0) {
var _ = this;
_.___MaterialAppState__heroController = $;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_MaterialAppState__buildWidgetApp_closure: function _MaterialAppState__buildWidgetApp_closure() {
},
DataRow$: function(cells) {
return new S.DataRow(null, cells);
},
DataRow$byIndex: function(cells, index) {
return new S.DataRow(new D.ValueKey(index, type$.ValueKey_nullable_int), cells);
},
DataCell$: function(child, onTap) {
return new S.DataCell(child, onTap);
},
DataTable$: function(checkboxHorizontalMargin, columnSpacing, columns, dataRowHeight, decoration, headingRowHeight, horizontalMargin, key, onSelectAll, rows, showBottomBorder, showCheckboxColumn, sortAscending, sortColumnIndex) {
return new S.DataTable(columns, sortColumnIndex, sortAscending, onSelectAll, decoration, dataRowHeight, headingRowHeight, horizontalMargin, columnSpacing, true, rows, showBottomBorder, checkboxHorizontalMargin, S.DataTable__initOnlyTextColumn(columns), key);
},
DataTable__initOnlyTextColumn: function(columns) {
var t1, result, index;
for (t1 = columns.length, result = null, index = 0; index < t1; ++index)
if (!columns[index].numeric) {
if (result != null)
return null;
result = index;
}
return result;
},
TableRowInkWell$: function(child, onTap, overlayColor) {
var _null = null;
return new S.TableRowInkWell(child, onTap, _null, _null, _null, _null, _null, _null, _null, true, C.BoxShape_0, _null, _null, _null, _null, _null, _null, overlayColor, _null, _null, true, false, _null, false, _null, true, _null);
},
DataColumn: function DataColumn(t0, t1, t2) {
this.label = t0;
this.numeric = t1;
this.onSort = t2;
},
DataRow: function DataRow(t0, t1) {
this.key = t0;
this.cells = t1;
},
DataCell: function DataCell(t0, t1) {
this.child = t0;
this.onTap = t1;
},
DataTable: function DataTable(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
var _ = this;
_.columns = t0;
_.sortColumnIndex = t1;
_.sortAscending = t2;
_.onSelectAll = t3;
_.decoration = t4;
_.dataRowHeight = t5;
_.headingRowHeight = t6;
_.horizontalMargin = t7;
_.columnSpacing = t8;
_.showCheckboxColumn = t9;
_.rows = t10;
_.showBottomBorder = t11;
_.checkboxHorizontalMargin = t12;
_._onlyTextColumn = t13;
_.key = t14;
},
DataTable_build_closure3: function DataTable_build_closure3(t0) {
this.theme = t0;
},
DataTable_build_closure: function DataTable_build_closure() {
},
DataTable_build_closure0: function DataTable_build_closure0() {
},
DataTable_build_closure1: function DataTable_build_closure1() {
},
DataTable_build_closure2: function DataTable_build_closure2(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.$this = t0;
_.anyRowSelectable = t1;
_.effectiveDataRowColor = t2;
_.effectiveHeadingRowColor = t3;
_.context = t4;
_.theme = t5;
_.defaultRowColor = t6;
_.tableColumns = t7;
},
DataTable_build_closure4: function DataTable_build_closure4(t0, t1) {
this.$this = t0;
this.someChecked = t1;
},
DataTable_build_closure5: function DataTable_build_closure5(t0) {
this.row = t0;
},
DataTable_build_closure6: function DataTable_build_closure6(t0, t1, t2) {
this.$this = t0;
this.column = t1;
this.dataColumnIndex = t2;
},
DataTable_build_closure7: function DataTable_build_closure7(t0) {
this.row = t0;
},
TableRowInkWell: function TableRowInkWell(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26) {
var _ = this;
_.child = t0;
_.onTap = t1;
_.onTapDown = t2;
_.onTapCancel = t3;
_.onDoubleTap = t4;
_.onLongPress = t5;
_.onHighlightChanged = t6;
_.onHover = t7;
_.mouseCursor = t8;
_.containedInkWell = t9;
_.highlightShape = t10;
_.radius = t11;
_.borderRadius = t12;
_.customBorder = t13;
_.focusColor = t14;
_.hoverColor = t15;
_.highlightColor = t16;
_.overlayColor = t17;
_.splashColor = t18;
_.splashFactory = t19;
_.enableFeedback = t20;
_.excludeFromSemantics = t21;
_.onFocusChange = t22;
_.autofocus = t23;
_.focusNode = t24;
_.canRequestFocus = t25;
_.key = t26;
},
TableRowInkWell_getRectCallback_closure: function TableRowInkWell_getRectCallback_closure(t0) {
this.referenceBox = t0;
},
_SortArrow: function _SortArrow(t0, t1, t2, t3) {
var _ = this;
_.visible = t0;
_.up = t1;
_.duration = t2;
_.key = t3;
},
_SortArrowState: function _SortArrowState(t0, t1) {
var _ = this;
_.___SortArrowState__orientationAnimation = _.___SortArrowState__orientationController = _.___SortArrowState__opacityAnimation = _.___SortArrowState__opacityController = $;
_._orientationOffset = 0;
_._data_table$_up = null;
_.TickerProviderStateMixin__tickers = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_SortArrowState__rebuild_closure: function _SortArrowState__rebuild_closure() {
},
_NullTableColumnWidth: function _NullTableColumnWidth() {
},
_NullWidget0: function _NullWidget0(t0) {
this.key = t0;
},
__SortArrowState_State_TickerProviderStateMixin: function __SortArrowState_State_TickerProviderStateMixin() {
},
FloatingActionButtonThemeData_lerp: function(a, b, t) {
var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _null = null,
t1 = a == null;
if (t1 && b == null)
return _null;
t2 = t1 ? _null : a.foregroundColor;
t3 = b == null;
t2 = P.Color_lerp(t2, t3 ? _null : b.foregroundColor, t);
t4 = t1 ? _null : a.backgroundColor;
t4 = P.Color_lerp(t4, t3 ? _null : b.backgroundColor, t);
t5 = t1 ? _null : a.focusColor;
t5 = P.Color_lerp(t5, t3 ? _null : b.focusColor, t);
t6 = t1 ? _null : a.hoverColor;
t6 = P.Color_lerp(t6, t3 ? _null : b.hoverColor, t);
t7 = t1 ? _null : a.splashColor;
t7 = P.Color_lerp(t7, t3 ? _null : b.splashColor, t);
t8 = t1 ? _null : a.elevation;
t8 = P.lerpDouble(t8, t3 ? _null : b.elevation, t);
t9 = t1 ? _null : a.focusElevation;
t9 = P.lerpDouble(t9, t3 ? _null : b.focusElevation, t);
t10 = t1 ? _null : a.hoverElevation;
t10 = P.lerpDouble(t10, t3 ? _null : b.hoverElevation, t);
t11 = t1 ? _null : a.disabledElevation;
t11 = P.lerpDouble(t11, t3 ? _null : b.disabledElevation, t);
t12 = t1 ? _null : a.highlightElevation;
t12 = P.lerpDouble(t12, t3 ? _null : b.highlightElevation, t);
t1 = t1 ? _null : a.shape;
return new S.FloatingActionButtonThemeData(t2, t4, t5, t6, t7, t8, t9, t10, t11, t12, Y.ShapeBorder_lerp(t1, t3 ? _null : b.shape, t));
},
FloatingActionButtonThemeData: function FloatingActionButtonThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.foregroundColor = t0;
_.backgroundColor = t1;
_.focusColor = t2;
_.hoverColor = t3;
_.splashColor = t4;
_.elevation = t5;
_.focusElevation = t6;
_.hoverElevation = t7;
_.disabledElevation = t8;
_.highlightElevation = t9;
_.shape = t10;
},
_FloatingActionButtonThemeData_Object_Diagnosticable: function _FloatingActionButtonThemeData_Object_Diagnosticable() {
},
ToggleButtonsThemeData_lerp: function(a, b, t) {
var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, _null = null,
t1 = a == null;
if (t1 && b == null)
return _null;
t2 = t1 ? _null : a.textStyle;
t3 = b == null;
t2 = A.TextStyle_lerp(t2, t3 ? _null : b.textStyle, t);
t4 = t1 ? _null : a.constraints;
t4 = S.BoxConstraints_lerp(t4, t3 ? _null : b.constraints, t);
t5 = t1 ? _null : a.color;
t5 = P.Color_lerp(t5, t3 ? _null : b.color, t);
t6 = t1 ? _null : a.selectedColor;
t6 = P.Color_lerp(t6, t3 ? _null : b.selectedColor, t);
t7 = t1 ? _null : a.disabledColor;
t7 = P.Color_lerp(t7, t3 ? _null : b.disabledColor, t);
t8 = t1 ? _null : a.fillColor;
t8 = P.Color_lerp(t8, t3 ? _null : b.fillColor, t);
t9 = t1 ? _null : a.focusColor;
t9 = P.Color_lerp(t9, t3 ? _null : b.focusColor, t);
t10 = t1 ? _null : a.highlightColor;
t10 = P.Color_lerp(t10, t3 ? _null : b.highlightColor, t);
t11 = t1 ? _null : a.hoverColor;
t11 = P.Color_lerp(t11, t3 ? _null : b.hoverColor, t);
t12 = t1 ? _null : a.splashColor;
t12 = P.Color_lerp(t12, t3 ? _null : b.splashColor, t);
t13 = t1 ? _null : a.borderColor;
t13 = P.Color_lerp(t13, t3 ? _null : b.borderColor, t);
t14 = t1 ? _null : a.selectedBorderColor;
t14 = P.Color_lerp(t14, t3 ? _null : b.selectedBorderColor, t);
t15 = t1 ? _null : a.disabledBorderColor;
t15 = P.Color_lerp(t15, t3 ? _null : b.disabledBorderColor, t);
t16 = t1 ? _null : a.borderRadius;
t16 = K.BorderRadius_lerp(t16, t3 ? _null : b.borderRadius, t);
t1 = t1 ? _null : a.borderWidth;
return new S.ToggleButtonsThemeData(t2, t4, t5, t6, t7, t8, t9, t10, t12, t11, t13, t14, t15, P.lerpDouble(t1, t3 ? _null : b.borderWidth, t), t16);
},
ToggleButtonsTheme_of: function(context) {
var t1;
context.dependOnInheritedWidgetOfExactType$1$0(type$.ToggleButtonsTheme);
t1 = K.Theme_of(context);
return t1.toggleButtonsTheme;
},
ToggleButtonsThemeData: function ToggleButtonsThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
var _ = this;
_.textStyle = t0;
_.constraints = t1;
_.color = t2;
_.selectedColor = t3;
_.disabledColor = t4;
_.fillColor = t5;
_.focusColor = t6;
_.highlightColor = t7;
_.splashColor = t8;
_.hoverColor = t9;
_.borderColor = t10;
_.selectedBorderColor = t11;
_.disabledBorderColor = t12;
_.borderWidth = t13;
_.borderRadius = t14;
},
_ToggleButtonsThemeData_Object_Diagnosticable: function _ToggleButtonsThemeData_Object_Diagnosticable() {
},
Tooltip$: function(child, message) {
return new S.Tooltip(message, child, null);
},
Tooltip: function Tooltip(t0, t1, t2) {
this.message = t0;
this.child = t1;
this.key = t2;
},
_TooltipState: function _TooltipState(t0, t1) {
var _ = this;
_.___TooltipState__controller = _.___TooltipState_excludeFromSemantics = _.___TooltipState_preferBelow = _.___TooltipState_verticalOffset = _.___TooltipState_textStyle = _.___TooltipState_decoration = _.___TooltipState_margin = _.___TooltipState_padding = _.___TooltipState_height = $;
_._showTimer = _._hideTimer = _._tooltip$_entry = null;
_.___TooltipState__mouseIsConnected = _.___TooltipState_waitDuration = _.___TooltipState_showDuration = $;
_._longPressActivated = false;
_.SingleTickerProviderStateMixin__ticker = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_TooltipState__handleMouseTrackerChange_closure: function _TooltipState__handleMouseTrackerChange_closure(t0, t1) {
this.$this = t0;
this.mouseIsConnected = t1;
},
_TooltipState__createNewEntry_closure: function _TooltipState__createNewEntry_closure(t0) {
this.overlay = t0;
},
_TooltipState_build_closure: function _TooltipState_build_closure(t0) {
this.$this = t0;
},
_TooltipState_build_closure0: function _TooltipState_build_closure0(t0) {
this.$this = t0;
},
_TooltipPositionDelegate: function _TooltipPositionDelegate(t0, t1, t2) {
this.target = t0;
this.verticalOffset = t1;
this.preferBelow = t2;
},
_TooltipOverlay: function _TooltipOverlay(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.message = t0;
_.height = t1;
_.padding = t2;
_.margin = t3;
_.decoration = t4;
_.textStyle = t5;
_.animation = t6;
_.target = t7;
_.verticalOffset = t8;
_.preferBelow = t9;
_.key = t10;
},
__TooltipState_State_SingleTickerProviderStateMixin: function __TooltipState_State_SingleTickerProviderStateMixin() {
},
BoxDecoration_lerp: function(a, b, t) {
var t1, t2, t3, t4, t5, t6, t7;
if (t === 0)
return a;
if (t === 1)
return b;
t1 = P.Color_lerp(a.color, b.color, t);
t2 = t < 0.5;
t3 = t2 ? a.image : b.image;
t4 = F.BoxBorder_lerp(a.border, b.border, t);
t5 = K.BorderRadiusGeometry_lerp(a.borderRadius, b.borderRadius, t);
t6 = O.BoxShadow_lerpList(a.boxShadow, b.boxShadow, t);
t7 = T.Gradient_lerp(a.gradient, b.gradient, t);
return new S.BoxDecoration(t1, t3, t4, t5, t6, t7, t2 ? a.shape : b.shape);
},
BoxDecoration: function BoxDecoration(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.color = t0;
_.image = t1;
_.border = t2;
_.borderRadius = t3;
_.boxShadow = t4;
_.gradient = t5;
_.shape = t6;
},
_BoxDecorationPainter: function _BoxDecorationPainter(t0, t1) {
var _ = this;
_._box_decoration$_decoration = t0;
_._box_decoration$_imagePainter = _._rectForCachedBackgroundPaint = _._cachedBackgroundPaint = null;
_.onChanged = t1;
},
BoxConstraints$tight: function(size) {
var t1 = size._dx,
t2 = size._dy;
return new S.BoxConstraints(t1, t1, t2, t2);
},
BoxConstraints$tightFor: function(height, width) {
var t3, t4,
t1 = width == null,
t2 = t1 ? 0 : width;
t1 = t1 ? 1 / 0 : width;
t3 = height == null;
t4 = t3 ? 0 : height;
return new S.BoxConstraints(t2, t1, t4, t3 ? 1 / 0 : height);
},
BoxConstraints$tightForFinite: function(height, width) {
var t3, t4,
t1 = width !== 1 / 0,
t2 = t1 ? width : 0;
t1 = t1 ? width : 1 / 0;
t3 = height !== 1 / 0;
t4 = t3 ? height : 0;
return new S.BoxConstraints(t2, t1, t4, t3 ? height : 1 / 0);
},
BoxConstraints$loose: function(size) {
return new S.BoxConstraints(0, size._dx, 0, size._dy);
},
BoxConstraints_lerp: function(a, b, t) {
var t2, t3, t4,
t1 = a == null;
if (t1 && b == null)
return null;
if (t1)
return b.$mul(0, t);
if (b == null)
return a.$mul(0, 1 - t);
t1 = a.minWidth;
t1.toString;
if (isFinite(t1)) {
t1 = P.lerpDouble(t1, b.minWidth, t);
t1.toString;
} else
t1 = 1 / 0;
t2 = a.maxWidth;
t2.toString;
if (isFinite(t2)) {
t2 = P.lerpDouble(t2, b.maxWidth, t);
t2.toString;
} else
t2 = 1 / 0;
t3 = a.minHeight;
t3.toString;
if (isFinite(t3)) {
t3 = P.lerpDouble(t3, b.minHeight, t);
t3.toString;
} else
t3 = 1 / 0;
t4 = a.maxHeight;
t4.toString;
if (isFinite(t4)) {
t4 = P.lerpDouble(t4, b.maxHeight, t);
t4.toString;
} else
t4 = 1 / 0;
return new S.BoxConstraints(t1, t2, t3, t4);
},
BoxHitTestResult$: function() {
var t1 = H.setRuntimeTypeInfo([], type$.JSArray_HitTestEntry),
t2 = new E.Matrix4(new Float64Array(16));
t2.setIdentity$0();
return new S.BoxHitTestResult(t1, H.setRuntimeTypeInfo([t2], type$.JSArray_Matrix4), H.setRuntimeTypeInfo([], type$.JSArray__TransformPart));
},
BoxHitTestResult$wrap: function(result) {
return new S.BoxHitTestResult(result._hit_test$_path, result._transforms, result._localTransforms);
},
BoxConstraints: function BoxConstraints(t0, t1, t2, t3) {
var _ = this;
_.minWidth = t0;
_.maxWidth = t1;
_.minHeight = t2;
_.maxHeight = t3;
},
BoxConstraints_toString_describe: function BoxConstraints_toString_describe() {
},
BoxHitTestResult: function BoxHitTestResult(t0, t1, t2) {
this._hit_test$_path = t0;
this._transforms = t1;
this._localTransforms = t2;
},
BoxHitTestEntry: function BoxHitTestEntry(t0, t1) {
this.localPosition = t0;
this.target = t1;
this._transform = null;
},
BoxParentData: function BoxParentData(t0) {
this.offset = t0;
},
ContainerBoxParentData: function ContainerBoxParentData() {
},
_IntrinsicDimension: function _IntrinsicDimension(t0) {
this._box$_name = t0;
},
_IntrinsicDimensionsCacheEntry: function _IntrinsicDimensionsCacheEntry(t0, t1) {
this.dimension = t0;
this.argument = t1;
},
RenderBox: function RenderBox() {
},
RenderBox__computeIntrinsicDimension_closure: function RenderBox__computeIntrinsicDimension_closure(t0, t1) {
this.computer = t0;
this.argument = t1;
},
RenderBox_getDryLayout_closure: function RenderBox_getDryLayout_closure(t0, t1) {
this.$this = t0;
this.constraints = t1;
},
RenderBox_getDistanceToActualBaseline_closure: function RenderBox_getDistanceToActualBaseline_closure(t0, t1) {
this.$this = t0;
this.baseline = t1;
},
RenderBoxContainerDefaultsMixin: function RenderBoxContainerDefaultsMixin() {
},
RenderBoxContainerDefaultsMixin_defaultHitTestChildren_closure: function RenderBoxContainerDefaultsMixin_defaultHitTestChildren_closure(t0, t1, t2) {
this._box_0 = t0;
this.position = t1;
this.childParentData = t2;
},
_ContainerBoxParentData_BoxParentData_ContainerParentDataMixin: function _ContainerBoxParentData_BoxParentData_ContainerParentDataMixin() {
},
TableCellParentData: function TableCellParentData(t0) {
var _ = this;
_.y = _.x = _.verticalAlignment = null;
_.offset = t0;
},
TableColumnWidth: function TableColumnWidth() {
},
IntrinsicColumnWidth: function IntrinsicColumnWidth(t0) {
this._flex = t0;
},
FixedColumnWidth: function FixedColumnWidth(t0) {
this.value = t0;
},
FlexColumnWidth: function FlexColumnWidth(t0) {
this.value = t0;
},
TableCellVerticalAlignment: function TableCellVerticalAlignment(t0) {
this._table$_name = t0;
},
RenderTable: function RenderTable(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_._table$_children = t0;
_._table$_columns = t1;
_._rows = t2;
_._columnWidths = t3;
_._defaultColumnWidth = t4;
_._table$_textDirection = t5;
_._table$_border = t6;
_._rowDecorationPainters = _._table$_rowDecorations = null;
_._table$_configuration = t7;
_._defaultVerticalAlignment = t8;
_._table$_textBaseline = t9;
_._baselineDistance = null;
_._rowTops = t10;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = _._columnLefts = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
RenderTable_computeDryLayout_closure: function RenderTable_computeDryLayout_closure() {
},
RenderTable_hitTestChildren_closure: function RenderTable_hitTestChildren_closure(t0, t1, t2) {
this.position = t0;
this.childParentData = t1;
this.child = t2;
},
AlignmentGeometryTween: function AlignmentGeometryTween(t0, t1) {
this.begin = t0;
this.end = t1;
},
WidgetsApp_defaultShortcuts: function() {
var t1 = $.$get$WidgetsApp__defaultWebShortcuts();
return t1;
},
_WidgetsAppState_basicLocaleListResolution: function(preferredLocales, supportedLocales) {
var t1, t2, allSupportedLocales, languageAndCountryLocales, languageAndScriptLocales, languageLocales, countryLocales, _i, locale, t3, t4, t5, matchesCountryCode, matchesLanguageCode, localeIndex, userLocale, match, resolvedLocale, _null = null;
if (preferredLocales == null || preferredLocales.length === 0)
return C.JSArray_methods.get$first(supportedLocales);
t1 = type$.String;
t2 = type$.Locale;
allSupportedLocales = P.HashMap_HashMap(_null, _null, _null, t1, t2);
languageAndCountryLocales = P.HashMap_HashMap(_null, _null, _null, t1, t2);
languageAndScriptLocales = P.HashMap_HashMap(_null, _null, _null, t1, t2);
languageLocales = P.HashMap_HashMap(_null, _null, _null, t1, t2);
countryLocales = P.HashMap_HashMap(_null, _null, _null, type$.nullable_String, t2);
for (t1 = supportedLocales.length, _i = 0; _i < supportedLocales.length; supportedLocales.length === t1 || (0, H.throwConcurrentModificationError)(supportedLocales), ++_i) {
locale = supportedLocales[_i];
t2 = locale._languageCode;
t3 = C.Map_YCOho.$index(0, t2);
t3 = H.S(t3 == null ? t2 : t3) + "_null_";
t4 = locale._countryCode;
t5 = C.Map_0Agg9.$index(0, t4);
t3 += H.S(t5 == null ? t4 : t5);
if (allSupportedLocales.$index(0, t3) == null)
allSupportedLocales.$indexSet(0, t3, locale);
t3 = C.Map_YCOho.$index(0, t2);
t3 = H.S(t3 == null ? t2 : t3) + "_null";
if (languageAndScriptLocales.$index(0, t3) == null)
languageAndScriptLocales.$indexSet(0, t3, locale);
t3 = C.Map_YCOho.$index(0, t2);
t3 = H.S(t3 == null ? t2 : t3) + "_";
t5 = C.Map_0Agg9.$index(0, t4);
t3 += H.S(t5 == null ? t4 : t5);
if (languageAndCountryLocales.$index(0, t3) == null)
languageAndCountryLocales.$indexSet(0, t3, locale);
t3 = C.Map_YCOho.$index(0, t2);
t2 = t3 == null ? t2 : t3;
if (languageLocales.$index(0, t2) == null)
languageLocales.$indexSet(0, t2, locale);
t2 = C.Map_0Agg9.$index(0, t4);
if (t2 == null)
t2 = t4;
if (countryLocales.$index(0, t2) == null)
countryLocales.$indexSet(0, t2, locale);
}
for (matchesCountryCode = _null, matchesLanguageCode = matchesCountryCode, localeIndex = 0; localeIndex < preferredLocales.length; ++localeIndex) {
userLocale = preferredLocales[localeIndex];
t1 = userLocale._languageCode;
t2 = C.Map_YCOho.$index(0, t1);
t2 = H.S(t2 == null ? t1 : t2) + "_null_";
t3 = userLocale._countryCode;
t4 = C.Map_0Agg9.$index(0, t3);
if (allSupportedLocales.containsKey$1(0, t2 + H.S(t4 == null ? t3 : t4)))
return userLocale;
t2 = C.Map_0Agg9.$index(0, t3);
if ((t2 == null ? t3 : t2) != null) {
t2 = C.Map_YCOho.$index(0, t1);
t2 = H.S(t2 == null ? t1 : t2) + "_";
t4 = C.Map_0Agg9.$index(0, t3);
match = languageAndCountryLocales.$index(0, t2 + H.S(t4 == null ? t3 : t4));
if (match != null)
return match;
}
if (matchesLanguageCode != null)
return matchesLanguageCode;
t2 = C.Map_YCOho.$index(0, t1);
match = languageLocales.$index(0, t2 == null ? t1 : t2);
if (match != null) {
if (localeIndex === 0) {
t2 = localeIndex + 1;
if (t2 < preferredLocales.length) {
t2 = preferredLocales[t2]._languageCode;
t4 = C.Map_YCOho.$index(0, t2);
t2 = t4 == null ? t2 : t4;
t4 = C.Map_YCOho.$index(0, t1);
t1 = t2 == (t4 == null ? t1 : t4);
} else
t1 = false;
t1 = !t1;
} else
t1 = false;
if (t1)
return match;
matchesLanguageCode = match;
}
if (matchesCountryCode == null) {
t1 = C.Map_0Agg9.$index(0, t3);
t1 = (t1 == null ? t3 : t1) != null;
} else
t1 = false;
if (t1) {
t1 = C.Map_0Agg9.$index(0, t3);
match = countryLocales.$index(0, t1 == null ? t3 : t1);
if (match != null)
matchesCountryCode = match;
}
}
resolvedLocale = matchesLanguageCode == null ? matchesCountryCode : matchesLanguageCode;
return resolvedLocale == null ? C.JSArray_methods.get$first(supportedLocales) : resolvedLocale;
},
WidgetsApp: function WidgetsApp(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32) {
var _ = this;
_.navigatorKey = t0;
_.onGenerateRoute = t1;
_.onGenerateInitialRoutes = t2;
_.pageRouteBuilder = t3;
_.routeInformationParser = t4;
_.routerDelegate = t5;
_.backButtonDispatcher = t6;
_.routeInformationProvider = t7;
_.home = t8;
_.routes = t9;
_.onUnknownRoute = t10;
_.initialRoute = t11;
_.navigatorObservers = t12;
_.builder = t13;
_.title = t14;
_.onGenerateTitle = t15;
_.textStyle = t16;
_.color = t17;
_.locale = t18;
_.localizationsDelegates = t19;
_.localeListResolutionCallback = t20;
_.localeResolutionCallback = t21;
_.supportedLocales = t22;
_.showPerformanceOverlay = t23;
_.checkerboardRasterCacheImages = t24;
_.checkerboardOffscreenLayers = t25;
_.showSemanticsDebugger = t26;
_.inspectorSelectButtonBuilder = t27;
_.debugShowCheckedModeBanner = t28;
_.shortcuts = t29;
_.actions = t30;
_.restorationScopeId = t31;
_.key = t32;
},
_WidgetsAppState: function _WidgetsAppState(t0) {
var _ = this;
_._widget = _._app$_locale = _._navigator = _._defaultRouteInformationProvider = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_WidgetsAppState__onGenerateRoute_closure: function _WidgetsAppState__onGenerateRoute_closure(t0) {
this.$this = t0;
},
_WidgetsAppState_didChangeLocales_closure: function _WidgetsAppState_didChangeLocales_closure(t0, t1) {
this.$this = t0;
this.newLocale = t1;
},
_WidgetsAppState_build_closure: function _WidgetsAppState_build_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_MediaQueryFromWindow: function _MediaQueryFromWindow(t0, t1) {
this.child = t0;
this.key = t1;
},
_MediaQueryFromWindowsState: function _MediaQueryFromWindowsState(t0) {
this._widget = null;
this._debugLifecycleState = t0;
this._framework$_element = null;
},
_MediaQueryFromWindowsState_didChangeMetrics_closure: function _MediaQueryFromWindowsState_didChangeMetrics_closure() {
},
_MediaQueryFromWindowsState_didChangePlatformBrightness_closure: function _MediaQueryFromWindowsState_didChangePlatformBrightness_closure() {
},
__MediaQueryFromWindowsState_State_WidgetsBindingObserver: function __MediaQueryFromWindowsState_State_WidgetsBindingObserver() {
},
__WidgetsAppState_State_WidgetsBindingObserver: function __WidgetsAppState_State_WidgetsBindingObserver() {
},
RawAutocomplete: function RawAutocomplete(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.fieldViewBuilder = t0;
_.focusNode = t1;
_.optionsViewBuilder = t2;
_.displayStringForOption = t3;
_.onSelected = t4;
_.optionsBuilder = t5;
_.textEditingController = t6;
_.key = t7;
_.$ti = t8;
},
_RawAutocompleteState: function _RawAutocompleteState(t0, t1, t2, t3, t4) {
var _ = this;
_._fieldKey = t0;
_._optionsLayerLink = t1;
_.___RawAutocompleteState__focusNode = _.___RawAutocompleteState__textEditingController = $;
_._autocomplete$_options = t2;
_._widget = _._floatingOptions = _._autocomplete$_selection = null;
_._debugLifecycleState = t3;
_._framework$_element = null;
_.$ti = t4;
},
_RawAutocompleteState__updateOverlay_closure: function _RawAutocompleteState__updateOverlay_closure(t0) {
this.$this = t0;
},
_RawAutocompleteState_initState_closure: function _RawAutocompleteState_initState_closure(t0) {
this.$this = t0;
},
_RawAutocompleteState_didUpdateWidget_closure: function _RawAutocompleteState_didUpdateWidget_closure(t0) {
this.$this = t0;
},
_InheritedResetNotifier_shouldReset: function(context) {
var t1, wasCalled,
widget = context.dependOnInheritedWidgetOfExactType$1$0(type$._InheritedResetNotifier);
if (widget == null)
return false;
t1 = widget.notifier;
wasCalled = t1._wasCalled;
t1._wasCalled = false;
return wasCalled;
},
DraggableScrollableSheet: function DraggableScrollableSheet(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.initialChildSize = t0;
_.minChildSize = t1;
_.maxChildSize = t2;
_.expand = t3;
_.builder = t4;
_.key = t5;
},
DraggableScrollableNotification: function DraggableScrollableNotification(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.extent = t0;
_.minExtent = t1;
_.maxExtent = t2;
_.initialExtent = t3;
_.context = t4;
_.ViewportNotificationMixin__depth = t5;
},
_DraggableSheetExtent: function _DraggableSheetExtent(t0, t1, t2, t3, t4) {
var _ = this;
_.minExtent = t0;
_.maxExtent = t1;
_.initialExtent = t2;
_._currentExtent = t3;
_.availablePixels = t4;
},
_DraggableScrollableSheetState: function _DraggableScrollableSheetState(t0) {
var _ = this;
_.___DraggableScrollableSheetState__extent = _.___DraggableScrollableSheetState__scrollController = $;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_DraggableScrollableSheetState__setExtent_closure: function _DraggableScrollableSheetState__setExtent_closure() {
},
_DraggableScrollableSheetState_build_closure: function _DraggableScrollableSheetState_build_closure(t0) {
this.$this = t0;
},
_DraggableScrollableSheetScrollController: function _DraggableScrollableSheetScrollController(t0, t1, t2, t3, t4) {
var _ = this;
_.extent = t0;
_._initialScrollOffset = t1;
_.debugLabel = t2;
_._positions = t3;
_.ChangeNotifier__listeners = t4;
},
_DraggableScrollableSheetScrollPosition: function _DraggableScrollableSheetScrollPosition(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._dragCancelCallback = null;
_.extent = t0;
_._heldPreviousVelocity = 0;
_._userScrollDirection = t1;
_._currentDrag = null;
_.physics = t2;
_.context = t3;
_.keepScrollOffset = t4;
_.debugLabel = t5;
_._maxScrollExtent = _._minScrollExtent = null;
_._impliedVelocity = 0;
_._viewportDimension = _._pixels = null;
_._haveDimensions = false;
_._didChangeViewportDimensionOrReceiveCorrection = true;
_._pendingDimensions = false;
_._semanticActions = _._scroll_position$_lastMetrics = null;
_.isScrollingNotifier = t6;
_._activity = null;
_.ChangeNotifier__listeners = t7;
},
_DraggableScrollableSheetScrollPosition_goBallistic__tick: function _DraggableScrollableSheetScrollPosition_goBallistic__tick(t0, t1, t2) {
this._box_0 = t0;
this.$this = t1;
this.ballisticController = t2;
},
_DraggableScrollableNotification_Notification_ViewportNotificationMixin: function _DraggableScrollableNotification_Notification_ViewportNotificationMixin() {
},
InheritedNotifier: function InheritedNotifier() {
},
_InheritedNotifierElement: function _InheritedNotifierElement(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._inherited_notifier$_dirty = false;
_._dependents = t0;
_._framework$_parent = _._framework$_child = null;
_._cachedHash = t1;
_._slot = null;
_.__Element__depth = $;
_._widget = t2;
_._owner = null;
_._lifecycleState = t3;
_._debugForgottenChildrenWithGlobalKey = t4;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
_.$ti = t5;
},
PageStorageBucket__maybeAddKey: function(context, keys) {
var widget = context.get$widget();
widget.toString;
return !(widget instanceof S.PageStorage);
},
PageStorage_of: function(context) {
var widget = context.findAncestorWidgetOfExactType$1$0(type$.PageStorage);
return widget == null ? null : widget.bucket;
},
_StorageEntryIdentifier: function _StorageEntryIdentifier(t0) {
this.keys = t0;
},
PageStorageBucket: function PageStorageBucket() {
this._storage = null;
},
PageStorageBucket__allKeys_closure: function PageStorageBucket__allKeys_closure(t0) {
this.keys = t0;
},
PageStorage: function PageStorage(t0, t1, t2) {
this.child = t0;
this.bucket = t1;
this.key = t2;
},
Table$: function(children, columnWidths, defaultColumnWidth, defaultVerticalAlignment, key) {
var t1;
if (C.JSArray_methods.any$1(children, new S.Table_closure())) {
t1 = H._arrayInstanceType(children)._eval$1("MappedListIterable<1,Decoration?>");
t1 = P.List_List$of(new H.MappedListIterable(children, new S.Table_closure0(), t1), false, t1._eval$1("ListIterable.E"));
} else
t1 = null;
return new S.Table(children, columnWidths, defaultColumnWidth, defaultVerticalAlignment, t1, key);
},
TableCell$: function(child, verticalAlignment) {
return new S.TableCell(verticalAlignment, child, null);
},
TableRow: function TableRow(t0, t1, t2) {
this.key = t0;
this.decoration = t1;
this.children = t2;
},
_TableElementRow: function _TableElementRow(t0, t1) {
this.key = t0;
this.children = t1;
},
Table: function Table(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.children = t0;
_.columnWidths = t1;
_.defaultColumnWidth = t2;
_.defaultVerticalAlignment = t3;
_._rowDecorations = t4;
_.key = t5;
},
Table_closure: function Table_closure() {
},
Table_closure0: function Table_closure0() {
},
_TableElement: function _TableElement(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._table0$_children = t0;
_._doingMountOrUpdate = false;
_._table0$_forgottenChildren = t1;
_._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null;
_._cachedHash = t2;
_._slot = null;
_.__Element__depth = $;
_._widget = t3;
_._owner = null;
_._lifecycleState = t4;
_._debugForgottenChildrenWithGlobalKey = t5;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
},
_TableElement_mount_closure: function _TableElement_mount_closure(t0, t1) {
this._box_1 = t0;
this.$this = t1;
},
_TableElement_mount__closure: function _TableElement_mount__closure(t0, t1, t2) {
this._box_0 = t0;
this._box_1 = t1;
this.$this = t2;
},
_TableElement_update_closure: function _TableElement_update_closure() {
},
_TableElement_update_closure0: function _TableElement_update_closure0(t0) {
this.taken = t0;
},
_TableElement__updateRenderObjectChildren_closure: function _TableElement__updateRenderObjectChildren_closure() {
},
_TableElement__updateRenderObjectChildren__closure: function _TableElement__updateRenderObjectChildren__closure() {
},
_TableElement_visitChildren_closure: function _TableElement_visitChildren_closure() {
},
TableCell: function TableCell(t0, t1, t2) {
this.verticalAlignment = t0;
this.child = t1;
this.key = t2;
},
_TableSlot: function _TableSlot(t0, t1) {
this.column = t0;
this.row = t1;
},
__TableSlot_Object_Diagnosticable: function __TableSlot_Object_Diagnosticable() {
},
CupertinoLocalizationDe$: function(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) {
return new S.CupertinoLocalizationDe();
},
CupertinoLocalizationEn$: function(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) {
return new S.CupertinoLocalizationEn();
},
CupertinoLocalizationEs$: function(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) {
return new S.CupertinoLocalizationEs();
},
CupertinoLocalizationFr$: function(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) {
return new S.CupertinoLocalizationFr();
},
CupertinoLocalizationPt$: function(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) {
return new S.CupertinoLocalizationPt();
},
CupertinoLocalizationSr$: function(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) {
return new S.CupertinoLocalizationSr();
},
CupertinoLocalizationZh$: function(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) {
return new S.CupertinoLocalizationZh();
},
CupertinoLocalizationZhHant$: function(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) {
return new S.CupertinoLocalizationZhHant();
},
CupertinoLocalizationZhHantHk$: function(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) {
return new S.CupertinoLocalizationZhHantHk();
},
CupertinoLocalizationZhHantTw$: function(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) {
return new S.CupertinoLocalizationZhHantTw();
},
getCupertinoTranslation: function(locale, fullYearFormat, dayFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, doubleDigitMinuteFormat, singleDigitSecondFormat, decimalFormat) {
switch (locale.get$languageCode(locale)) {
case "af":
return new S.CupertinoLocalizationAf();
case "am":
return new S.CupertinoLocalizationAm();
case "ar":
return new S.CupertinoLocalizationAr();
case "as":
return new S.CupertinoLocalizationAs();
case "az":
return new S.CupertinoLocalizationAz();
case "be":
return new S.CupertinoLocalizationBe();
case "bg":
return new S.CupertinoLocalizationBg();
case "bn":
return new S.CupertinoLocalizationBn();
case "bs":
return new S.CupertinoLocalizationBs();
case "ca":
return new S.CupertinoLocalizationCa();
case "cs":
return new S.CupertinoLocalizationCs();
case "da":
return new S.CupertinoLocalizationDa();
case "de":
switch (locale.get$countryCode()) {
case "CH":
return new S.CupertinoLocalizationDeCh();
}
return S.CupertinoLocalizationDe$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "de", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat);
case "el":
return new S.CupertinoLocalizationEl();
case "en":
switch (locale.get$countryCode()) {
case "AU":
return new S.CupertinoLocalizationEnAu();
case "CA":
return new S.CupertinoLocalizationEnCa();
case "GB":
return new S.CupertinoLocalizationEnGb();
case "IE":
return new S.CupertinoLocalizationEnIe();
case "IN":
return new S.CupertinoLocalizationEnIn();
case "NZ":
return new S.CupertinoLocalizationEnNz();
case "SG":
return new S.CupertinoLocalizationEnSg();
case "ZA":
return new S.CupertinoLocalizationEnZa();
}
return S.CupertinoLocalizationEn$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "en", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat);
case "es":
switch (locale.get$countryCode()) {
case "419":
return new S.CupertinoLocalizationEs419();
case "AR":
return new S.CupertinoLocalizationEsAr();
case "BO":
return new S.CupertinoLocalizationEsBo();
case "CL":
return new S.CupertinoLocalizationEsCl();
case "CO":
return new S.CupertinoLocalizationEsCo();
case "CR":
return new S.CupertinoLocalizationEsCr();
case "DO":
return new S.CupertinoLocalizationEsDo();
case "EC":
return new S.CupertinoLocalizationEsEc();
case "GT":
return new S.CupertinoLocalizationEsGt();
case "HN":
return new S.CupertinoLocalizationEsHn();
case "MX":
return new S.CupertinoLocalizationEsMx();
case "NI":
return new S.CupertinoLocalizationEsNi();
case "PA":
return new S.CupertinoLocalizationEsPa();
case "PE":
return new S.CupertinoLocalizationEsPe();
case "PR":
return new S.CupertinoLocalizationEsPr();
case "PY":
return new S.CupertinoLocalizationEsPy();
case "SV":
return new S.CupertinoLocalizationEsSv();
case "US":
return new S.CupertinoLocalizationEsUs();
case "UY":
return new S.CupertinoLocalizationEsUy();
case "VE":
return new S.CupertinoLocalizationEsVe();
}
return S.CupertinoLocalizationEs$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "es", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat);
case "et":
return new S.CupertinoLocalizationEt();
case "eu":
return new S.CupertinoLocalizationEu();
case "fa":
return new S.CupertinoLocalizationFa();
case "fi":
return new S.CupertinoLocalizationFi();
case "fil":
return new S.CupertinoLocalizationFil();
case "fr":
switch (locale.get$countryCode()) {
case "CA":
return new S.CupertinoLocalizationFrCa();
}
return S.CupertinoLocalizationFr$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "fr", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat);
case "gl":
return new S.CupertinoLocalizationGl();
case "gsw":
return new S.CupertinoLocalizationGsw();
case "gu":
return new S.CupertinoLocalizationGu();
case "he":
return new S.CupertinoLocalizationHe();
case "hi":
return new S.CupertinoLocalizationHi();
case "hr":
return new S.CupertinoLocalizationHr();
case "hu":
return new S.CupertinoLocalizationHu();
case "hy":
return new S.CupertinoLocalizationHy();
case "id":
return new S.CupertinoLocalizationId();
case "is":
return new S.CupertinoLocalizationIs();
case "it":
return new S.CupertinoLocalizationIt();
case "ja":
return new S.CupertinoLocalizationJa();
case "ka":
return new S.CupertinoLocalizationKa();
case "kk":
return new S.CupertinoLocalizationKk();
case "km":
return new S.CupertinoLocalizationKm();
case "kn":
return new S.CupertinoLocalizationKn();
case "ko":
return new S.CupertinoLocalizationKo();
case "ky":
return new S.CupertinoLocalizationKy();
case "lo":
return new S.CupertinoLocalizationLo();
case "lt":
return new S.CupertinoLocalizationLt();
case "lv":
return new S.CupertinoLocalizationLv();
case "mk":
return new S.CupertinoLocalizationMk();
case "ml":
return new S.CupertinoLocalizationMl();
case "mn":
return new S.CupertinoLocalizationMn();
case "mr":
return new S.CupertinoLocalizationMr();
case "ms":
return new S.CupertinoLocalizationMs();
case "my":
return new S.CupertinoLocalizationMy();
case "nb":
return new S.CupertinoLocalizationNb();
case "ne":
return new S.CupertinoLocalizationNe();
case "nl":
return new S.CupertinoLocalizationNl();
case "no":
return new S.CupertinoLocalizationNo();
case "or":
return new S.CupertinoLocalizationOr();
case "pa":
return new S.CupertinoLocalizationPa();
case "pl":
return new S.CupertinoLocalizationPl();
case "pt":
switch (locale.get$countryCode()) {
case "PT":
return new S.CupertinoLocalizationPtPt();
}
return S.CupertinoLocalizationPt$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "pt", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat);
case "ro":
return new S.CupertinoLocalizationRo();
case "ru":
return new S.CupertinoLocalizationRu();
case "si":
return new S.CupertinoLocalizationSi();
case "sk":
return new S.CupertinoLocalizationSk();
case "sl":
return new S.CupertinoLocalizationSl();
case "sq":
return new S.CupertinoLocalizationSq();
case "sr":
switch (null) {
case "Cyrl":
return new S.CupertinoLocalizationSrCyrl();
case "Latn":
return new S.CupertinoLocalizationSrLatn();
}
return S.CupertinoLocalizationSr$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "sr", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat);
case "sv":
return new S.CupertinoLocalizationSv();
case "sw":
return new S.CupertinoLocalizationSw();
case "ta":
return new S.CupertinoLocalizationTa();
case "te":
return new S.CupertinoLocalizationTe();
case "th":
return new S.CupertinoLocalizationTh();
case "tl":
return new S.CupertinoLocalizationTl();
case "tr":
return new S.CupertinoLocalizationTr();
case "uk":
return new S.CupertinoLocalizationUk();
case "ur":
return new S.CupertinoLocalizationUr();
case "uz":
return new S.CupertinoLocalizationUz();
case "vi":
return new S.CupertinoLocalizationVi();
case "zh":
switch (null) {
case "Hans":
return new S.CupertinoLocalizationZhHans();
case "Hant":
switch (locale.get$countryCode()) {
case "HK":
return S.CupertinoLocalizationZhHantHk$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat);
case "TW":
return S.CupertinoLocalizationZhHantTw$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat);
}
return S.CupertinoLocalizationZhHant$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "zh_Hant", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat);
}
switch (locale.get$countryCode()) {
case "HK":
return S.CupertinoLocalizationZhHantHk$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat);
case "TW":
return S.CupertinoLocalizationZhHantTw$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat);
}
return S.CupertinoLocalizationZh$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "zh", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat);
case "zu":
return new S.CupertinoLocalizationZu();
}
return null;
},
CupertinoLocalizationAf: function CupertinoLocalizationAf() {
},
CupertinoLocalizationAm: function CupertinoLocalizationAm() {
},
CupertinoLocalizationAr: function CupertinoLocalizationAr() {
},
CupertinoLocalizationAs: function CupertinoLocalizationAs() {
},
CupertinoLocalizationAz: function CupertinoLocalizationAz() {
},
CupertinoLocalizationBe: function CupertinoLocalizationBe() {
},
CupertinoLocalizationBg: function CupertinoLocalizationBg() {
},
CupertinoLocalizationBn: function CupertinoLocalizationBn() {
},
CupertinoLocalizationBs: function CupertinoLocalizationBs() {
},
CupertinoLocalizationCa: function CupertinoLocalizationCa() {
},
CupertinoLocalizationCs: function CupertinoLocalizationCs() {
},
CupertinoLocalizationDa: function CupertinoLocalizationDa() {
},
CupertinoLocalizationDe: function CupertinoLocalizationDe() {
},
CupertinoLocalizationDeCh: function CupertinoLocalizationDeCh() {
},
CupertinoLocalizationEl: function CupertinoLocalizationEl() {
},
CupertinoLocalizationEn: function CupertinoLocalizationEn() {
},
CupertinoLocalizationEnAu: function CupertinoLocalizationEnAu() {
},
CupertinoLocalizationEnCa: function CupertinoLocalizationEnCa() {
},
CupertinoLocalizationEnGb: function CupertinoLocalizationEnGb() {
},
CupertinoLocalizationEnIe: function CupertinoLocalizationEnIe() {
},
CupertinoLocalizationEnIn: function CupertinoLocalizationEnIn() {
},
CupertinoLocalizationEnNz: function CupertinoLocalizationEnNz() {
},
CupertinoLocalizationEnSg: function CupertinoLocalizationEnSg() {
},
CupertinoLocalizationEnZa: function CupertinoLocalizationEnZa() {
},
CupertinoLocalizationEs: function CupertinoLocalizationEs() {
},
CupertinoLocalizationEs419: function CupertinoLocalizationEs419() {
},
CupertinoLocalizationEsAr: function CupertinoLocalizationEsAr() {
},
CupertinoLocalizationEsBo: function CupertinoLocalizationEsBo() {
},
CupertinoLocalizationEsCl: function CupertinoLocalizationEsCl() {
},
CupertinoLocalizationEsCo: function CupertinoLocalizationEsCo() {
},
CupertinoLocalizationEsCr: function CupertinoLocalizationEsCr() {
},
CupertinoLocalizationEsDo: function CupertinoLocalizationEsDo() {
},
CupertinoLocalizationEsEc: function CupertinoLocalizationEsEc() {
},
CupertinoLocalizationEsGt: function CupertinoLocalizationEsGt() {
},
CupertinoLocalizationEsHn: function CupertinoLocalizationEsHn() {
},
CupertinoLocalizationEsMx: function CupertinoLocalizationEsMx() {
},
CupertinoLocalizationEsNi: function CupertinoLocalizationEsNi() {
},
CupertinoLocalizationEsPa: function CupertinoLocalizationEsPa() {
},
CupertinoLocalizationEsPe: function CupertinoLocalizationEsPe() {
},
CupertinoLocalizationEsPr: function CupertinoLocalizationEsPr() {
},
CupertinoLocalizationEsPy: function CupertinoLocalizationEsPy() {
},
CupertinoLocalizationEsSv: function CupertinoLocalizationEsSv() {
},
CupertinoLocalizationEsUs: function CupertinoLocalizationEsUs() {
},
CupertinoLocalizationEsUy: function CupertinoLocalizationEsUy() {
},
CupertinoLocalizationEsVe: function CupertinoLocalizationEsVe() {
},
CupertinoLocalizationEt: function CupertinoLocalizationEt() {
},
CupertinoLocalizationEu: function CupertinoLocalizationEu() {
},
CupertinoLocalizationFa: function CupertinoLocalizationFa() {
},
CupertinoLocalizationFi: function CupertinoLocalizationFi() {
},
CupertinoLocalizationFil: function CupertinoLocalizationFil() {
},
CupertinoLocalizationFr: function CupertinoLocalizationFr() {
},
CupertinoLocalizationFrCa: function CupertinoLocalizationFrCa() {
},
CupertinoLocalizationGl: function CupertinoLocalizationGl() {
},
CupertinoLocalizationGsw: function CupertinoLocalizationGsw() {
},
CupertinoLocalizationGu: function CupertinoLocalizationGu() {
},
CupertinoLocalizationHe: function CupertinoLocalizationHe() {
},
CupertinoLocalizationHi: function CupertinoLocalizationHi() {
},
CupertinoLocalizationHr: function CupertinoLocalizationHr() {
},
CupertinoLocalizationHu: function CupertinoLocalizationHu() {
},
CupertinoLocalizationHy: function CupertinoLocalizationHy() {
},
CupertinoLocalizationId: function CupertinoLocalizationId() {
},
CupertinoLocalizationIs: function CupertinoLocalizationIs() {
},
CupertinoLocalizationIt: function CupertinoLocalizationIt() {
},
CupertinoLocalizationJa: function CupertinoLocalizationJa() {
},
CupertinoLocalizationKa: function CupertinoLocalizationKa() {
},
CupertinoLocalizationKk: function CupertinoLocalizationKk() {
},
CupertinoLocalizationKm: function CupertinoLocalizationKm() {
},
CupertinoLocalizationKn: function CupertinoLocalizationKn() {
},
CupertinoLocalizationKo: function CupertinoLocalizationKo() {
},
CupertinoLocalizationKy: function CupertinoLocalizationKy() {
},
CupertinoLocalizationLo: function CupertinoLocalizationLo() {
},
CupertinoLocalizationLt: function CupertinoLocalizationLt() {
},
CupertinoLocalizationLv: function CupertinoLocalizationLv() {
},
CupertinoLocalizationMk: function CupertinoLocalizationMk() {
},
CupertinoLocalizationMl: function CupertinoLocalizationMl() {
},
CupertinoLocalizationMn: function CupertinoLocalizationMn() {
},
CupertinoLocalizationMr: function CupertinoLocalizationMr() {
},
CupertinoLocalizationMs: function CupertinoLocalizationMs() {
},
CupertinoLocalizationMy: function CupertinoLocalizationMy() {
},
CupertinoLocalizationNb: function CupertinoLocalizationNb() {
},
CupertinoLocalizationNe: function CupertinoLocalizationNe() {
},
CupertinoLocalizationNl: function CupertinoLocalizationNl() {
},
CupertinoLocalizationNo: function CupertinoLocalizationNo() {
},
CupertinoLocalizationOr: function CupertinoLocalizationOr() {
},
CupertinoLocalizationPa: function CupertinoLocalizationPa() {
},
CupertinoLocalizationPl: function CupertinoLocalizationPl() {
},
CupertinoLocalizationPt: function CupertinoLocalizationPt() {
},
CupertinoLocalizationPtPt: function CupertinoLocalizationPtPt() {
},
CupertinoLocalizationRo: function CupertinoLocalizationRo() {
},
CupertinoLocalizationRu: function CupertinoLocalizationRu() {
},
CupertinoLocalizationSi: function CupertinoLocalizationSi() {
},
CupertinoLocalizationSk: function CupertinoLocalizationSk() {
},
CupertinoLocalizationSl: function CupertinoLocalizationSl() {
},
CupertinoLocalizationSq: function CupertinoLocalizationSq() {
},
CupertinoLocalizationSr: function CupertinoLocalizationSr() {
},
CupertinoLocalizationSrCyrl: function CupertinoLocalizationSrCyrl() {
},
CupertinoLocalizationSrLatn: function CupertinoLocalizationSrLatn() {
},
CupertinoLocalizationSv: function CupertinoLocalizationSv() {
},
CupertinoLocalizationSw: function CupertinoLocalizationSw() {
},
CupertinoLocalizationTa: function CupertinoLocalizationTa() {
},
CupertinoLocalizationTe: function CupertinoLocalizationTe() {
},
CupertinoLocalizationTh: function CupertinoLocalizationTh() {
},
CupertinoLocalizationTl: function CupertinoLocalizationTl() {
},
CupertinoLocalizationTr: function CupertinoLocalizationTr() {
},
CupertinoLocalizationUk: function CupertinoLocalizationUk() {
},
CupertinoLocalizationUr: function CupertinoLocalizationUr() {
},
CupertinoLocalizationUz: function CupertinoLocalizationUz() {
},
CupertinoLocalizationVi: function CupertinoLocalizationVi() {
},
CupertinoLocalizationZh: function CupertinoLocalizationZh() {
},
CupertinoLocalizationZhHans: function CupertinoLocalizationZhHans() {
},
CupertinoLocalizationZhHant: function CupertinoLocalizationZhHant() {
},
CupertinoLocalizationZhHantHk: function CupertinoLocalizationZhHantHk() {
},
CupertinoLocalizationZhHantTw: function CupertinoLocalizationZhHantTw() {
},
CupertinoLocalizationZu: function CupertinoLocalizationZu() {
},
DateBuilder: function DateBuilder(t0, t1) {
var _ = this;
_.year = 1970;
_.day = _.month = 1;
_.fractionalSecond = _.second = _.minute = _.hour = _.dayOfYear = 0;
_._hasAmbiguousCentury = _.utc = _.pm = false;
_._date_builder$_locale = t0;
_._date_builder$_date = null;
_._retried = 0;
_.dateOnly = false;
_._dateTimeConstructor = t1;
},
NumberFormat_NumberFormat: function(newPattern, locale) {
return S.NumberFormat_NumberFormat$_forPattern(locale, new S.NumberFormat_NumberFormat_closure(newPattern));
},
NumberFormat_NumberFormat$decimalPattern: function(locale) {
return S.NumberFormat_NumberFormat$_forPattern(locale, new S.NumberFormat_NumberFormat$decimalPattern_closure());
},
NumberFormat_NumberFormat$_forPattern: function(locale, getPattern) {
var symbols, localeZero, t2, $name, pattern, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18,
t1 = X.verifiedLocale(locale, S.number_format_NumberFormat_localeExists$closure(), null);
t1.toString;
symbols = $.$get$numberFormatSymbols().$index(0, t1);
localeZero = C.JSString_methods._codeUnitAt$1(symbols.ZERO_DIGIT, 0);
t2 = $.$get$asciiZeroCodeUnit();
$name = symbols.DEF_CURRENCY_CODE;
pattern = getPattern.call$1(symbols);
t3 = symbols.MINUS_SIGN;
if (pattern == null)
t3 = new Q.NumberFormatParseResult(t3, null);
else {
t3 = new Q.NumberFormatParseResult(t3, null);
t4 = new K.StringIterator(pattern);
t4.moveNext$0();
new Q.NumberFormatParser(symbols, t4, false, $name, $name, t3)._parse$0();
}
t4 = t3.positivePrefix;
t5 = t3.negativePrefix;
t6 = t3.positiveSuffix;
t7 = t3.negativeSuffix;
t8 = t3.multiplier;
t9 = C.JSNumber_methods.round$0(Math.log(t8) / $.$get$_ln10());
t10 = t3.useExponentialNotation;
t11 = t3.minimumExponentDigits;
t12 = t3.maximumIntegerDigits;
t13 = t3.minimumIntegerDigits;
t14 = t3.maximumFractionDigits;
t15 = t3.minimumFractionDigits;
t16 = t3.groupingSize;
t17 = t3.finalGroupingSize;
t18 = t3.useSignForPositiveExponent;
return new S.NumberFormat(t5, t4, t7, t6, t16, t17, t3.decimalSeparatorAlwaysShown, t18, t10, t12, t13, t14, t15, t11, t8, t9, pattern, t1, symbols, new P.StringBuffer(""), localeZero - t2);
},
NumberFormat_localeExists: function(localeName) {
if (localeName == null)
return false;
return $.$get$numberFormatSymbols().containsKey$1(0, localeName);
},
NumberFormat: function NumberFormat(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) {
var _ = this;
_.negativePrefix = t0;
_.positivePrefix = t1;
_.negativeSuffix = t2;
_.positiveSuffix = t3;
_._groupingSize = t4;
_._finalGroupingSize = t5;
_._decimalSeparatorAlwaysShown = t6;
_._useSignForPositiveExponent = t7;
_._useExponentialNotation = t8;
_.maximumIntegerDigits = t9;
_.minimumIntegerDigits = t10;
_.maximumFractionDigits = t11;
_.minimumFractionDigits = t12;
_.minimumExponentDigits = t13;
_.multiplier = t14;
_._multiplierDigits = t15;
_._number_format$_pattern = t16;
_._number_format$_locale = t17;
_._symbols = t18;
_._number_format$_buffer = t19;
_._zeroOffset = t20;
},
NumberFormat_NumberFormat_closure: function NumberFormat_NumberFormat_closure(t0) {
this.newPattern = t0;
},
NumberFormat_NumberFormat$decimalPattern_closure: function NumberFormat_NumberFormat$decimalPattern_closure() {
},
FileStorage: function FileStorage(t0) {
this.tag = t0;
},
PaymentTypeListResponse: function PaymentTypeListResponse() {
},
PaymentTypeItemResponse: function PaymentTypeItemResponse() {
},
PaymentTypeEntity: function PaymentTypeEntity() {
},
_$PaymentTypeListResponseSerializer: function _$PaymentTypeListResponseSerializer() {
},
_$PaymentTypeItemResponseSerializer: function _$PaymentTypeItemResponseSerializer() {
},
_$PaymentTypeEntitySerializer: function _$PaymentTypeEntitySerializer() {
},
_$PaymentTypeListResponse: function _$PaymentTypeListResponse(t0) {
this.data = t0;
this._payment_type_model$__hashCode = null;
},
PaymentTypeListResponseBuilder: function PaymentTypeListResponseBuilder() {
this._payment_type_model$_data = this._payment_type_model$_$v = null;
},
_$PaymentTypeItemResponse: function _$PaymentTypeItemResponse(t0) {
this.data = t0;
this._payment_type_model$__hashCode = null;
},
PaymentTypeItemResponseBuilder: function PaymentTypeItemResponseBuilder() {
this._payment_type_model$_data = this._payment_type_model$_$v = null;
},
_$PaymentTypeEntity: function _$PaymentTypeEntity(t0, t1) {
this.name = t0;
this.id = t1;
this._payment_type_model$__hashCode = null;
},
PaymentTypeEntityBuilder: function PaymentTypeEntityBuilder() {
this._payment_type_model$_id = this._payment_type_model$_name = this._payment_type_model$_$v = null;
},
_PaymentTypeEntity_Object_SelectableEntity: function _PaymentTypeEntity_Object_SelectableEntity() {
},
_$TemplateEntity$_: function(body, subject) {
return new S._$TemplateEntity(subject, body);
},
StaticDataItemResponse: function StaticDataItemResponse() {
},
StaticDataEntity: function StaticDataEntity() {
},
TemplateEntity: function TemplateEntity() {
},
_$StaticDataItemResponseSerializer: function _$StaticDataItemResponseSerializer() {
},
_$StaticDataEntitySerializer: function _$StaticDataEntitySerializer() {
},
_$TemplateEntitySerializer: function _$TemplateEntitySerializer() {
},
_$StaticDataItemResponse: function _$StaticDataItemResponse(t0) {
this.data = t0;
this._static_data_model$__hashCode = null;
},
StaticDataItemResponseBuilder: function StaticDataItemResponseBuilder() {
this._static_data_model$_data = this._static_data_model$_$v = null;
},
_$StaticDataEntity: function _$StaticDataEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_.currencies = t0;
_.sizes = t1;
_.industries = t2;
_.timezones = t3;
_.gateways = t4;
_.dateFormats = t5;
_.datetimeFormats = t6;
_.languages = t7;
_.paymentTypes = t8;
_.countries = t9;
_.invoiceStatus = t10;
_.templates = t11;
_._static_data_model$__hashCode = null;
},
StaticDataEntityBuilder: function StaticDataEntityBuilder() {
var _ = this;
_._templates = _._invoiceStatus = _._countries = _._paymentTypes = _._languages = _._datetimeFormats = _._dateFormats = _._gateways = _._timezones = _._industries = _._sizes = _._currencies = _._static_data_model$_$v = null;
},
_$TemplateEntity: function _$TemplateEntity(t0, t1) {
this.subject = t0;
this.body = t1;
this._static_data_model$__hashCode = null;
},
TemplateEntityBuilder: function TemplateEntityBuilder() {
this._static_data_model$_body = this._subject = this._static_data_model$_$v = null;
},
TaskStatusEntity_TaskStatusEntity: function(id, state) {
var t1;
if (id == null) {
t1 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t1;
t1 = "" + t1;
} else
t1 = id;
return S._$TaskStatusEntity$_(0, "", "", 0, "", t1, false, false, "", null, 0);
},
_$TaskStatusEntity$_: function(archivedAt, assignedUserId, color, createdAt, createdUserId, id, isChanged, isDeleted, $name, statusOrder, updatedAt) {
return new S._$TaskStatusEntity($name, color, statusOrder, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
},
TaskStatusListResponse: function TaskStatusListResponse() {
},
TaskStatusItemResponse: function TaskStatusItemResponse() {
},
TaskStatusEntity: function TaskStatusEntity() {
},
_$TaskStatusListResponseSerializer: function _$TaskStatusListResponseSerializer() {
},
_$TaskStatusItemResponseSerializer: function _$TaskStatusItemResponseSerializer() {
},
_$TaskStatusEntitySerializer: function _$TaskStatusEntitySerializer() {
},
_$TaskStatusListResponse: function _$TaskStatusListResponse(t0) {
this.data = t0;
this._task_status_model$__hashCode = null;
},
TaskStatusListResponseBuilder: function TaskStatusListResponseBuilder() {
this._task_status_model$_data = this._task_status_model$_$v = null;
},
_$TaskStatusItemResponse: function _$TaskStatusItemResponse(t0) {
this.data = t0;
this._task_status_model$__hashCode = null;
},
TaskStatusItemResponseBuilder: function TaskStatusItemResponseBuilder() {
this._task_status_model$_data = this._task_status_model$_$v = null;
},
_$TaskStatusEntity: function _$TaskStatusEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.name = t0;
_.color = t1;
_.statusOrder = t2;
_.isChanged = t3;
_.createdAt = t4;
_.updatedAt = t5;
_.archivedAt = t6;
_.isDeleted = t7;
_.createdUserId = t8;
_.assignedUserId = t9;
_.id = t10;
_._task_status_model$__hashCode = null;
},
TaskStatusEntityBuilder: function TaskStatusEntityBuilder() {
var _ = this;
_._task_status_model$_id = _._task_status_model$_assignedUserId = _._task_status_model$_createdUserId = _._task_status_model$_isDeleted = _._task_status_model$_archivedAt = _._task_status_model$_updatedAt = _._task_status_model$_createdAt = _._task_status_model$_isChanged = _._task_status_model$_statusOrder = _._task_status_model$_color = _._task_status_model$_name = _._task_status_model$_$v = null;
},
_TaskStatusEntity_Object_BaseEntity: function _TaskStatusEntity_Object_BaseEntity() {
},
_TaskStatusEntity_Object_BaseEntity_SelectableEntity: function _TaskStatusEntity_Object_BaseEntity_SelectableEntity() {
},
_TaskStatusEntity_Object_BaseEntity_SelectableEntity_EntityStatus: function _TaskStatusEntity_Object_BaseEntity_SelectableEntity_EntityStatus() {
},
DocumentRepository0: function DocumentRepository0() {
},
userLoadUrlReducer: function(authState, action) {
return authState.rebuild$1(new S.userLoadUrlReducer_closure(action));
},
userSignUpRequestReducer: function(authState, action) {
return authState.rebuild$1(new S.userSignUpRequestReducer_closure());
},
userLoginRequestReducer: function(authState, action) {
return authState.rebuild$1(new S.userLoginRequestReducer_closure(action));
},
oauthLoginRequestReducer: function(authState, action) {
return authState.rebuild$1(new S.oauthLoginRequestReducer_closure(action));
},
oauthSignUpRequestReducer: function(authState, action) {
return authState.rebuild$1(new S.oauthSignUpRequestReducer_closure());
},
userLoginSuccessReducer: function(authState, action) {
return authState.rebuild$1(new S.userLoginSuccessReducer_closure());
},
userVerifiedPasswordReducer: function(authState, action) {
return authState.rebuild$1(new S.userVerifiedPasswordReducer_closure());
},
userUnverifiedPasswordReducer: function(authState, action) {
return authState.rebuild$1(new S.userUnverifiedPasswordReducer_closure());
},
userLoadUrlReducer_closure: function userLoadUrlReducer_closure(t0) {
this.action = t0;
},
userSignUpRequestReducer_closure: function userSignUpRequestReducer_closure() {
},
userLoginRequestReducer_closure: function userLoginRequestReducer_closure(t0) {
this.action = t0;
},
oauthLoginRequestReducer_closure: function oauthLoginRequestReducer_closure(t0) {
this.action = t0;
},
oauthSignUpRequestReducer_closure: function oauthSignUpRequestReducer_closure() {
},
userLoginSuccessReducer_closure: function userLoginSuccessReducer_closure() {
},
userVerifiedPasswordReducer_closure: function userVerifiedPasswordReducer_closure() {
},
userUnverifiedPasswordReducer_closure: function userUnverifiedPasswordReducer_closure() {
},
clientUIReducer: function(state, action) {
var t1;
state.toString;
t1 = new F.ClientUIStateBuilder();
t1._client_state$_$v = state;
new S.clientUIReducer_closure(state, action).call$1(t1);
return t1.build$0(0);
},
_viewClientList0: function(clientListState, action) {
return clientListState.rebuild$1(new S._viewClientList_closure());
},
_filterClientsByCustom1: function(clientListState, action) {
var t1 = clientListState.custom1Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return clientListState.rebuild$1(new S._filterClientsByCustom1_closure(action));
else
return clientListState.rebuild$1(new S._filterClientsByCustom1_closure0(action));
},
_filterClientsByCustom2: function(clientListState, action) {
var t1 = clientListState.custom2Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return clientListState.rebuild$1(new S._filterClientsByCustom2_closure(action));
else
return clientListState.rebuild$1(new S._filterClientsByCustom2_closure0(action));
},
_filterClientsByCustom3: function(clientListState, action) {
var t1 = clientListState.custom3Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return clientListState.rebuild$1(new S._filterClientsByCustom3_closure(action));
else
return clientListState.rebuild$1(new S._filterClientsByCustom3_closure0(action));
},
_filterClientsByCustom4: function(clientListState, action) {
var t1 = clientListState.custom4Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return clientListState.rebuild$1(new S._filterClientsByCustom4_closure(action));
else
return clientListState.rebuild$1(new S._filterClientsByCustom4_closure0(action));
},
_filterClientsByState: function(clientListState, action) {
var t1 = clientListState.stateFilters,
t2 = action.state;
if (J.contains$1$asx(t1._list, t2))
return clientListState.rebuild$1(new S._filterClientsByState_closure(action));
else
return clientListState.rebuild$1(new S._filterClientsByState_closure0(action));
},
_filterClients: function(clientListState, action) {
return clientListState.rebuild$1(new S._filterClients_closure(action, clientListState));
},
_sortClients: function(clientListState, action) {
return clientListState.rebuild$1(new S._sortClients_closure(action));
},
_startListMultiselect: function(clientListState, action) {
return clientListState.rebuild$1(new S._startListMultiselect_closure21());
},
_addToListMultiselect: function(clientListState, action) {
return clientListState.rebuild$1(new S._addToListMultiselect_closure21(action));
},
_removeFromListMultiselect: function(clientListState, action) {
return clientListState.rebuild$1(new S._removeFromListMultiselect_closure21(action));
},
_clearListMultiselect: function(clientListState, action) {
return clientListState.rebuild$1(new S._clearListMultiselect_closure21());
},
_archiveClientSuccess: function(clientState, action) {
return clientState.rebuild$1(new S._archiveClientSuccess_closure(action));
},
_deleteClientSuccess: function(clientState, action) {
return clientState.rebuild$1(new S._deleteClientSuccess_closure(action));
},
_restoreClientSuccess: function(clientState, action) {
return clientState.rebuild$1(new S._restoreClientSuccess_closure(action));
},
_addClient: function(clientState, action) {
return clientState.rebuild$1(new S._addClient_closure(action));
},
_updateClient: function(clientState, action) {
return clientState.rebuild$1(new S._updateClient_closure(action));
},
_setLoadedClient: function(clientState, action) {
return clientState.rebuild$1(new S._setLoadedClient_closure(action));
},
_setLoadedClients: function(clientState, action) {
return clientState.loadClients$1(action.clients);
},
_setLoadedCompany: function(clientState, action) {
return clientState.loadClients$1(action.userCompany.company.clients);
},
clientUIReducer_closure: function clientUIReducer_closure(t0, t1) {
this.state = t0;
this.action = t1;
},
forceSelectedReducer_closure167: function forceSelectedReducer_closure167() {
},
forceSelectedReducer_closure168: function forceSelectedReducer_closure168() {
},
forceSelectedReducer_closure169: function forceSelectedReducer_closure169() {
},
forceSelectedReducer_closure170: function forceSelectedReducer_closure170() {
},
forceSelectedReducer_closure171: function forceSelectedReducer_closure171() {
},
forceSelectedReducer_closure172: function forceSelectedReducer_closure172() {
},
forceSelectedReducer_closure173: function forceSelectedReducer_closure173() {
},
forceSelectedReducer_closure174: function forceSelectedReducer_closure174() {
},
tabIndexReducer_closure21: function tabIndexReducer_closure21() {
},
tabIndexReducer_closure22: function tabIndexReducer_closure22() {
},
saveCompleterReducer_closure1: function saveCompleterReducer_closure1() {
},
cancelCompleterReducer_closure1: function cancelCompleterReducer_closure1() {
},
editingContactReducer_closure: function editingContactReducer_closure() {
},
editingContactReducer_closure0: function editingContactReducer_closure0() {
},
selectedIdReducer_closure335: function selectedIdReducer_closure335() {
},
selectedIdReducer_closure336: function selectedIdReducer_closure336() {
},
selectedIdReducer_closure337: function selectedIdReducer_closure337() {
},
selectedIdReducer_closure338: function selectedIdReducer_closure338() {
},
selectedIdReducer_closure339: function selectedIdReducer_closure339() {
},
selectedIdReducer_closure340: function selectedIdReducer_closure340() {
},
selectedIdReducer_closure341: function selectedIdReducer_closure341() {
},
selectedIdReducer_closure342: function selectedIdReducer_closure342() {
},
selectedIdReducer_closure343: function selectedIdReducer_closure343() {
},
selectedIdReducer_closure344: function selectedIdReducer_closure344() {
},
selectedIdReducer_closure345: function selectedIdReducer_closure345() {
},
selectedIdReducer_closure346: function selectedIdReducer_closure346() {
},
selectedIdReducer_closure347: function selectedIdReducer_closure347() {
},
selectedIdReducer_closure348: function selectedIdReducer_closure348() {
},
selectedIdReducer_closure349: function selectedIdReducer_closure349() {
},
selectedIdReducer_closure350: function selectedIdReducer_closure350() {
},
editingReducer_closure112: function editingReducer_closure112() {
},
editingReducer_closure113: function editingReducer_closure113() {
},
editingReducer_closure114: function editingReducer_closure114() {
},
editingReducer_closure115: function editingReducer_closure115() {
},
editingReducer_closure116: function editingReducer_closure116() {
},
editingReducer_closure117: function editingReducer_closure117() {
},
editingReducer_closure118: function editingReducer_closure118() {
},
editingReducer__closure48: function editingReducer__closure48() {
},
editingReducer_closure119: function editingReducer_closure119() {
},
editingReducer__closure47: function editingReducer__closure47(t0) {
this.action = t0;
},
editingReducer_closure120: function editingReducer_closure120() {
},
editingReducer__closure46: function editingReducer__closure46(t0) {
this.action = t0;
},
editingReducer_closure121: function editingReducer_closure121() {
},
editingReducer__closure45: function editingReducer__closure45(t0) {
this.action = t0;
},
editingReducer_closure122: function editingReducer_closure122() {
},
editingReducer_closure123: function editingReducer_closure123() {
},
editingReducer_closure124: function editingReducer_closure124() {
},
editingReducer_closure125: function editingReducer_closure125() {
},
_viewClientList_closure: function _viewClientList_closure() {
},
_filterClientsByCustom1_closure: function _filterClientsByCustom1_closure(t0) {
this.action = t0;
},
_filterClientsByCustom1_closure0: function _filterClientsByCustom1_closure0(t0) {
this.action = t0;
},
_filterClientsByCustom2_closure: function _filterClientsByCustom2_closure(t0) {
this.action = t0;
},
_filterClientsByCustom2_closure0: function _filterClientsByCustom2_closure0(t0) {
this.action = t0;
},
_filterClientsByCustom3_closure: function _filterClientsByCustom3_closure(t0) {
this.action = t0;
},
_filterClientsByCustom3_closure0: function _filterClientsByCustom3_closure0(t0) {
this.action = t0;
},
_filterClientsByCustom4_closure: function _filterClientsByCustom4_closure(t0) {
this.action = t0;
},
_filterClientsByCustom4_closure0: function _filterClientsByCustom4_closure0(t0) {
this.action = t0;
},
_filterClientsByState_closure: function _filterClientsByState_closure(t0) {
this.action = t0;
},
_filterClientsByState_closure0: function _filterClientsByState_closure0(t0) {
this.action = t0;
},
_filterClients_closure: function _filterClients_closure(t0, t1) {
this.action = t0;
this.clientListState = t1;
},
_sortClients_closure: function _sortClients_closure(t0) {
this.action = t0;
},
_startListMultiselect_closure21: function _startListMultiselect_closure21() {
},
_addToListMultiselect_closure21: function _addToListMultiselect_closure21(t0) {
this.action = t0;
},
_removeFromListMultiselect_closure21: function _removeFromListMultiselect_closure21(t0) {
this.action = t0;
},
_clearListMultiselect_closure21: function _clearListMultiselect_closure21() {
},
_archiveClientSuccess_closure: function _archiveClientSuccess_closure(t0) {
this.action = t0;
},
_deleteClientSuccess_closure: function _deleteClientSuccess_closure(t0) {
this.action = t0;
},
_restoreClientSuccess_closure: function _restoreClientSuccess_closure(t0) {
this.action = t0;
},
_addClient_closure: function _addClient_closure(t0) {
this.action = t0;
},
_addClient__closure: function _addClient__closure() {
},
_updateClient_closure: function _updateClient_closure(t0) {
this.action = t0;
},
_updateClient__closure: function _updateClient__closure() {
},
_setLoadedClient_closure: function _setLoadedClient_closure(t0) {
this.action = t0;
},
_setLoadedClient__closure: function _setLoadedClient__closure() {
},
filteredGroupsSelector: function(selectionState, groupMap, groupList, groupListState) {
var t1 = J.where$1$ax(groupList._list, new S.filteredGroupsSelector_closure(groupMap, selectionState, groupListState)),
list = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
C.JSArray_methods.sort$1(list, new S.filteredGroupsSelector_closure0(groupMap, groupListState));
return list;
},
clientStatsForGroup: function(clientMap, groupId) {
var t1 = {};
t1.countArchived = t1.countActive = 0;
J.forEach$1$ax(clientMap._map$_map, new S.clientStatsForGroup_closure(t1, groupId));
return new T.EntityStats(t1.countActive, t1.countArchived);
},
memoizedFilteredGroupList_closure: function memoizedFilteredGroupList_closure() {
},
filteredGroupsSelector_closure: function filteredGroupsSelector_closure(t0, t1, t2) {
this.groupMap = t0;
this.selectionState = t1;
this.groupListState = t2;
},
filteredGroupsSelector_closure0: function filteredGroupsSelector_closure0(t0, t1) {
this.groupMap = t0;
this.groupListState = t1;
},
memoizedClientStatsForGroup_closure: function memoizedClientStatsForGroup_closure() {
},
clientStatsForGroup_closure: function clientStatsForGroup_closure(t0, t1) {
this._box_0 = t0;
this.groupId = t1;
},
_viewQuote: function() {
return new S._viewQuote_closure();
},
_viewQuoteList: function() {
return new S._viewQuoteList_closure0();
},
_editQuote: function() {
return new S._editQuote_closure();
},
_showEmailQuote: function() {
return new S._showEmailQuote_closure();
},
_showPdfQuote: function() {
return new S._showPdfQuote_closure();
},
_archiveQuote: function(repository) {
return new S._archiveQuote_closure(repository);
},
_deleteQuote: function(repository) {
return new S._deleteQuote_closure(repository);
},
_restoreQuote: function(repository) {
return new S._restoreQuote_closure(repository);
},
_convertQuote: function(repository) {
return new S._convertQuote_closure(repository);
},
_markSentQuote: function(repository) {
return new S._markSentQuote_closure(repository);
},
_emailQuote: function(repository) {
return new S._emailQuote_closure(repository);
},
_saveQuote: function(repository) {
return new S._saveQuote_closure(repository);
},
_loadQuote: function(repository) {
return new S._loadQuote_closure(repository);
},
_downloadQuotes: function(repository) {
return new S._downloadQuotes_closure(repository);
},
_bulkEmailQuotes: function(repository) {
return new S._bulkEmailQuotes_closure(repository);
},
_loadQuotes: function(repository) {
return new S._loadQuotes_closure(repository);
},
_saveDocument6: function(repository) {
return new S._saveDocument_closure4(repository);
},
_viewQuote_closure: function _viewQuote_closure() {
},
_viewQuoteList_closure0: function _viewQuoteList_closure0() {
},
_viewQuoteList__closure: function _viewQuoteList__closure() {
},
_editQuote_closure: function _editQuote_closure() {
},
_showEmailQuote_closure: function _showEmailQuote_closure() {
},
_showPdfQuote_closure: function _showPdfQuote_closure() {
},
_archiveQuote_closure: function _archiveQuote_closure(t0) {
this.repository = t0;
},
_archiveQuote__closure: function _archiveQuote__closure(t0) {
this.store = t0;
},
_archiveQuote__closure0: function _archiveQuote__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_archiveQuote__closure1: function _archiveQuote__closure1(t0, t1, t2) {
this.store = t0;
this.prevQuotes = t1;
this.action = t2;
},
_deleteQuote_closure: function _deleteQuote_closure(t0) {
this.repository = t0;
},
_deleteQuote__closure: function _deleteQuote__closure(t0) {
this.store = t0;
},
_deleteQuote__closure0: function _deleteQuote__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_deleteQuote__closure1: function _deleteQuote__closure1(t0, t1, t2) {
this.store = t0;
this.prevQuotes = t1;
this.action = t2;
},
_restoreQuote_closure: function _restoreQuote_closure(t0) {
this.repository = t0;
},
_restoreQuote__closure: function _restoreQuote__closure(t0) {
this.store = t0;
},
_restoreQuote__closure0: function _restoreQuote__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_restoreQuote__closure1: function _restoreQuote__closure1(t0, t1, t2) {
this.store = t0;
this.prevQuotes = t1;
this.action = t2;
},
_convertQuote_closure: function _convertQuote_closure(t0) {
this.repository = t0;
},
_convertQuote__closure: function _convertQuote__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_convertQuote__closure0: function _convertQuote__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_markSentQuote_closure: function _markSentQuote_closure(t0) {
this.repository = t0;
},
_markSentQuote__closure: function _markSentQuote__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_markSentQuote__closure0: function _markSentQuote__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_emailQuote_closure: function _emailQuote_closure(t0) {
this.repository = t0;
},
_emailQuote__closure: function _emailQuote__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_emailQuote__closure0: function _emailQuote__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveQuote_closure: function _saveQuote_closure(t0) {
this.repository = t0;
},
_saveQuote__closure: function _saveQuote__closure(t0) {
this.action = t0;
},
_saveQuote___closure: function _saveQuote___closure() {
},
_saveQuote__closure0: function _saveQuote__closure0(t0, t1) {
this.action = t0;
this.store = t1;
},
_saveQuote__closure1: function _saveQuote__closure1(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadQuote_closure: function _loadQuote_closure(t0) {
this.repository = t0;
},
_loadQuote__closure: function _loadQuote__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadQuote__closure0: function _loadQuote__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_downloadQuotes_closure: function _downloadQuotes_closure(t0) {
this.repository = t0;
},
_downloadQuotes__closure: function _downloadQuotes__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_downloadQuotes__closure0: function _downloadQuotes__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_bulkEmailQuotes_closure: function _bulkEmailQuotes_closure(t0) {
this.repository = t0;
},
_bulkEmailQuotes__closure: function _bulkEmailQuotes__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_bulkEmailQuotes__closure0: function _bulkEmailQuotes__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadQuotes_closure: function _loadQuotes_closure(t0) {
this.repository = t0;
},
_loadQuotes__closure: function _loadQuotes__closure(t0, t1) {
this.store = t0;
this.action = t1;
},
_loadQuotes__closure0: function _loadQuotes__closure0(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument_closure4: function _saveDocument_closure4(t0) {
this.repository = t0;
},
_saveDocument__closure9: function _saveDocument__closure9(t0, t1) {
this.store = t0;
this.action = t1;
},
_saveDocument__closure10: function _saveDocument__closure10(t0, t1) {
this.store = t0;
this.action = t1;
},
tokenUIReducer: function(state, action) {
var t1;
state.toString;
t1 = new N.TokenUIStateBuilder();
t1._token_state$_$v = state;
new S.tokenUIReducer_closure(state, action).call$1(t1);
return t1.build$0(0);
},
_clearEditing17: function(token, action) {
return D.TokenEntity_TokenEntity(null, null);
},
_updateEditing18: function(token, action) {
return action.get$token();
},
_viewTokenList0: function(tokenListState, action) {
return tokenListState.rebuild$1(new S._viewTokenList_closure());
},
_filterTokensByCustom1: function(tokenListState, action) {
var t1 = tokenListState.custom1Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return tokenListState.rebuild$1(new S._filterTokensByCustom1_closure(action));
else
return tokenListState.rebuild$1(new S._filterTokensByCustom1_closure0(action));
},
_filterTokensByCustom2: function(tokenListState, action) {
var t1 = tokenListState.custom2Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return tokenListState.rebuild$1(new S._filterTokensByCustom2_closure(action));
else
return tokenListState.rebuild$1(new S._filterTokensByCustom2_closure0(action));
},
_filterTokensByState: function(tokenListState, action) {
var t1 = tokenListState.stateFilters,
t2 = action.state;
if (J.contains$1$asx(t1._list, t2))
return tokenListState.rebuild$1(new S._filterTokensByState_closure(action));
else
return tokenListState.rebuild$1(new S._filterTokensByState_closure0(action));
},
_filterTokens: function(tokenListState, action) {
return tokenListState.rebuild$1(new S._filterTokens_closure(action, tokenListState));
},
_sortTokens: function(tokenListState, action) {
return tokenListState.rebuild$1(new S._sortTokens_closure(action));
},
_startListMultiselect19: function(productListState, action) {
return productListState.rebuild$1(new S._startListMultiselect_closure13());
},
_addToListMultiselect19: function(productListState, action) {
return productListState.rebuild$1(new S._addToListMultiselect_closure13(action));
},
_removeFromListMultiselect19: function(productListState, action) {
return productListState.rebuild$1(new S._removeFromListMultiselect_closure13(action));
},
_clearListMultiselect19: function(productListState, action) {
return productListState.rebuild$1(new S._clearListMultiselect_closure13());
},
_archiveTokenSuccess: function(tokenState, action) {
return tokenState.rebuild$1(new S._archiveTokenSuccess_closure(action));
},
_deleteTokenSuccess: function(tokenState, action) {
return tokenState.rebuild$1(new S._deleteTokenSuccess_closure(action));
},
_restoreTokenSuccess: function(tokenState, action) {
return tokenState.rebuild$1(new S._restoreTokenSuccess_closure(action));
},
_addToken: function(tokenState, action) {
return tokenState.rebuild$1(new S._addToken_closure(action));
},
_updateToken: function(tokenState, action) {
return tokenState.rebuild$1(new S._updateToken_closure(action));
},
_setLoadedToken: function(tokenState, action) {
return tokenState.rebuild$1(new S._setLoadedToken_closure(action));
},
_setLoadedTokens: function(tokenState, action) {
return tokenState.loadTokens$1(action.tokens);
},
_setLoadedCompany18: function(tokenState, action) {
return tokenState.loadTokens$1(action.userCompany.company.tokens);
},
tokenUIReducer_closure: function tokenUIReducer_closure(t0, t1) {
this.state = t0;
this.action = t1;
},
forceSelectedReducer_closure103: function forceSelectedReducer_closure103() {
},
forceSelectedReducer_closure104: function forceSelectedReducer_closure104() {
},
forceSelectedReducer_closure105: function forceSelectedReducer_closure105() {
},
forceSelectedReducer_closure106: function forceSelectedReducer_closure106() {
},
forceSelectedReducer_closure107: function forceSelectedReducer_closure107() {
},
forceSelectedReducer_closure108: function forceSelectedReducer_closure108() {
},
forceSelectedReducer_closure109: function forceSelectedReducer_closure109() {
},
forceSelectedReducer_closure110: function forceSelectedReducer_closure110() {
},
selectedIdReducer_closure207: function selectedIdReducer_closure207() {
},
selectedIdReducer_closure208: function selectedIdReducer_closure208() {
},
selectedIdReducer_closure209: function selectedIdReducer_closure209() {
},
selectedIdReducer_closure210: function selectedIdReducer_closure210() {
},
selectedIdReducer_closure211: function selectedIdReducer_closure211() {
},
selectedIdReducer_closure212: function selectedIdReducer_closure212() {
},
selectedIdReducer_closure213: function selectedIdReducer_closure213() {
},
selectedIdReducer_closure214: function selectedIdReducer_closure214() {
},
selectedIdReducer_closure215: function selectedIdReducer_closure215() {
},
selectedIdReducer_closure216: function selectedIdReducer_closure216() {
},
selectedIdReducer_closure217: function selectedIdReducer_closure217() {
},
selectedIdReducer_closure218: function selectedIdReducer_closure218() {
},
selectedIdReducer_closure219: function selectedIdReducer_closure219() {
},
selectedIdReducer_closure220: function selectedIdReducer_closure220() {
},
selectedIdReducer_closure221: function selectedIdReducer_closure221() {
},
editingReducer_closure66: function editingReducer_closure66() {
},
editingReducer_closure67: function editingReducer_closure67() {
},
editingReducer_closure68: function editingReducer_closure68() {
},
editingReducer_closure69: function editingReducer_closure69() {
},
editingReducer__closure25: function editingReducer__closure25() {
},
_viewTokenList_closure: function _viewTokenList_closure() {
},
_filterTokensByCustom1_closure: function _filterTokensByCustom1_closure(t0) {
this.action = t0;
},
_filterTokensByCustom1_closure0: function _filterTokensByCustom1_closure0(t0) {
this.action = t0;
},
_filterTokensByCustom2_closure: function _filterTokensByCustom2_closure(t0) {
this.action = t0;
},
_filterTokensByCustom2_closure0: function _filterTokensByCustom2_closure0(t0) {
this.action = t0;
},
_filterTokensByState_closure: function _filterTokensByState_closure(t0) {
this.action = t0;
},
_filterTokensByState_closure0: function _filterTokensByState_closure0(t0) {
this.action = t0;
},
_filterTokens_closure: function _filterTokens_closure(t0, t1) {
this.action = t0;
this.tokenListState = t1;
},
_sortTokens_closure: function _sortTokens_closure(t0) {
this.action = t0;
},
_startListMultiselect_closure13: function _startListMultiselect_closure13() {
},
_addToListMultiselect_closure13: function _addToListMultiselect_closure13(t0) {
this.action = t0;
},
_removeFromListMultiselect_closure13: function _removeFromListMultiselect_closure13(t0) {
this.action = t0;
},
_clearListMultiselect_closure13: function _clearListMultiselect_closure13() {
},
_archiveTokenSuccess_closure: function _archiveTokenSuccess_closure(t0) {
this.action = t0;
},
_deleteTokenSuccess_closure: function _deleteTokenSuccess_closure(t0) {
this.action = t0;
},
_restoreTokenSuccess_closure: function _restoreTokenSuccess_closure(t0) {
this.action = t0;
},
_addToken_closure: function _addToken_closure(t0) {
this.action = t0;
},
_updateToken_closure: function _updateToken_closure(t0) {
this.action = t0;
},
_setLoadedToken_closure: function _setLoadedToken_closure(t0) {
this.action = t0;
},
handleWebhookAction: function(context, webhooks, action) {
var store, t1, webhook, t2, webhookIds, message, _i, t3, _s6_ = ":value",
_s12_ = "_dispatchers";
if (webhooks.length === 0)
return;
store = O.StoreProvider_of(context, type$.legacy_AppState);
t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
webhook = type$.legacy_WebhookEntity._as(C.JSArray_methods.get$first(webhooks));
t2 = H._arrayInstanceType(webhooks)._eval$1("MappedListIterable<1,String*>");
webhookIds = P.List_List$of(new H.MappedListIterable(webhooks, new S.handleWebhookAction_closure(), t2), true, t2._eval$1("ListIterable.E"));
switch (action) {
case C.EntityAction_copy:
T.Clipboard_setData(new T.ClipboardData(webhook.targetUrl));
M.showToast(C.JSString_methods.replaceFirst$2(t1.get$copiedToClipboard(), ":value ", ""));
break;
case C.EntityAction_edit:
M.editEntity(null, context, webhook, null);
break;
case C.EntityAction_restore:
t2 = webhookIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_webhooks");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_webhook");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new S.RestoreWebhooksRequest(t1, webhookIds));
break;
case C.EntityAction_archive:
t2 = webhookIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_webhooks");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_webhook");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new S.ArchiveWebhooksRequest(t1, webhookIds));
break;
case C.EntityAction_delete:
t2 = webhookIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_webhooks");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_webhook");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new S.DeleteWebhooksRequest(t1, webhookIds));
break;
case C.EntityAction_toggleMultiselect:
if (store.get$_store$_state().uiState.webhookUIState.listUIState.selectedIds == null)
J.$index$asx(store.get$_dispatchers(), 0).call$1(new S.StartWebhookMultiselect());
t1 = webhooks.length;
if (t1 === 0)
break;
for (_i = 0; _i < webhooks.length; webhooks.length === t1 || (0, H.throwConcurrentModificationError)(webhooks), ++_i) {
webhook = webhooks[_i];
t2 = store.__Store__state;
t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI("_state")) : t2).uiState.webhookUIState.listUIState;
t3 = J.get$id$x(webhook);
t2 = t2.selectedIds;
t2 = t2 != null && J.contains$1$asx(t2._list, t3);
t3 = store.__Store__dispatchers;
if (!t2)
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new S.AddToWebhookMultiselect(webhook));
else
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new S.RemoveFromWebhookMultiselect(webhook));
}
break;
case C.EntityAction_more:
L.showEntityActionsDialog(null, H.setRuntimeTypeInfo([webhook], type$.JSArray_legacy_BaseEntity), false);
break;
}
},
ViewWebhookList: function ViewWebhookList() {
},
ViewWebhook: function ViewWebhook(t0) {
this.webhookId = t0;
},
EditWebhook: function EditWebhook(t0) {
this.webhook = t0;
},
UpdateWebhook: function UpdateWebhook(t0) {
this.webhook = t0;
},
LoadWebhookRequest: function LoadWebhookRequest() {
},
LoadWebhookFailure: function LoadWebhookFailure(t0) {
this.error = t0;
},
LoadWebhookSuccess: function LoadWebhookSuccess(t0) {
this.webhook = t0;
},
LoadWebhooksRequest: function LoadWebhooksRequest() {
},
LoadWebhooksFailure: function LoadWebhooksFailure(t0) {
this.error = t0;
},
LoadWebhooksSuccess: function LoadWebhooksSuccess(t0) {
this.webhooks = t0;
},
SaveWebhookRequest: function SaveWebhookRequest(t0, t1) {
this.completer = t0;
this.webhook = t1;
},
SaveWebhookSuccess: function SaveWebhookSuccess(t0) {
this.webhook = t0;
},
AddWebhookSuccess: function AddWebhookSuccess(t0) {
this.webhook = t0;
},
SaveWebhookFailure: function SaveWebhookFailure() {
},
ArchiveWebhooksRequest: function ArchiveWebhooksRequest(t0, t1) {
this.completer = t0;
this.webhookIds = t1;
},
ArchiveWebhooksSuccess: function ArchiveWebhooksSuccess(t0) {
this.webhooks = t0;
},
ArchiveWebhooksFailure: function ArchiveWebhooksFailure() {
},
DeleteWebhooksRequest: function DeleteWebhooksRequest(t0, t1) {
this.completer = t0;
this.webhookIds = t1;
},
DeleteWebhooksSuccess: function DeleteWebhooksSuccess(t0) {
this.webhooks = t0;
},
DeleteWebhooksFailure: function DeleteWebhooksFailure() {
},
RestoreWebhooksRequest: function RestoreWebhooksRequest(t0, t1) {
this.completer = t0;
this.webhookIds = t1;
},
RestoreWebhooksSuccess: function RestoreWebhooksSuccess(t0) {
this.webhooks = t0;
},
RestoreWebhooksFailure: function RestoreWebhooksFailure() {
},
FilterWebhooks: function FilterWebhooks(t0) {
this.filter = t0;
},
SortWebhooks: function SortWebhooks(t0) {
this.field = t0;
},
FilterWebhooksByState: function FilterWebhooksByState(t0) {
this.state = t0;
},
FilterWebhooksByCustom1: function FilterWebhooksByCustom1(t0) {
this.value = t0;
},
FilterWebhooksByCustom2: function FilterWebhooksByCustom2(t0) {
this.value = t0;
},
FilterWebhooksByCustom3: function FilterWebhooksByCustom3(t0) {
this.value = t0;
},
FilterWebhooksByCustom4: function FilterWebhooksByCustom4(t0) {
this.value = t0;
},
handleWebhookAction_closure: function handleWebhookAction_closure() {
},
StartWebhookMultiselect: function StartWebhookMultiselect() {
},
AddToWebhookMultiselect: function AddToWebhookMultiselect(t0) {
this.entity = t0;
},
RemoveFromWebhookMultiselect: function RemoveFromWebhookMultiselect(t0) {
this.entity = t0;
},
ClearWebhookMultiselect: function ClearWebhookMultiselect() {
},
AppWebView: function AppWebView(t0, t1) {
this.html = t0;
this.key = t1;
},
_WebWebView: function _WebWebView(t0, t1) {
this.html = t0;
this.key = t1;
},
DecoratedFormField$: function(autocorrect, autofillHints, autofocus, autovalidate, controller, decoration, enabled, focusNode, hint, initialValue, inputFormatters, isMoney, isPercent, key, keyboardType, label, maxLines, minLines, obscureText, onChanged, onFieldSubmitted, onSavePressed, showClear, suffixIcon, suffixIconButton, textAlign, validator) {
return new S.DecoratedFormField(controller, label, hint, initialValue, validator, keyboardType, maxLines, minLines, autovalidate, enabled, false, obscureText, autofocus, onFieldSubmitted, onChanged, suffixIcon, suffixIconButton, autofillHints, onSavePressed, textAlign, decoration, focusNode, isMoney, isPercent, showClear, inputFormatters, key);
},
DecoratedFormField: function DecoratedFormField(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26) {
var _ = this;
_.controller = t0;
_.label = t1;
_.hint = t2;
_.initialValue = t3;
_.validator = t4;
_.keyboardType = t5;
_.maxLines = t6;
_.minLines = t7;
_.autovalidate = t8;
_.enabled = t9;
_.autocorrect = t10;
_.obscureText = t11;
_.autofocus = t12;
_.onFieldSubmitted = t13;
_.onChanged = t14;
_.suffixIcon = t15;
_.suffixIconButton = t16;
_.autofillHints = t17;
_.onSavePressed = t18;
_.textAlign = t19;
_.decoration = t20;
_.focusNode = t21;
_.isMoney = t22;
_.isPercent = t23;
_.showClear = t24;
_.inputFormatters = t25;
_.key = t26;
},
_DecoratedFormFieldState: function _DecoratedFormFieldState(t0) {
var _ = this;
_._showClear = true;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_DecoratedFormFieldState_build_closure: function _DecoratedFormFieldState_build_closure(t0) {
this.$this = t0;
},
_DecoratedFormFieldState_build__closure: function _DecoratedFormFieldState_build__closure(t0) {
this.$this = t0;
},
_DecoratedFormFieldState_build_closure0: function _DecoratedFormFieldState_build_closure0(t0) {
this.$this = t0;
},
_DecoratedFormFieldState_build_closure1: function _DecoratedFormFieldState_build_closure1(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.calcKeyboardType = t1;
_.enterShouldSubmit = t2;
_.context = t3;
},
PasswordFormField: function PasswordFormField(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.controller = t0;
_.onSavePressed = t1;
_.autoValidate = t2;
_.newPassword = t3;
_.labelText = t4;
_.key = t5;
},
_PasswordFormFieldState: function _PasswordFormFieldState(t0) {
var _ = this;
_._password_field$_isPasswordObscured = true;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_PasswordFormFieldState_build_closure: function _PasswordFormFieldState_build_closure(t0) {
this.$this = t0;
},
_PasswordFormFieldState_build__closure: function _PasswordFormFieldState_build__closure(t0) {
this.$this = t0;
},
_PasswordFormFieldState_build_closure0: function _PasswordFormFieldState_build_closure0(t0, t1) {
this.$this = t0;
this.localization = t1;
},
IconMessage: function IconMessage(t0, t1, t2, t3) {
var _ = this;
_.text = t0;
_.iconData = t1;
_.color = t2;
_.key = t3;
},
EntityList$: function(entityList, entityType, itemBuilder, onClearMultiselect, onRefreshed, onSortColumn, presenter, state, tableColumns) {
return new S.EntityList(state, entityType, tableColumns, entityList, onRefreshed, presenter, onSortColumn, itemBuilder, onClearMultiselect, new D.ValueKey("__" + entityType.toString$0(0) + "_" + H.S(tableColumns) + "__", type$.ValueKey_legacy_String));
},
EntityList: function EntityList(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.state = t0;
_.entityType = t1;
_.tableColumns = t2;
_.entityList = t3;
_.onRefreshed = t4;
_.presenter = t5;
_.onSortColumn = t6;
_.itemBuilder = t7;
_.onClearMultiselect = t8;
_.key = t9;
},
_EntityListState: function _EntityListState(t0) {
var _ = this;
_._widget = _.dataTableSource = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_EntityListState_initState_closure: function _EntityListState_initState_closure(t0) {
this.$this = t0;
},
_EntityListState_build_closure: function _EntityListState_build_closure(t0, t1) {
this.entityType = t0;
this.entityId = t1;
},
_EntityListState_build_closure7: function _EntityListState_build_closure7(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.$this = t0;
_.isList = t1;
_.uiState = t2;
_.context = t3;
_.state = t4;
_.store = t5;
_.entityList = t6;
_.entityType = t7;
_.listUIState = t8;
_.entityMap = t9;
_.isInMultiselect = t10;
},
_EntityListState_build__closure: function _EntityListState_build__closure(t0) {
this.state = t0;
},
_EntityListState_build__closure0: function _EntityListState_build__closure0(t0) {
this.store = t0;
},
_EntityListState_build__closure2: function _EntityListState_build__closure2(t0) {
this.entityList = t0;
},
_EntityListState_build__closure1: function _EntityListState_build__closure1(t0, t1) {
this.$this = t0;
this.entityList = t1;
},
_EntityListState_build__closure3: function _EntityListState_build__closure3(t0) {
this.state = t0;
},
_EntityListState_build__closure4: function _EntityListState_build__closure4(t0) {
this.store = t0;
},
_EntityListState_build__closure6: function _EntityListState_build__closure6(t0, t1, t2) {
this.entityList = t0;
this.entityMap = t1;
this.listUIState = t2;
},
_EntityListState_build___closure: function _EntityListState_build___closure(t0) {
this.entityMap = t0;
},
_EntityListState_build___closure0: function _EntityListState_build___closure0(t0, t1) {
this.value = t0;
this.listUIState = t1;
},
_EntityListState_build___closure1: function _EntityListState_build___closure1() {
},
_EntityListState_build__closure5: function _EntityListState_build__closure5(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.context = t1;
_.entityType = t2;
_.state = t3;
},
_EntityListState_build___closure2: function _EntityListState_build___closure2(t0, t1) {
this.$this = t0;
this.field = t1;
},
_EntityListState_build_closure0: function _EntityListState_build_closure0(t0) {
this.entityMap = t0;
},
_EntityListState_build_closure1: function _EntityListState_build_closure1() {
},
_EntityListState_build_closure8: function _EntityListState_build_closure8(t0, t1) {
this.$this = t0;
this.context = t1;
},
_EntityListState_build_closure2: function _EntityListState_build_closure2(t0, t1, t2) {
this.entityList = t0;
this.listUIState = t1;
this.entityMap = t2;
},
_EntityListState_build__closure11: function _EntityListState_build__closure11(t0, t1) {
this.value = t0;
this.listUIState = t1;
},
_EntityListState_build__closure12: function _EntityListState_build__closure12(t0) {
this.entityMap = t0;
},
_EntityListState_build_closure4: function _EntityListState_build_closure4(t0, t1, t2) {
this.$this = t0;
this.localization = t1;
this.entities = t2;
},
_EntityListState_build__closure8: function _EntityListState_build__closure8(t0, t1, t2) {
this.$this = t0;
this.entities = t1;
this.action = t2;
},
_EntityListState_build_closure3: function _EntityListState_build_closure3(t0, t1, t2, t3, t4) {
var _ = this;
_.$this = t0;
_.localization = t1;
_.state = t2;
_.entities = t3;
_.actions = t4;
},
_EntityListState_build__closure10: function _EntityListState_build__closure10(t0, t1) {
this.$this = t0;
this.entities = t1;
},
_EntityListState_build__closure9: function _EntityListState_build__closure9(t0, t1) {
this.actions = t0;
this.remaining = t1;
},
_EntityListState_build___closure3: function _EntityListState_build___closure3(t0) {
this.context = t0;
},
_EntityListState_build_closure6: function _EntityListState_build_closure6(t0, t1) {
this.$this = t0;
this.entities = t1;
},
_EntityListState_build__closure7: function _EntityListState_build__closure7(t0) {
this.$this = t0;
},
_EntityListState_build_closure5: function _EntityListState_build_closure5(t0) {
this.$this = t0;
},
CompanyGatewayListVM_fromStore: function(store) {
var t2, t3, t4, t5, t6, t7, gatewayIds,
state = store.get$_store$_state(),
t1 = state.uiState,
uiState = t1.settingsUIState,
companyGatewayIds = uiState.get$settings().companyGatewayIds;
if ((companyGatewayIds == null ? "" : companyGatewayIds).length === 0) {
t2 = state.userCompanyStates;
t3 = t1.selectedCompanyIndex;
companyGatewayIds = J.join$1$ax(J.$index$asx(t2._list, t3).companyGatewayState.list._list, ",");
}
t2 = $.$get$memoizedFilteredCompanyGatewayList();
t3 = state.userCompanyStates;
t4 = t1.selectedCompanyIndex;
t3 = t3._list;
t5 = J.getInterceptor$asx(t3);
t6 = t5.$index(t3, t4).companyGatewayState.map;
t7 = t5.$index(t3, t4).companyGatewayState.list;
t1 = t1.companyGatewayUIState.listUIState;
gatewayIds = t2.call$5(t6, t7, t1, companyGatewayIds, uiState.entityType === C.EntityType_company);
return new S.CompanyGatewayListVM(state, gatewayIds, t5.$index(t3, t4).companyGatewayState.map, t1.filter, new S.CompanyGatewayListVM_fromStore_closure(new S.CompanyGatewayListVM_fromStore__handleRefresh(store)), new S.CompanyGatewayListVM_fromStore_closure0(gatewayIds, uiState, store), new S.CompanyGatewayListVM_fromStore_closure1(gatewayIds, uiState, store));
},
CompanyGatewayListBuilder: function CompanyGatewayListBuilder(t0) {
this.key = t0;
},
CompanyGatewayListBuilder_build_closure: function CompanyGatewayListBuilder_build_closure() {
},
CompanyGatewayListVM: function CompanyGatewayListVM(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.state = t0;
_.companyGatewayList = t1;
_.companyGatewayMap = t2;
_.filter = t3;
_.onRefreshed = t4;
_.onSortChanged = t5;
_.onRemovePressed = t6;
},
CompanyGatewayListVM_fromStore__handleRefresh: function CompanyGatewayListVM_fromStore__handleRefresh(t0) {
this.store = t0;
},
CompanyGatewayListVM_fromStore_closure: function CompanyGatewayListVM_fromStore_closure(t0) {
this._handleRefresh = t0;
},
CompanyGatewayListVM_fromStore_closure1: function CompanyGatewayListVM_fromStore_closure1(t0, t1, t2) {
this.gatewayIds = t0;
this.uiState = t1;
this.store = t2;
},
CompanyGatewayListVM_fromStore__closure: function CompanyGatewayListVM_fromStore__closure(t0) {
this.gatewayIds = t0;
},
CompanyGatewayListVM_fromStore_closure0: function CompanyGatewayListVM_fromStore_closure0(t0, t1, t2) {
this.gatewayIds = t0;
this.uiState = t1;
this.store = t2;
},
CompanyGatewayListVM_fromStore__closure0: function CompanyGatewayListVM_fromStore__closure0(t0) {
this.gatewayIds = t0;
},
EmailCreditVM_EmailCreditVM$fromStore: function(store, credit) {
var t4, t5,
state = store.get$_store$_state(),
t1 = state.isLoading,
t2 = state.userCompanyStates,
t3 = state.uiState.selectedCompanyIndex;
t2 = t2._list;
t4 = J.getInterceptor$asx(t2);
t5 = t4.$index(t2, t3).userCompany.company;
t3 = t4.$index(t2, t3).clientState.map;
t2 = credit.clientId;
return new S.EmailCreditVM(state, t1, t5, credit, J.$index$asx(t3._map$_map, t2), new S.EmailCreditVM_EmailCreditVM$fromStore_closure(store, credit), new S.EmailCreditVM_EmailCreditVM$fromStore_closure0(credit, store));
},
CreditEmailScreen: function CreditEmailScreen(t0) {
this.key = t0;
},
CreditEmailScreen_build_closure1: function CreditEmailScreen_build_closure1() {
},
CreditEmailScreen_build_closure0: function CreditEmailScreen_build_closure0() {
},
CreditEmailScreen_build_closure: function CreditEmailScreen_build_closure() {
},
EmailCreditVM: function EmailCreditVM(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.state = t0;
_.isLoading = t1;
_.company = t2;
_.invoice = t3;
_.client = t4;
_.loadClient = t5;
_.onSendPressed = t6;
},
EmailCreditVM_EmailCreditVM$fromStore_closure: function EmailCreditVM_EmailCreditVM$fromStore_closure(t0, t1) {
this.store = t0;
this.credit = t1;
},
EmailCreditVM_EmailCreditVM$fromStore_closure0: function EmailCreditVM_EmailCreditVM$fromStore_closure0(t0, t1) {
this.credit = t0;
this.store = t1;
},
EmailCreditVM_EmailCreditVM$fromStore__closure: function EmailCreditVM_EmailCreditVM$fromStore__closure(t0) {
this.credit = t0;
},
_DashboardSidebar$: function(entityType, label1, label2, label3, list1, list2, list3) {
return new S._DashboardSidebar(entityType, label1, label2, label3, list1, list2, list3, null);
},
SidebarScaffold: function SidebarScaffold(t0, t1) {
this.tabController = t0;
this.key = t1;
},
SidebarScaffold_build_closure: function SidebarScaffold_build_closure(t0) {
this.store = t0;
},
InvoiceSidebar: function InvoiceSidebar(t0) {
this.key = t0;
},
InvoiceSidebar_build_closure: function InvoiceSidebar_build_closure(t0) {
this.upcomingInvoices = t0;
},
InvoiceSidebar_build_closure0: function InvoiceSidebar_build_closure0() {
},
InvoiceSidebar_build_closure1: function InvoiceSidebar_build_closure1(t0) {
this.pastDueInvoices = t0;
},
InvoiceSidebar_build_closure2: function InvoiceSidebar_build_closure2() {
},
InvoiceSidebar_build_closure3: function InvoiceSidebar_build_closure3(t0, t1) {
this.state = t0;
this.selectedIds = t1;
},
InvoiceSidebar_build_closure4: function InvoiceSidebar_build_closure4() {
},
PaymentSidebar: function PaymentSidebar(t0) {
this.key = t0;
},
PaymentSidebar_build_closure: function PaymentSidebar_build_closure(t0) {
this.recentPayments = t0;
},
PaymentSidebar_build_closure0: function PaymentSidebar_build_closure0() {
},
PaymentSidebar_build_closure1: function PaymentSidebar_build_closure1(t0, t1) {
this.state = t0;
this.selectedIds = t1;
},
PaymentSidebar_build_closure2: function PaymentSidebar_build_closure2() {
},
QuoteSidebar: function QuoteSidebar(t0) {
this.key = t0;
},
QuoteSidebar_build_closure: function QuoteSidebar_build_closure(t0) {
this.upcomingQuotes = t0;
},
QuoteSidebar_build_closure0: function QuoteSidebar_build_closure0() {
},
QuoteSidebar_build_closure1: function QuoteSidebar_build_closure1(t0) {
this.expriedQuotes = t0;
},
QuoteSidebar_build_closure2: function QuoteSidebar_build_closure2() {
},
QuoteSidebar_build_closure3: function QuoteSidebar_build_closure3(t0, t1) {
this.state = t0;
this.selectedIds = t1;
},
QuoteSidebar_build_closure4: function QuoteSidebar_build_closure4() {
},
TaskSidebar: function TaskSidebar(t0) {
this.key = t0;
},
TaskSidebar_build_closure: function TaskSidebar_build_closure(t0) {
this.runningTasks = t0;
},
TaskSidebar_build_closure0: function TaskSidebar_build_closure0() {
},
TaskSidebar_build_closure1: function TaskSidebar_build_closure1(t0) {
this.recentTasks = t0;
},
TaskSidebar_build_closure2: function TaskSidebar_build_closure2() {
},
TaskSidebar_build_closure3: function TaskSidebar_build_closure3(t0, t1) {
this.state = t0;
this.selectedIds = t1;
},
TaskSidebar_build_closure4: function TaskSidebar_build_closure4() {
},
ExpenseSidbar: function ExpenseSidbar(t0) {
this.key = t0;
},
ExpenseSidbar_build_closure: function ExpenseSidbar_build_closure(t0) {
this.recentExpenses = t0;
},
ExpenseSidbar_build_closure0: function ExpenseSidbar_build_closure0() {
},
ExpenseSidbar_build_closure1: function ExpenseSidbar_build_closure1(t0, t1) {
this.state = t0;
this.selectedIds = t1;
},
ExpenseSidbar_build_closure2: function ExpenseSidbar_build_closure2() {
},
_DashboardSidebar: function _DashboardSidebar(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.entityType = t0;
_.label1 = t1;
_.label2 = t2;
_.label3 = t3;
_.list1 = t4;
_.list2 = t5;
_.list3 = t6;
_.key = t7;
},
_DashboardSidebar_build_closure: function _DashboardSidebar_build_closure(t0, t1) {
this.$this = t0;
this.store = t1;
},
DocumentListItem: function DocumentListItem(t0, t1, t2, t3, t4) {
var _ = this;
_.userCompany = t0;
_.isChecked = t1;
_.document = t2;
_.filter = t3;
_.key = t4;
},
DocumentListItem_build_closure1: function DocumentListItem_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
DocumentListItem_build_closure0: function DocumentListItem_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
DocumentListItem_build_closure: function DocumentListItem_build_closure(t0) {
this.$this = t0;
},
ExpenseEditDesktop: function ExpenseEditDesktop(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
ExpensePresenter: function ExpensePresenter() {
this.context = this.entity = null;
},
GroupScreenVM_fromStore: function(store) {
var t4, t5, t6, t7, t8,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t4.$index(t1, t3).groupState.toString;
t5 = $.$get$memoizedFilteredGroupList();
t6 = state.getUISelection$1(C.EntityType_group);
t7 = t4.$index(t1, t3).groupState.map;
t8 = t4.$index(t1, t3).groupState.list;
t2 = t2.groupUIState.listUIState;
t8 = t5.call$4(t6, t7, t8, t2);
t4.$index(t1, t3).toString;
t2.toString;
return new S.GroupScreenVM(t8);
},
GroupScreenBuilder: function GroupScreenBuilder(t0) {
this.key = t0;
},
GroupScreenBuilder_build_closure: function GroupScreenBuilder_build_closure() {
},
GroupScreenVM: function GroupScreenVM(t0) {
this.groupList = t0;
},
InvoiceEditDesktop: function InvoiceEditDesktop(t0, t1, t2) {
this.viewModel = t0;
this.entityViewModel = t1;
this.key = t2;
},
InvoiceEditDesktopState: function InvoiceEditDesktopState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) {
var _ = this;
_._tableTabController = _._optionTabController = null;
_._invoice_edit_desktop$_showTasksTable = false;
_._invoice_edit_desktop$_focusNode = null;
_._invoice_edit_desktop$_invoiceNumberController = t0;
_._invoice_edit_desktop$_poNumberController = t1;
_._invoice_edit_desktop$_discountController = t2;
_._invoice_edit_desktop$_partialController = t3;
_._invoice_edit_desktop$_custom1Controller = t4;
_._invoice_edit_desktop$_custom2Controller = t5;
_._invoice_edit_desktop$_custom3Controller = t6;
_._invoice_edit_desktop$_custom4Controller = t7;
_._invoice_edit_desktop$_surcharge1Controller = t8;
_._invoice_edit_desktop$_surcharge2Controller = t9;
_._invoice_edit_desktop$_surcharge3Controller = t10;
_._invoice_edit_desktop$_surcharge4Controller = t11;
_._invoice_edit_desktop$_publicNotesController = t12;
_._invoice_edit_desktop$_privateNotesController = t13;
_._invoice_edit_desktop$_termsController = t14;
_._invoice_edit_desktop$_footerController = t15;
_._invoice_edit_desktop$_scrollController = null;
_._invoice_edit_desktop$_controllers = t16;
_._invoice_edit_desktop$_debouncer = t17;
_.TickerProviderStateMixin__tickers = t18;
_._widget = null;
_._debugLifecycleState = t19;
_._framework$_element = null;
},
InvoiceEditDesktopState_didChangeDependencies_closure: function InvoiceEditDesktopState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
InvoiceEditDesktopState_didChangeDependencies_closure0: function InvoiceEditDesktopState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
InvoiceEditDesktopState_dispose_closure: function InvoiceEditDesktopState_dispose_closure(t0) {
this.$this = t0;
},
InvoiceEditDesktopState__onChanged_closure: function InvoiceEditDesktopState__onChanged_closure(t0) {
this.$this = t0;
},
InvoiceEditDesktopState__onChanged_closure0: function InvoiceEditDesktopState__onChanged_closure0(t0, t1) {
this.$this = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build_closure: function InvoiceEditDesktopState_build_closure() {
},
InvoiceEditDesktopState_build_closure0: function InvoiceEditDesktopState_build_closure0() {
},
InvoiceEditDesktopState_build_closure2: function InvoiceEditDesktopState_build_closure2(t0, t1, t2) {
this.viewModel = t0;
this.context = t1;
this.invoice = t2;
},
InvoiceEditDesktopState_build_closure1: function InvoiceEditDesktopState_build_closure1(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
InvoiceEditDesktopState_build_closure3: function InvoiceEditDesktopState_build_closure3(t0, t1) {
this.context = t0;
this.client = t1;
},
InvoiceEditDesktopState_build_closure8: function InvoiceEditDesktopState_build_closure8(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure12: function InvoiceEditDesktopState_build__closure12(t0) {
this.value = t0;
},
InvoiceEditDesktopState_build_closure4: function InvoiceEditDesktopState_build_closure4(t0) {
this.localization = t0;
},
InvoiceEditDesktopState_build_closure5: function InvoiceEditDesktopState_build_closure5(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure13: function InvoiceEditDesktopState_build__closure13(t0) {
this.date = t0;
},
InvoiceEditDesktopState_build_closure9: function InvoiceEditDesktopState_build_closure9(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure11: function InvoiceEditDesktopState_build__closure11(t0) {
this.value = t0;
},
InvoiceEditDesktopState_build_closure6: function InvoiceEditDesktopState_build_closure6() {
},
InvoiceEditDesktopState_build_closure10: function InvoiceEditDesktopState_build_closure10(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure10: function InvoiceEditDesktopState_build__closure10(t0) {
this.value = t0;
},
InvoiceEditDesktopState_build_closure7: function InvoiceEditDesktopState_build_closure7(t0) {
this.localization = t0;
},
InvoiceEditDesktopState_build_closure12: function InvoiceEditDesktopState_build_closure12(t0) {
this.context = t0;
},
InvoiceEditDesktopState_build_closure11: function InvoiceEditDesktopState_build_closure11(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure9: function InvoiceEditDesktopState_build__closure9(t0) {
this.date = t0;
},
InvoiceEditDesktopState_build_closure13: function InvoiceEditDesktopState_build_closure13(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure8: function InvoiceEditDesktopState_build__closure8(t0) {
this.date = t0;
},
InvoiceEditDesktopState_build_closure14: function InvoiceEditDesktopState_build_closure14(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.invoice = t1;
_.state = t2;
_.localization = t3;
},
InvoiceEditDesktopState_build_closure15: function InvoiceEditDesktopState_build_closure15(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure7: function InvoiceEditDesktopState_build__closure7(t0) {
this.date = t0;
},
InvoiceEditDesktopState_build_closure16: function InvoiceEditDesktopState_build_closure16(t0, t1, t2) {
this.invoice = t0;
this.originalInvoice = t1;
this.context = t2;
},
InvoiceEditDesktopState_build_closure17: function InvoiceEditDesktopState_build_closure17(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure6: function InvoiceEditDesktopState_build__closure6(t0) {
this.value = t0;
},
InvoiceEditDesktopState_build_closure18: function InvoiceEditDesktopState_build_closure18(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure5: function InvoiceEditDesktopState_build__closure5(t0) {
this.value = t0;
},
InvoiceEditDesktopState_build_closure19: function InvoiceEditDesktopState_build_closure19(t0) {
this.localization = t0;
},
InvoiceEditDesktopState_build_closure20: function InvoiceEditDesktopState_build_closure20() {
},
InvoiceEditDesktopState_build_closure21: function InvoiceEditDesktopState_build_closure21(t0) {
this.$this = t0;
},
InvoiceEditDesktopState_build__closure4: function InvoiceEditDesktopState_build__closure4(t0, t1) {
this.$this = t0;
this.index = t1;
},
InvoiceEditDesktopState_build_closure22: function InvoiceEditDesktopState_build_closure22(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure3: function InvoiceEditDesktopState_build__closure3(t0) {
this.value = t0;
},
InvoiceEditDesktopState_build_closure23: function InvoiceEditDesktopState_build_closure23(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure2: function InvoiceEditDesktopState_build__closure2(t0) {
this.userId = t0;
},
InvoiceEditDesktopState_build_closure24: function InvoiceEditDesktopState_build_closure24(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure1: function InvoiceEditDesktopState_build__closure1(t0) {
this.value = t0;
},
InvoiceEditDesktopState_build_closure25: function InvoiceEditDesktopState_build_closure25(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure0: function InvoiceEditDesktopState_build__closure0(t0) {
this.value = t0;
},
InvoiceEditDesktopState_build_closure26: function InvoiceEditDesktopState_build_closure26(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build__closure: function InvoiceEditDesktopState_build__closure(t0) {
this.value = t0;
},
InvoiceEditDesktopState_build_closure27: function InvoiceEditDesktopState_build_closure27(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build_closure28: function InvoiceEditDesktopState_build_closure28(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDesktopState_build_closure29: function InvoiceEditDesktopState_build_closure29(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
_PdfPreview: function _PdfPreview(t0, t1) {
this.invoice = t0;
this.key = t1;
},
__PdfPreviewState: function __PdfPreviewState(t0, t1) {
var _ = this;
_._pdfDebouncer = t0;
_._currentPage = _._pageCount = 1;
_._invoice_edit_desktop$_isLoading = false;
_._widget = _._invoice_edit_desktop$_pdfController = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
__PdfPreviewState_loadPdf_closure: function __PdfPreviewState_loadPdf_closure(t0) {
this.$this = t0;
},
__PdfPreviewState__loadPdf_closure: function __PdfPreviewState__loadPdf_closure(t0) {
this.$this = t0;
},
__PdfPreviewState__loadPdf_closure0: function __PdfPreviewState__loadPdf_closure0(t0) {
this.$this = t0;
},
__PdfPreviewState__loadPdf__closure0: function __PdfPreviewState__loadPdf__closure0(t0, t1) {
this.$this = t0;
this.response = t1;
},
__PdfPreviewState__loadPdf_closure1: function __PdfPreviewState__loadPdf_closure1(t0) {
this.$this = t0;
},
__PdfPreviewState__loadPdf__closure: function __PdfPreviewState__loadPdf__closure(t0) {
this.$this = t0;
},
__PdfPreviewState_build_closure: function __PdfPreviewState_build_closure(t0) {
this.$this = t0;
},
__PdfPreviewState_build_closure0: function __PdfPreviewState_build_closure0(t0) {
this.$this = t0;
},
__PdfPreviewState_build_closure1: function __PdfPreviewState_build_closure1(t0) {
this.$this = t0;
},
__PdfPreviewState_build__closure0: function __PdfPreviewState_build__closure0(t0, t1) {
this.$this = t0;
this.document = t1;
},
__PdfPreviewState_build_closure2: function __PdfPreviewState_build_closure2(t0) {
this.$this = t0;
},
__PdfPreviewState_build__closure: function __PdfPreviewState_build__closure(t0, t1) {
this.$this = t0;
this.page = t1;
},
_InvoiceEditDesktopState_State_TickerProviderStateMixin: function _InvoiceEditDesktopState_State_TickerProviderStateMixin() {
},
InvoiceViewHistory: function InvoiceViewHistory(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_InvoiceViewHistoryState: function _InvoiceViewHistoryState(t0) {
this._widget = null;
this._debugLifecycleState = t0;
this._framework$_element = null;
},
_InvoiceViewHistoryState_build_closure: function _InvoiceViewHistoryState_build_closure() {
},
_InvoiceViewHistoryState_build_closure0: function _InvoiceViewHistoryState_build_closure0() {
},
_InvoiceViewHistoryState_build_closure1: function _InvoiceViewHistoryState_build_closure1(t0, t1, t2) {
this.activityList = t0;
this.viewModel = t1;
this.invoice = t2;
},
_InvoiceViewHistoryState_build__closure: function _InvoiceViewHistoryState_build__closure(t0, t1, t2, t3) {
var _ = this;
_.viewModel = t0;
_.context = t1;
_.invoice = t2;
_.history = t3;
},
_InvoiceViewHistoryState_build_closure2: function _InvoiceViewHistoryState_build_closure2() {
},
ProductEditVM_ProductEditVM$fromStore: function(store) {
var t3, t4,
state = store.get$_store$_state(),
t1 = state.uiState,
product = t1.productUIState.editing,
t2 = state.userCompanyStates;
t1 = t1.selectedCompanyIndex;
t2 = t2._list;
t3 = J.getInterceptor$asx(t2);
t4 = t3.$index(t2, t1).userCompany.company;
product.get$isNew();
t1 = t3.$index(t2, t1).productState.map;
t2 = product.id;
J.$index$asx(t1._map$_map, t2);
return new S.ProductEditVM(state, t4, product, new S.ProductEditVM_ProductEditVM$fromStore_closure(store), new S.ProductEditVM_ProductEditVM$fromStore_closure0(store, state), new S.ProductEditVM_ProductEditVM$fromStore_closure1(store, state));
},
ProductEditScreen: function ProductEditScreen(t0) {
this.key = t0;
},
ProductEditScreen_build_closure0: function ProductEditScreen_build_closure0() {
},
ProductEditScreen_build_closure: function ProductEditScreen_build_closure() {
},
ProductEditVM: function ProductEditVM(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.state = t0;
_.company = t1;
_.product = t2;
_.onChanged = t3;
_.onSavePressed = t4;
_.onCancelPressed = t5;
},
ProductEditVM_ProductEditVM$fromStore_closure: function ProductEditVM_ProductEditVM$fromStore_closure(t0) {
this.store = t0;
},
ProductEditVM_ProductEditVM$fromStore_closure1: function ProductEditVM_ProductEditVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.state = t1;
},
ProductEditVM_ProductEditVM$fromStore_closure0: function ProductEditVM_ProductEditVM$fromStore_closure0(t0, t1) {
this.store = t0;
this.state = t1;
},
ProductEditVM_ProductEditVM$fromStore__closure: function ProductEditVM_ProductEditVM$fromStore__closure(t0, t1) {
this.store = t0;
this.state = t1;
},
ProductEditVM_ProductEditVM$fromStore___closure: function ProductEditVM_ProductEditVM$fromStore___closure(t0, t1, t2, t3, t4) {
var _ = this;
_.product = t0;
_.localization = t1;
_.state = t2;
_.store = t3;
_.navigator = t4;
},
ProductEditVM_ProductEditVM$fromStore___closure0: function ProductEditVM_ProductEditVM$fromStore___closure0() {
},
ProductEditVM_ProductEditVM$fromStore____closure: function ProductEditVM_ProductEditVM$fromStore____closure(t0) {
this.error = t0;
},
ProjectScreenVM_fromStore: function(store) {
var t4, t5, t6, t7, t8,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t4.$index(t1, t3).projectState.toString;
t5 = $.$get$memoizedFilteredProjectList();
t6 = state.getUISelection$1(C.EntityType_project);
t7 = t4.$index(t1, t3).projectState.map;
t8 = t4.$index(t1, t3).projectState.list;
t2 = t2.projectUIState.listUIState;
t8 = t5.call$6(t6, t7, t8, t2, t4.$index(t1, t3).clientState.map, t4.$index(t1, t3).userState.map);
t4.$index(t1, t3).toString;
t2.toString;
return new S.ProjectScreenVM(t8);
},
ProjectScreenBuilder: function ProjectScreenBuilder(t0) {
this.key = t0;
},
ProjectScreenBuilder_build_closure: function ProjectScreenBuilder_build_closure() {
},
ProjectScreenVM: function ProjectScreenVM(t0) {
this.projectList = t0;
},
RecurringExpenseListItem: function RecurringExpenseListItem(t0, t1, t2, t3) {
var _ = this;
_.expense = t0;
_.filter = t1;
_.isChecked = t2;
_.key = t3;
},
RecurringExpenseListItem_build_closure: function RecurringExpenseListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.showCheckbox = t2;
_.listUIState = t3;
_.isChecked = t4;
_.state = t5;
_.textStyle = t6;
_.filterMatch = t7;
_.textColor = t8;
},
RecurringExpenseListItem_build__closure2: function RecurringExpenseListItem_build__closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
RecurringExpenseListItem_build__closure1: function RecurringExpenseListItem_build__closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
RecurringExpenseListItem_build__closure: function RecurringExpenseListItem_build__closure(t0) {
this.$this = t0;
},
RecurringExpenseListItem_build__closure0: function RecurringExpenseListItem_build__closure0(t0) {
this.$this = t0;
},
RecurringExpenseListItem_build__closure5: function RecurringExpenseListItem_build__closure5(t0, t1) {
this.$this = t0;
this.context = t1;
},
RecurringExpenseListItem_build__closure4: function RecurringExpenseListItem_build__closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
RecurringExpenseListItem_build__closure3: function RecurringExpenseListItem_build__closure3(t0) {
this.$this = t0;
},
ClientPortal: function ClientPortal(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_ClientPortalState: function _ClientPortalState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) {
var _ = this;
_._client_portal$_focusNode = t0;
_._client_portal$_controller = null;
_._webClient = t1;
_._client_portal$_autoValidate = false;
_._isSubdomainUnique = true;
_._isCheckingSubdomain = false;
_._client_portal$_debouncer = t2;
_._subdomainController = t3;
_._portalDomainController = t4;
_._customCssController = t5;
_._customJavaScriptController = t6;
_._customHeaderController = t7;
_._customFooterController = t8;
_._client_portal$_customMessageDashboard = t9;
_._client_portal$_customMessageUnpaidInvoice = t10;
_._client_portal$_customMessagePaidInvoice = t11;
_._client_portal$_customMessageUnapprovedQuote = t12;
_._termsController = t13;
_._privacyController = t14;
_._client_portal$_controllers = t15;
_.SingleTickerProviderStateMixin__ticker = t16;
_._widget = null;
_._debugLifecycleState = t17;
_._framework$_element = null;
},
_ClientPortalState__validateSubdomain_closure: function _ClientPortalState__validateSubdomain_closure(t0) {
this.$this = t0;
},
_ClientPortalState__validateSubdomain_closure0: function _ClientPortalState__validateSubdomain_closure0(t0) {
this.$this = t0;
},
_ClientPortalState__validateSubdomain__closure: function _ClientPortalState__validateSubdomain__closure(t0) {
this.$this = t0;
},
_ClientPortalState__validateSubdomain__closure0: function _ClientPortalState__validateSubdomain__closure0(t0) {
this.$this = t0;
},
_ClientPortalState__validateSubdomain__closure1: function _ClientPortalState__validateSubdomain__closure1(t0) {
this.$this = t0;
},
_ClientPortalState__validateSubdomain___closure0: function _ClientPortalState__validateSubdomain___closure0(t0) {
this.$this = t0;
},
_ClientPortalState__validateSubdomain__closure2: function _ClientPortalState__validateSubdomain__closure2(t0) {
this.$this = t0;
},
_ClientPortalState__validateSubdomain___closure: function _ClientPortalState__validateSubdomain___closure(t0) {
this.$this = t0;
},
_ClientPortalState_dispose_closure: function _ClientPortalState_dispose_closure(t0) {
this.$this = t0;
},
_ClientPortalState_didChangeDependencies_closure: function _ClientPortalState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
_ClientPortalState_didChangeDependencies_closure0: function _ClientPortalState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
_ClientPortalState__onChanged_closure: function _ClientPortalState__onChanged_closure(t0) {
this.$this = t0;
},
_ClientPortalState__onChanged__closure: function _ClientPortalState__onChanged__closure(t0) {
this.$this = t0;
},
_ClientPortalState__onChanged__closure0: function _ClientPortalState__onChanged__closure0(t0) {
this.$this = t0;
},
_ClientPortalState__onSavePressed_closure: function _ClientPortalState__onSavePressed_closure(t0, t1) {
this.$this = t0;
this.isValid = t1;
},
_ClientPortalState_build_closure17: function _ClientPortalState_build_closure17(t0) {
this.$this = t0;
},
_ClientPortalState_build_closure: function _ClientPortalState_build_closure(t0) {
this.viewModel = t0;
},
_ClientPortalState_build__closure10: function _ClientPortalState_build__closure10(t0) {
this.value = t0;
},
_ClientPortalState_build_closure1: function _ClientPortalState_build_closure1(t0, t1) {
this.$this = t0;
this.localization = t1;
},
_ClientPortalState_build_closure0: function _ClientPortalState_build_closure0(t0) {
this.$this = t0;
},
_ClientPortalState_build_closure2: function _ClientPortalState_build_closure2(t0, t1) {
this.state = t0;
this.localization = t1;
},
_ClientPortalState_build_closure3: function _ClientPortalState_build_closure3() {
},
_ClientPortalState_build_closure4: function _ClientPortalState_build_closure4(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_ClientPortalState_build__closure9: function _ClientPortalState_build__closure9(t0) {
this.value = t0;
},
_ClientPortalState_build_closure5: function _ClientPortalState_build_closure5(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_ClientPortalState_build__closure8: function _ClientPortalState_build__closure8(t0) {
this.value = t0;
},
_ClientPortalState_build_closure6: function _ClientPortalState_build_closure6(t0, t1) {
this.viewModel = t0;
this.company = t1;
},
_ClientPortalState_build__closure7: function _ClientPortalState_build__closure7(t0) {
this.value = t0;
},
_ClientPortalState_build_closure7: function _ClientPortalState_build_closure7(t0, t1) {
this.registrationUrl = t0;
this.localization = t1;
},
_ClientPortalState_build_closure8: function _ClientPortalState_build_closure8(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_ClientPortalState_build__closure6: function _ClientPortalState_build__closure6(t0) {
this.value = t0;
},
_ClientPortalState_build_closure9: function _ClientPortalState_build_closure9(t0, t1) {
this.viewModel = t0;
this.company = t1;
},
_ClientPortalState_build__closure5: function _ClientPortalState_build__closure5(t0) {
this.value = t0;
},
_ClientPortalState_build_closure10: function _ClientPortalState_build_closure10(t0, t1) {
this.company = t0;
this.localization = t1;
},
_ClientPortalState_build_closure11: function _ClientPortalState_build_closure11(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_ClientPortalState_build__closure4: function _ClientPortalState_build__closure4(t0) {
this.value = t0;
},
_ClientPortalState_build_closure12: function _ClientPortalState_build_closure12(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_ClientPortalState_build__closure3: function _ClientPortalState_build__closure3(t0) {
this.value = t0;
},
_ClientPortalState_build_closure13: function _ClientPortalState_build_closure13(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_ClientPortalState_build__closure2: function _ClientPortalState_build__closure2(t0) {
this.value = t0;
},
_ClientPortalState_build_closure14: function _ClientPortalState_build_closure14(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_ClientPortalState_build__closure1: function _ClientPortalState_build__closure1(t0) {
this.value = t0;
},
_ClientPortalState_build_closure15: function _ClientPortalState_build_closure15(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_ClientPortalState_build__closure0: function _ClientPortalState_build__closure0(t0) {
this.value = t0;
},
_ClientPortalState_build_closure16: function _ClientPortalState_build_closure16(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_ClientPortalState_build__closure: function _ClientPortalState_build__closure(t0) {
this.value = t0;
},
__ClientPortalState_State_SingleTickerProviderStateMixin: function __ClientPortalState_State_SingleTickerProviderStateMixin() {
},
CustomFields: function CustomFields(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_CustomFieldsState: function _CustomFieldsState(t0, t1) {
var _ = this;
_._custom_fields$_controller = _._custom_fields$_focusNode = null;
_.SingleTickerProviderStateMixin__ticker = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_CustomFieldsState_initState_closure: function _CustomFieldsState_initState_closure(t0, t1) {
this._box_0 = t0;
this.state = t1;
},
CustomFieldsSettings: function CustomFieldsSettings(t0, t1, t2, t3) {
var _ = this;
_.viewModel = t0;
_.showChargeTaxes = t1;
_.fieldType = t2;
_.key = t3;
},
CustomFieldsSettings_build_closure: function CustomFieldsSettings_build_closure(t0, t1) {
this.$this = t0;
this.company = t1;
},
CustomFieldsSettings_build__closure6: function CustomFieldsSettings_build__closure6(t0, t1) {
this.$this = t0;
this.value = t1;
},
CustomFieldsSettings_build_closure0: function CustomFieldsSettings_build_closure0(t0, t1) {
this.$this = t0;
this.company = t1;
},
CustomFieldsSettings_build__closure5: function CustomFieldsSettings_build__closure5(t0) {
this.value = t0;
},
CustomFieldsSettings_build_closure1: function CustomFieldsSettings_build_closure1(t0, t1) {
this.$this = t0;
this.company = t1;
},
CustomFieldsSettings_build__closure4: function CustomFieldsSettings_build__closure4(t0, t1) {
this.$this = t0;
this.value = t1;
},
CustomFieldsSettings_build_closure2: function CustomFieldsSettings_build_closure2(t0, t1) {
this.$this = t0;
this.company = t1;
},
CustomFieldsSettings_build__closure3: function CustomFieldsSettings_build__closure3(t0) {
this.value = t0;
},
CustomFieldsSettings_build_closure3: function CustomFieldsSettings_build_closure3(t0, t1) {
this.$this = t0;
this.company = t1;
},
CustomFieldsSettings_build__closure2: function CustomFieldsSettings_build__closure2(t0, t1) {
this.$this = t0;
this.value = t1;
},
CustomFieldsSettings_build_closure4: function CustomFieldsSettings_build_closure4(t0, t1) {
this.$this = t0;
this.company = t1;
},
CustomFieldsSettings_build__closure1: function CustomFieldsSettings_build__closure1(t0) {
this.value = t0;
},
CustomFieldsSettings_build_closure5: function CustomFieldsSettings_build_closure5(t0, t1) {
this.$this = t0;
this.company = t1;
},
CustomFieldsSettings_build__closure0: function CustomFieldsSettings_build__closure0(t0, t1) {
this.$this = t0;
this.value = t1;
},
CustomFieldsSettings_build_closure6: function CustomFieldsSettings_build_closure6(t0, t1) {
this.$this = t0;
this.company = t1;
},
CustomFieldsSettings_build__closure: function CustomFieldsSettings_build__closure(t0) {
this.value = t0;
},
CustomFormField: function CustomFormField(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.label = t0;
_.value = t1;
_.showTaxes = t2;
_.taxesEnabled = t3;
_.onChanged = t4;
_.onTaxesChanged = t5;
_.key = t6;
},
_CustomFormFieldState: function _CustomFormFieldState(t0, t1, t2, t3) {
var _ = this;
_._customFieldController = t0;
_._optionsController = t1;
_._fieldType = "single_line_text";
_._custom_fields$_controllers = t2;
_._widget = null;
_._debugLifecycleState = t3;
_._framework$_element = null;
},
_CustomFormFieldState_dispose_closure: function _CustomFormFieldState_dispose_closure(t0) {
this.$this = t0;
},
_CustomFormFieldState_didChangeDependencies_closure: function _CustomFormFieldState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
_CustomFormFieldState_didChangeDependencies_closure0: function _CustomFormFieldState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
_CustomFormFieldState__onChanged_closure: function _CustomFormFieldState__onChanged_closure() {
},
_CustomFormFieldState_build_closure: function _CustomFormFieldState_build_closure() {
},
_CustomFormFieldState_build_closure0: function _CustomFormFieldState_build_closure0(t0) {
this.$this = t0;
},
_CustomFormFieldState_build_closure1: function _CustomFormFieldState_build_closure1(t0) {
this.$this = t0;
},
_CustomFormFieldState_build__closure: function _CustomFormFieldState_build__closure(t0, t1) {
this.$this = t0;
this.value = t1;
},
__CustomFieldsState_State_SingleTickerProviderStateMixin: function __CustomFieldsState_State_SingleTickerProviderStateMixin() {
},
SubscriptionEdit: function SubscriptionEdit(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_SubscriptionEditState: function _SubscriptionEditState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_._subscription_edit$_debouncer = t0;
_._subscription_edit$_controller = _._subscription_edit$_focusNode = null;
_._subscription_edit$_nameController = t1;
_._promoCodeController = t2;
_._promoDiscountController = t3;
_._maxSeatsLimitController = t4;
_._returnUrlController = t5;
_._postPurchaseHeaderKeyController = t6;
_._postPurchaseHeaderValueController = t7;
_._postPurchaseUrlController = t8;
_._subscription_edit$_controllers = t9;
_.SingleTickerProviderStateMixin__ticker = t10;
_._widget = null;
_._debugLifecycleState = t11;
_._framework$_element = null;
},
_SubscriptionEditState_didChangeDependencies_closure: function _SubscriptionEditState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
_SubscriptionEditState_didChangeDependencies_closure0: function _SubscriptionEditState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
_SubscriptionEditState_dispose_closure: function _SubscriptionEditState_dispose_closure(t0) {
this.$this = t0;
},
_SubscriptionEditState__onChanged_closure: function _SubscriptionEditState__onChanged_closure(t0) {
this.$this = t0;
},
_SubscriptionEditState__onChanged_closure0: function _SubscriptionEditState__onChanged_closure0(t0, t1) {
this.$this = t0;
this.subscription = t1;
},
_SubscriptionEditState_build_closure24: function _SubscriptionEditState_build_closure24(t0) {
this.viewModel = t0;
},
_SubscriptionEditState_build_closure25: function _SubscriptionEditState_build_closure25(t0) {
this.viewModel = t0;
},
_SubscriptionEditState_build_closure: function _SubscriptionEditState_build_closure(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure19: function _SubscriptionEditState_build__closure19(t0) {
this.groupId = t0;
},
_SubscriptionEditState_build_closure0: function _SubscriptionEditState_build_closure0(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure18: function _SubscriptionEditState_build__closure18(t0) {
this.userId = t0;
},
_SubscriptionEditState_build_closure1: function _SubscriptionEditState_build_closure1(t0, t1) {
this.subscription = t0;
this.viewModel = t1;
},
_SubscriptionEditState_build__closure17: function _SubscriptionEditState_build__closure17(t0, t1) {
this.parts = t0;
this.value = t1;
},
_SubscriptionEditState_build___closure3: function _SubscriptionEditState_build___closure3() {
},
_SubscriptionEditState_build_closure2: function _SubscriptionEditState_build_closure2() {
},
_SubscriptionEditState_build_closure3: function _SubscriptionEditState_build_closure3(t0, t1, t2) {
this.state = t0;
this.subscription = t1;
this.viewModel = t2;
},
_SubscriptionEditState_build__closure16: function _SubscriptionEditState_build__closure16(t0, t1, t2) {
this.subscription = t0;
this.productId = t1;
this.viewModel = t2;
},
_SubscriptionEditState_build___closure2: function _SubscriptionEditState_build___closure2(t0) {
this.parts = t0;
},
_SubscriptionEditState_build_closure4: function _SubscriptionEditState_build_closure4(t0, t1) {
this.subscription = t0;
this.viewModel = t1;
},
_SubscriptionEditState_build__closure15: function _SubscriptionEditState_build__closure15(t0, t1) {
this.parts = t0;
this.value = t1;
},
_SubscriptionEditState_build___closure1: function _SubscriptionEditState_build___closure1() {
},
_SubscriptionEditState_build_closure5: function _SubscriptionEditState_build_closure5() {
},
_SubscriptionEditState_build_closure6: function _SubscriptionEditState_build_closure6(t0, t1, t2) {
this.state = t0;
this.subscription = t1;
this.viewModel = t2;
},
_SubscriptionEditState_build__closure14: function _SubscriptionEditState_build__closure14(t0, t1, t2) {
this.subscription = t0;
this.productId = t1;
this.viewModel = t2;
},
_SubscriptionEditState_build___closure0: function _SubscriptionEditState_build___closure0(t0) {
this.parts = t0;
},
_SubscriptionEditState_build_closure7: function _SubscriptionEditState_build_closure7(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure13: function _SubscriptionEditState_build__closure13(t0) {
this.value = t0;
},
_SubscriptionEditState_build_closure8: function _SubscriptionEditState_build_closure8(t0) {
this.localization = t0;
},
_SubscriptionEditState_build_closure9: function _SubscriptionEditState_build_closure9(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure12: function _SubscriptionEditState_build__closure12(t0) {
this.value = t0;
},
_SubscriptionEditState_build_closure10: function _SubscriptionEditState_build_closure10(t0) {
this.localization = t0;
},
_SubscriptionEditState_build_closure11: function _SubscriptionEditState_build_closure11(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure11: function _SubscriptionEditState_build__closure11(t0) {
this.value = t0;
},
_SubscriptionEditState_build_closure12: function _SubscriptionEditState_build_closure12(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure10: function _SubscriptionEditState_build__closure10(t0) {
this.value = t0;
},
_SubscriptionEditState_build_closure13: function _SubscriptionEditState_build_closure13(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure9: function _SubscriptionEditState_build__closure9(t0) {
this.value = t0;
},
_SubscriptionEditState_build_closure14: function _SubscriptionEditState_build_closure14(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure8: function _SubscriptionEditState_build__closure8(t0) {
this.value = t0;
},
_SubscriptionEditState_build_closure15: function _SubscriptionEditState_build_closure15(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure7: function _SubscriptionEditState_build__closure7(t0) {
this.value = t0;
},
_SubscriptionEditState_build_closure16: function _SubscriptionEditState_build_closure16(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure6: function _SubscriptionEditState_build__closure6(t0) {
this.value = t0;
},
_SubscriptionEditState_build_closure17: function _SubscriptionEditState_build_closure17(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure5: function _SubscriptionEditState_build__closure5(t0) {
this.value = t0;
},
_SubscriptionEditState_build_closure18: function _SubscriptionEditState_build_closure18(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure4: function _SubscriptionEditState_build__closure4(t0) {
this.value = t0;
},
_SubscriptionEditState_build_closure21: function _SubscriptionEditState_build_closure21(t0, t1) {
this.viewModel = t0;
this.subscription = t1;
},
_SubscriptionEditState_build__closure1: function _SubscriptionEditState_build__closure1(t0) {
this.value = t0;
},
_SubscriptionEditState_build_closure19: function _SubscriptionEditState_build_closure19(t0) {
this.$this = t0;
},
_SubscriptionEditState_build__closure3: function _SubscriptionEditState_build__closure3() {
},
_SubscriptionEditState_build_closure20: function _SubscriptionEditState_build_closure20(t0) {
this.$this = t0;
},
_SubscriptionEditState_build__closure2: function _SubscriptionEditState_build__closure2() {
},
_SubscriptionEditState_build_closure22: function _SubscriptionEditState_build_closure22(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.$this = t0;
_.webhookConfiguration = t1;
_.key = t2;
_.viewModel = t3;
_.subscription = t4;
_.value = t5;
},
_SubscriptionEditState_build__closure0: function _SubscriptionEditState_build__closure0(t0, t1) {
this.key = t0;
this.value = t1;
},
_SubscriptionEditState_build_closure23: function _SubscriptionEditState_build_closure23(t0, t1, t2, t3) {
var _ = this;
_.webhookConfiguration = t0;
_.localization = t1;
_.viewModel = t2;
_.subscription = t3;
},
_SubscriptionEditState_build__closure: function _SubscriptionEditState_build__closure(t0, t1, t2) {
this.viewModel = t0;
this.subscription = t1;
this.key = t2;
},
_SubscriptionEditState_build___closure: function _SubscriptionEditState_build___closure(t0) {
this.key = t0;
},
__SubscriptionEditState_State_SingleTickerProviderStateMixin: function __SubscriptionEditState_State_SingleTickerProviderStateMixin() {
},
SubscriptionListVM_fromStore: function(store) {
var t4, t5, t6, t7,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t4.$index(t1, t3).toString;
t2 = t2.subscriptionUIState;
t2.toString;
t2 = t2.listUIState;
t5 = $.$get$memoizedFilteredSubscriptionList().call$4(state.getUISelection$1(C.EntityType_subscription), t4.$index(t1, t3).subscriptionState.map, t4.$index(t1, t3).subscriptionState.list, t2);
t6 = t4.$index(t1, t3).subscriptionState.map;
t2 = t2.filter;
t7 = t4.$index(t1, t3).userCompany.settings.getTableColumns$1(C.EntityType_subscription);
if (t7 == null) {
t4.$index(t1, t3).toString;
t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String);
} else
t1 = t7;
return new S.SubscriptionListVM(state, t5, t6, t2, new S.SubscriptionListVM_fromStore_closure(new S.SubscriptionListVM_fromStore__handleRefresh(store)), t1, new S.SubscriptionListVM_fromStore_closure0(store), new S.SubscriptionListVM_fromStore_closure1(store));
},
SubscriptionListBuilder: function SubscriptionListBuilder(t0) {
this.key = t0;
},
SubscriptionListBuilder_build_closure: function SubscriptionListBuilder_build_closure() {
},
SubscriptionListBuilder_build__closure: function SubscriptionListBuilder_build__closure(t0) {
this.viewModel = t0;
},
SubscriptionListVM: function SubscriptionListVM(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.state = t0;
_.subscriptionList = t1;
_.subscriptionMap = t2;
_.filter = t3;
_.onRefreshed = t4;
_.tableColumns = t5;
_.onSortColumn = t6;
_.onClearMultielsect = t7;
},
SubscriptionListVM_fromStore__handleRefresh: function SubscriptionListVM_fromStore__handleRefresh(t0) {
this.store = t0;
},
SubscriptionListVM_fromStore_closure: function SubscriptionListVM_fromStore_closure(t0) {
this._handleRefresh = t0;
},
SubscriptionListVM_fromStore_closure0: function SubscriptionListVM_fromStore_closure0(t0) {
this.store = t0;
},
SubscriptionListVM_fromStore_closure1: function SubscriptionListVM_fromStore_closure1(t0) {
this.store = t0;
},
TaskOverview: function TaskOverview(t0, t1, t2) {
this.viewModel = t0;
this.isFilter = t1;
this.key = t2;
},
_TaskOverviewState: function _TaskOverviewState(t0) {
var _ = this;
_._widget = _._task_view_overview$_timer = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_TaskOverviewState_initState_closure: function _TaskOverviewState_initState_closure(t0) {
this.$this = t0;
},
_TaskOverviewState_initState__closure: function _TaskOverviewState_initState__closure() {
},
_TaskOverviewState_build__buildView: function _TaskOverviewState_build__buildView(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
var _ = this;
_.$this = t0;
_.task = t1;
_.state = t2;
_.localization = t3;
_.company = t4;
_.project = t5;
_.client = t6;
_.group = t7;
_.context = t8;
_.status = t9;
_.user = t10;
_.invoice = t11;
_.fields = t12;
_.viewModel = t13;
},
_TaskOverviewState_build__buildView_closure: function _TaskOverviewState_build__buildView_closure(t0, t1, t2) {
this.widgets = t0;
this.task = t1;
this.viewModel = t2;
},
_TaskOverviewState_build__buildView__closure: function _TaskOverviewState_build__buildView__closure(t0, t1, t2) {
this.viewModel = t0;
this.task = t1;
this.taskTime = t2;
},
_TaskOverviewState_build_closure: function _TaskOverviewState_build_closure(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
TaxRateEditVM_TaxRateEditVM$fromStore: function(store) {
var t3, t4, t5,
taxRate = store.get$_store$_state().uiState.taxRateUIState.editing,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState.selectedCompanyIndex;
t1 = t1._list;
t3 = J.getInterceptor$asx(t1);
t4 = t3.$index(t1, t2).taxRateState.map;
t5 = taxRate.id;
J.$index$asx(t4._map$_map, t5);
return new S.TaxRateEditVM(taxRate, t3.$index(t1, t2).userCompany.company, new S.TaxRateEditVM_TaxRateEditVM$fromStore_closure(store), new S.TaxRateEditVM_TaxRateEditVM$fromStore_closure0(store, state), new S.TaxRateEditVM_TaxRateEditVM$fromStore_closure1(store, state), state);
},
TaxRateEditScreen: function TaxRateEditScreen(t0) {
this.key = t0;
},
TaxRateEditScreen_build_closure0: function TaxRateEditScreen_build_closure0() {
},
TaxRateEditScreen_build_closure: function TaxRateEditScreen_build_closure() {
},
TaxRateEditVM: function TaxRateEditVM(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.taxRate = t0;
_.company = t1;
_.onChanged = t2;
_.onSavePressed = t3;
_.onCancelPressed = t4;
_.state = t5;
},
TaxRateEditVM_TaxRateEditVM$fromStore_closure: function TaxRateEditVM_TaxRateEditVM$fromStore_closure(t0) {
this.store = t0;
},
TaxRateEditVM_TaxRateEditVM$fromStore_closure1: function TaxRateEditVM_TaxRateEditVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.state = t1;
},
TaxRateEditVM_TaxRateEditVM$fromStore_closure0: function TaxRateEditVM_TaxRateEditVM$fromStore_closure0(t0, t1) {
this.store = t0;
this.state = t1;
},
TaxRateEditVM_TaxRateEditVM$fromStore__closure: function TaxRateEditVM_TaxRateEditVM$fromStore__closure(t0, t1) {
this.store = t0;
this.state = t1;
},
TaxRateEditVM_TaxRateEditVM$fromStore___closure: function TaxRateEditVM_TaxRateEditVM$fromStore___closure(t0, t1, t2, t3, t4) {
var _ = this;
_.taxRate = t0;
_.localization = t1;
_.state = t2;
_.store = t3;
_.navigator = t4;
},
TaxRateEditVM_TaxRateEditVM$fromStore___closure0: function TaxRateEditVM_TaxRateEditVM$fromStore___closure0() {
},
TaxRateEditVM_TaxRateEditVM$fromStore____closure: function TaxRateEditVM_TaxRateEditVM$fromStore____closure(t0) {
this.error = t0;
},
TokenScreen: function TokenScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
TokenScreen_build_closure9: function TokenScreen_build_closure9(t0) {
this.store = t0;
},
TokenScreen_build_closure7: function TokenScreen_build_closure7(t0) {
this.store = t0;
},
TokenScreen_build_closure8: function TokenScreen_build_closure8(t0) {
this.store = t0;
},
TokenScreen_build_closure4: function TokenScreen_build_closure4(t0) {
this.store = t0;
},
TokenScreen_build_closure5: function TokenScreen_build_closure5(t0) {
this.store = t0;
},
TokenScreen_build_closure: function TokenScreen_build_closure(t0) {
this.store = t0;
},
TokenScreen_build_closure0: function TokenScreen_build_closure0(t0) {
this.store = t0;
},
TokenScreen_build_closure1: function TokenScreen_build_closure1(t0) {
this.store = t0;
},
TokenScreen_build_closure2: function TokenScreen_build_closure2(t0) {
this.store = t0;
},
TokenScreen_build_closure3: function TokenScreen_build_closure3(t0) {
this.store = t0;
},
TokenScreen_build_closure6: function TokenScreen_build_closure6(t0) {
this.context = t0;
},
PdfDocument_openData: function(data) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.PdfDocument),
$async$returnValue, t2, t3, t1;
var $async$PdfDocument_openData = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
$async$goto = 3;
return P._asyncAwait(C.MethodChannel_EKW._invokeMethod$1$3$arguments$missingOk("open.document.data", data, false, type$.Map_dynamic_dynamic), $async$PdfDocument_openData);
case 3:
// returning from await.
t1 = $async$result;
t1.toString;
t2 = J.getInterceptor$asx(t1);
t3 = H._asStringS(t2.$index(t1, "id"));
t1 = H._asIntS(t2.$index(t1, "pagesCount"));
$async$returnValue = new S.PdfDocument(O.Lock_Lock(), "memory:binary", t3, t1);
// goto return
$async$goto = 1;
break;
case 1:
// return
return P._asyncReturn($async$returnValue, $async$completer);
}
});
return P._asyncStartSync($async$PdfDocument_openData, $async$completer);
},
PdfDocument: function PdfDocument(t0, t1, t2, t3) {
var _ = this;
_._lock = t0;
_.sourceName = t1;
_.id = t2;
_.pagesCount = t3;
},
PdfDocument_getPage_closure: function PdfDocument_getPage_closure(t0, t1) {
this.$this = t0;
this.pageNumber = t1;
},
PdfPageNotFoundException: function PdfPageNotFoundException() {
},
Document: function Document(t0, t1) {
this.id = t0;
this.document = t1;
},
DocumentRepository: function DocumentRepository(t0) {
this._items = t0;
},
PageRepository: function PageRepository(t0) {
this._items = t0;
},
QrValidator_validate: function(data, errorCorrectionLevel, version) {
var _qrCode_get, _qrCode_set, itle, ex, t2, exception, t1 = {};
t1._qrCode0 = $;
_qrCode_get = new S.QrValidator_validate__qrCode_get(t1);
_qrCode_set = new S.QrValidator_validate__qrCode_set(t1);
try {
if (version !== -1) {
_qrCode_set.call$1(D.QrCode$(version, errorCorrectionLevel));
t1 = _qrCode_get.call$0();
t1.toString;
t1._dataList.push(new V.QrByte(C.C_Utf8Encoder.convert$1(data)));
t1._dataCache = null;
} else {
t1 = D.QrCode$(D.QrCode__calculateTypeNumberFromData(errorCorrectionLevel, H.setRuntimeTypeInfo([new V.QrByte(C.C_Utf8Encoder.convert$1(data))], type$.JSArray_QrByte)), errorCorrectionLevel);
t1._dataList.push(new V.QrByte(C.C_Utf8Encoder.convert$1(data)));
t1._dataCache = null;
_qrCode_set.call$1(t1);
}
t1 = _qrCode_get.call$0();
t2 = t1._getBestMaskPattern$0();
t1._makeImpl$2(false, t2);
t1 = _qrCode_get.call$0();
return new S.QrValidationResult(C.QrValidationStatus_0, t1, null);
} catch (exception) {
t1 = H.unwrapException(exception);
if (t1 instanceof V.InputTooLongException) {
itle = t1;
return new S.QrValidationResult(C.QrValidationStatus_1, null, itle);
} else if (type$.Exception._is(t1)) {
ex = t1;
return new S.QrValidationResult(C.QrValidationStatus_2, null, ex);
} else
throw exception;
}
},
QrValidator_validate__qrCode_set: function QrValidator_validate__qrCode_set(t0) {
this._box_0 = t0;
},
QrValidator_validate__qrCode_get: function QrValidator_validate__qrCode_get(t0) {
this._box_0 = t0;
},
QrValidationResult: function QrValidationResult(t0, t1, t2) {
this.status = t0;
this.qrCode = t1;
this.error = t2;
},
QrValidationStatus: function QrValidationStatus(t0) {
this._validator$_name = t0;
},
BasicLock: function BasicLock() {
this.last = null;
},
BasicLock_synchronized__complete: function BasicLock_synchronized__complete(t0, t1) {
this.$this = t0;
this.completer = t1;
},
low: function(codeUnit) {
var index = C.JSString_methods._codeUnitAt$1(string$.u0e3b_____, codeUnit >>> 6) + (codeUnit & 63),
bit = index & 1,
pair = C.JSString_methods._codeUnitAt$1(string$.x22x22____, index >>> 1);
return pair >>> 4 & -bit | pair & 15 & bit - 1;
},
high: function(lead, tail) {
var index = C.JSString_methods._codeUnitAt$1(string$.u0e3b_____, 1024 + (lead & 1023)) + (tail & 1023),
bit = index & 1,
pair = C.JSString_methods._codeUnitAt$1(string$.x22x22____, index >>> 1);
return pair >>> 4 & -bit | pair & 15 & bit - 1;
},
setEquals: function(a, b) {
var t1;
if (a == null)
return b == null;
if (b == null || a.get$length(a) !== b.get$length(b))
return false;
if (a === b)
return true;
for (t1 = a.get$iterator(a); t1.moveNext$0();)
if (!b.contains$1(0, t1.get$current(t1)))
return false;
return true;
},
listEquals: function(a, b) {
var index;
if (a == null)
return b == null;
if (b == null || a.length !== b.length)
return false;
if (a === b)
return true;
for (index = 0; index < a.length; ++index)
if (!J.$eq$(a[index], b[index]))
return false;
return true;
},
mapEquals: function(a, b) {
var t1, t2, t3, key;
if (a == null)
return b == null;
if (b == null || J.get$length$asx(a) != J.get$length$asx(b))
return false;
if (a === b)
return true;
for (t1 = J.getInterceptor$x(a), t2 = J.get$iterator$ax(t1.get$keys(a)), t3 = J.getInterceptor$x(b); t2.moveNext$0();) {
key = t2.get$current(t2);
if (!t3.containsKey$1(b, key) || !J.$eq$(t3.$index(b, key), t1.$index(a, key)))
return false;
}
return true;
},
mergeSort: function(list, compare, $T) {
var middle, secondLength, scratchSpace, firstTarget,
end = list.length,
$length = end - 0;
if ($length < 2)
return;
if ($length < 32) {
S._insertionSort(list, compare, end, 0, $T);
return;
}
middle = C.JSInt_methods._shrOtherPositive$1($length, 1);
secondLength = end - middle;
scratchSpace = P.List_List$filled(secondLength, list[0], false, $T);
S._mergeSort(list, compare, middle, end, scratchSpace, 0);
firstTarget = end - (middle - 0);
S._mergeSort(list, compare, 0, middle, list, firstTarget);
S._merge(compare, list, firstTarget, end, scratchSpace, 0, secondLength, list, 0);
},
_insertionSort: function(list, compare, end, start, $T) {
var pos, element, max, min, mid;
for (pos = start + 1; pos < end;) {
element = list[pos];
for (max = pos, min = start; min < max;) {
mid = min + C.JSInt_methods._shrOtherPositive$1(max - min, 1);
if (compare.call$2(element, list[mid]) < 0)
max = mid;
else
min = mid + 1;
}
++pos;
C.JSArray_methods.setRange$4(list, min + 1, pos, list, min);
list[min] = element;
}
},
_movingInsertionSort: function(list, compare, start, end, target, targetOffset) {
var i, element, max, max0, min, mid,
$length = end - start;
if ($length === 0)
return;
target[targetOffset] = list[start];
for (i = 1; i < $length; ++i) {
element = list[start + i];
max = targetOffset + i;
for (max0 = max, min = targetOffset; min < max0;) {
mid = min + C.JSInt_methods._shrOtherPositive$1(max0 - min, 1);
if (compare.call$2(element, target[mid]) < 0)
max0 = mid;
else
min = mid + 1;
}
C.JSArray_methods.setRange$4(target, min + 1, max + 1, target, min);
target[min] = element;
}
},
_mergeSort: function(list, compare, start, end, target, targetOffset) {
var middle, firstLength, targetMiddle,
$length = end - start;
if ($length < 32) {
S._movingInsertionSort(list, compare, start, end, target, targetOffset);
return;
}
middle = start + C.JSInt_methods._shrOtherPositive$1($length, 1);
firstLength = middle - start;
targetMiddle = targetOffset + firstLength;
S._mergeSort(list, compare, middle, end, target, targetMiddle);
S._mergeSort(list, compare, start, middle, list, middle);
S._merge(compare, list, middle, middle + firstLength, target, targetMiddle, targetMiddle + (end - middle), target, targetOffset);
},
_merge: function(compare, firstList, firstStart, firstEnd, secondList, secondStart, secondEnd, target, targetOffset) {
var targetOffset0, cursor10, cursor20,
cursor1 = firstStart + 1,
firstElement = firstList[firstStart],
cursor2 = secondStart + 1,
secondElement = secondList[secondStart];
for (; true; targetOffset = targetOffset0) {
targetOffset0 = targetOffset + 1;
if (compare.call$2(firstElement, secondElement) <= 0) {
target[targetOffset] = firstElement;
if (cursor1 === firstEnd) {
targetOffset = targetOffset0;
break;
}
cursor10 = cursor1 + 1;
firstElement = firstList[cursor1];
} else {
target[targetOffset] = secondElement;
if (cursor2 !== secondEnd) {
cursor20 = cursor2 + 1;
secondElement = secondList[cursor2];
cursor2 = cursor20;
continue;
}
targetOffset = targetOffset0 + 1;
target[targetOffset0] = firstElement;
C.JSArray_methods.setRange$4(target, targetOffset, targetOffset + (firstEnd - cursor1), firstList, cursor1);
return;
}
cursor1 = cursor10;
}
targetOffset0 = targetOffset + 1;
target[targetOffset] = secondElement;
C.JSArray_methods.setRange$4(target, targetOffset0, targetOffset0 + (secondEnd - cursor2), secondList, cursor2);
},
SemanticsService_announce: function(message, textDirection) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.void);
var $async$SemanticsService_announce = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
$async$goto = 2;
return P._asyncAwait(C.BasicMessageChannel_8hp.send$1(0, new E.AnnounceSemanticsEvent(message, textDirection, "announce").toMap$0()), $async$SemanticsService_announce);
case 2:
// returning from await.
// implicit return
return P._asyncReturn(null, $async$completer);
}
});
return P._asyncStartSync($async$SemanticsService_announce, $async$completer);
},
SemanticsService_tooltip: function(message) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.void);
var $async$SemanticsService_tooltip = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
$async$goto = 2;
return P._asyncAwait(C.BasicMessageChannel_8hp.send$1(0, new E.TooltipSemanticsEvent(message, "tooltip").toMap$0()), $async$SemanticsService_tooltip);
case 2:
// returning from await.
// implicit return
return P._asyncReturn(null, $async$completer);
}
});
return P._asyncStartSync($async$SemanticsService_tooltip, $async$completer);
}
},
O = {
BoardList$: function(backgroundColor, boardView, draggable, footer, header, headerBackgroundColor, index, items, onDropList, onStartDragList, onTapList) {
return new O.BoardList(header, footer, items, backgroundColor, headerBackgroundColor, boardView, onDropList, onTapList, onStartDragList, draggable, index, null);
},
BoardList: function BoardList(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_.header = t0;
_.footer = t1;
_.items = t2;
_.backgroundColor = t3;
_.headerBackgroundColor = t4;
_.boardView = t5;
_.onDropList = t6;
_.onTapList = t7;
_.onStartDragList = t8;
_.draggable = t9;
_.index = t10;
_.key = t11;
},
BoardListState: function BoardListState(t0, t1, t2, t3) {
var _ = this;
_.itemStates = t0;
_.boardListController = t1;
_.AutomaticKeepAliveClientMixin__keepAliveHandle = t2;
_._widget = null;
_._debugLifecycleState = t3;
_._framework$_element = null;
},
BoardListState_onDropList_closure: function BoardListState_onDropList_closure() {
},
BoardListState__startDrag_closure: function BoardListState__startDrag_closure() {
},
BoardListState_build_closure0: function BoardListState_build_closure0(t0) {
this.$this = t0;
},
BoardListState_build_closure2: function BoardListState_build_closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
BoardListState_build_closure1: function BoardListState_build_closure1() {
},
BoardListState_build_closure: function BoardListState_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
BoardListState_build_closure3: function BoardListState_build_closure3(t0) {
this.$this = t0;
},
_BoardListState_State_AutomaticKeepAliveClientMixin: function _BoardListState_State_AutomaticKeepAliveClientMixin() {
},
BigIntSerializer: function BigIntSerializer(t0) {
this.types = t0;
},
BuiltSetSerializer: function BuiltSetSerializer(t0) {
this.types = t0;
},
BuiltSetSerializer_serialize_closure: function BuiltSetSerializer_serialize_closure(t0, t1) {
this.serializers = t0;
this.elementType = t1;
},
BuiltSetSerializer_deserialize_closure: function BuiltSetSerializer_deserialize_closure(t0, t1) {
this.serializers = t0;
this.elementType = t1;
},
JsonObjectSerializer: function JsonObjectSerializer(t0) {
this.types = t0;
},
UriSerializer: function UriSerializer(t0) {
this.types = t0;
},
LinearScaleViewportSettings: function LinearScaleViewportSettings() {
var _ = this;
_.range = null;
_.keepViewportWithinData = true;
_.scalingFactor = 1;
_.translatePx = 0;
_._domainExtent = null;
_._manualDomainExtent = false;
},
AutoAdjustingDateTimeTickProvider: function AutoAdjustingDateTimeTickProvider(t0) {
this._potentialTickProviders = t0;
},
BehaviorPosition: function BehaviorPosition(t0) {
this._chart_behavior0$_name = t0;
},
OutsideJustification: function OutsideJustification(t0) {
this._chart_behavior0$_name = t0;
},
InsideJustification: function InsideJustification(t0) {
this._chart_behavior0$_name = t0;
},
DomainHighlighter0: function DomainHighlighter0(t0, t1) {
var _ = this;
_.selectionModelType = t0;
_.__DomainHighlighter__lifecycleListener = _.__DomainHighlighter__chart = $;
_.$ti = t1;
},
DomainHighlighter__updateColorFunctions_closure: function DomainHighlighter__updateColorFunctions_closure(t0, t1) {
this.$this = t0;
this.selectionModel = t1;
},
DomainHighlighter__updateColorFunctions__closure: function DomainHighlighter__updateColorFunctions__closure(t0, t1, t2) {
this.origColorFn = t0;
this.selectionModel = t1;
this.series = t2;
},
LegendDefaultMeasure: function LegendDefaultMeasure(t0) {
this._legend_entry_generator$_name = t0;
},
TypedRegistry: function TypedRegistry() {
},
TypedKey: function TypedKey() {
},
ChartBehavior: function ChartBehavior() {
},
GestureType: function GestureType(t0) {
this._chart_behavior$_name = t0;
},
DomainHighlighter: function DomainHighlighter(t0, t1) {
this.desiredGestures = t0;
this.$ti = t1;
},
FileSystemStyle: function FileSystemStyle() {
},
_Posix: function _Posix() {
},
SynchronousFuture: function SynchronousFuture(t0, t1) {
this._synchronous_future$_value = t0;
this.$ti = t1;
},
SynchronousFuture_whenComplete_closure: function SynchronousFuture_whenComplete_closure(t0) {
this.$this = t0;
},
DragDownDetails: function DragDownDetails(t0) {
this.globalPosition = t0;
},
DragStartDetails: function DragStartDetails(t0, t1, t2) {
this.sourceTimeStamp = t0;
this.globalPosition = t1;
this.kind = t2;
},
DragUpdateDetails: function DragUpdateDetails(t0, t1, t2, t3) {
var _ = this;
_.sourceTimeStamp = t0;
_.delta = t1;
_.primaryDelta = t2;
_.globalPosition = t3;
},
DragEndDetails: function DragEndDetails(t0, t1) {
this.velocity = t0;
this.primaryVelocity = t1;
},
HitTestResult$: function() {
var t1 = H.setRuntimeTypeInfo([], type$.JSArray_HitTestEntry),
t2 = new E.Matrix4(new Float64Array(16));
t2.setIdentity$0();
return new O.HitTestResult(t1, H.setRuntimeTypeInfo([t2], type$.JSArray_Matrix4), H.setRuntimeTypeInfo([], type$.JSArray__TransformPart));
},
HitTestEntry: function HitTestEntry(t0) {
this.target = t0;
this._transform = null;
},
_TransformPart: function _TransformPart() {
},
_MatrixTransformPart: function _MatrixTransformPart(t0) {
this.matrix = t0;
},
_OffsetTransformPart: function _OffsetTransformPart(t0) {
this.offset = t0;
},
HitTestResult: function HitTestResult(t0, t1, t2) {
this._hit_test$_path = t0;
this._transforms = t1;
this._localTransforms = t2;
},
DragGestureRecognizer__defaultBuilder: function($event) {
return new R.VelocityTracker($event.get$kind($event), P.List_List$filled(20, null, false, type$.nullable__PointAtTime));
},
VerticalDragGestureRecognizer$: function(debugOwner) {
var t1 = type$.int;
return new O.VerticalDragGestureRecognizer(C.DragStartBehavior_1, O.monodrag_DragGestureRecognizer__defaultBuilder$closure(), C._DragState_0, P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.VelocityTracker), P.LinkedHashSet_LinkedHashSet$_empty(t1), P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), P.HashSet_HashSet(t1), debugOwner, null, P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind));
},
HorizontalDragGestureRecognizer$: function(debugOwner, kind) {
var t1 = type$.int;
return new O.HorizontalDragGestureRecognizer(C.DragStartBehavior_1, O.monodrag_DragGestureRecognizer__defaultBuilder$closure(), C._DragState_0, P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.VelocityTracker), P.LinkedHashSet_LinkedHashSet$_empty(t1), P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), P.HashSet_HashSet(t1), debugOwner, kind, P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind));
},
_DragState: function _DragState(t0) {
this._monodrag$_name = t0;
},
DragGestureRecognizer: function DragGestureRecognizer() {
},
DragGestureRecognizer__checkDown_closure: function DragGestureRecognizer__checkDown_closure(t0, t1) {
this.$this = t0;
this.details = t1;
},
DragGestureRecognizer__checkStart_closure: function DragGestureRecognizer__checkStart_closure(t0, t1) {
this.$this = t0;
this.details = t1;
},
DragGestureRecognizer__checkUpdate_closure: function DragGestureRecognizer__checkUpdate_closure(t0, t1) {
this.$this = t0;
this.details = t1;
},
DragGestureRecognizer__checkEnd_closure: function DragGestureRecognizer__checkEnd_closure(t0, t1) {
this.estimate = t0;
this.velocity = t1;
},
DragGestureRecognizer__checkEnd_closure0: function DragGestureRecognizer__checkEnd_closure0(t0) {
this.estimate = t0;
},
DragGestureRecognizer__checkEnd_closure1: function DragGestureRecognizer__checkEnd_closure1(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
VerticalDragGestureRecognizer: function VerticalDragGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.dragStartBehavior = t0;
_.maxFlingVelocity = _.minFlingVelocity = _.minFlingDistance = _.onCancel = _.onEnd = _.onUpdate = _.onStart = _.onDown = null;
_.velocityTrackerBuilder = t1;
_._monodrag$_state = t2;
_.__DragGestureRecognizer__pendingDragOffset = _.__DragGestureRecognizer__initialPosition = $;
_._monodrag$_lastTransform = _._initialButtons = _._lastPendingEventTimestamp = null;
_.__DragGestureRecognizer__globalDistanceMoved = $;
_._monodrag$_velocityTrackers = t3;
_._acceptedActivePointers = t4;
_._recognizer$_entries = t5;
_._trackedPointers = t6;
_._team = null;
_.debugOwner = t7;
_._kindFilter = t8;
_._pointerToKind = t9;
},
HorizontalDragGestureRecognizer: function HorizontalDragGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.dragStartBehavior = t0;
_.maxFlingVelocity = _.minFlingVelocity = _.minFlingDistance = _.onCancel = _.onEnd = _.onUpdate = _.onStart = _.onDown = null;
_.velocityTrackerBuilder = t1;
_._monodrag$_state = t2;
_.__DragGestureRecognizer__pendingDragOffset = _.__DragGestureRecognizer__initialPosition = $;
_._monodrag$_lastTransform = _._initialButtons = _._lastPendingEventTimestamp = null;
_.__DragGestureRecognizer__globalDistanceMoved = $;
_._monodrag$_velocityTrackers = t3;
_._acceptedActivePointers = t4;
_._recognizer$_entries = t5;
_._trackedPointers = t6;
_._team = null;
_.debugOwner = t7;
_._kindFilter = t8;
_._pointerToKind = t9;
},
PanGestureRecognizer: function PanGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.dragStartBehavior = t0;
_.maxFlingVelocity = _.minFlingVelocity = _.minFlingDistance = _.onCancel = _.onEnd = _.onUpdate = _.onStart = _.onDown = null;
_.velocityTrackerBuilder = t1;
_._monodrag$_state = t2;
_.__DragGestureRecognizer__pendingDragOffset = _.__DragGestureRecognizer__initialPosition = $;
_._monodrag$_lastTransform = _._initialButtons = _._lastPendingEventTimestamp = null;
_.__DragGestureRecognizer__globalDistanceMoved = $;
_._monodrag$_velocityTrackers = t3;
_._acceptedActivePointers = t4;
_._recognizer$_entries = t5;
_._trackedPointers = t6;
_._team = null;
_.debugOwner = t7;
_._kindFilter = t8;
_._pointerToKind = t9;
},
PointerRouter: function PointerRouter(t0, t1) {
this._routeMap = t0;
this._globalRoutes = t1;
},
PointerRouter_addRoute_closure: function PointerRouter_addRoute_closure() {
},
PointerRouter__dispatchEventToRoutes_closure: function PointerRouter__dispatchEventToRoutes_closure(t0, t1, t2) {
this.$this = t0;
this.referenceRoutes = t1;
this.event = t2;
},
_getClipCallback: function(referenceBox, containedInkWell, rectCallback) {
if (rectCallback != null)
return rectCallback;
if (containedInkWell)
return new O._getClipCallback_closure(referenceBox);
return null;
},
_getClipCallback_closure: function _getClipCallback_closure(t0) {
this.referenceBox = t0;
},
_InkRippleFactory: function _InkRippleFactory() {
},
InkRipple: function InkRipple(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_._ink_ripple$_position = t0;
_._ink_ripple$_borderRadius = t1;
_._ink_ripple$_customBorder = t2;
_._ink_ripple$_targetRadius = t3;
_._ink_ripple$_clipCallback = t4;
_._ink_ripple$_textDirection = t5;
_.__InkRipple__fadeOutController = _.__InkRipple__fadeOut = _.__InkRipple__fadeInController = _.__InkRipple__fadeIn = _.__InkRipple__radiusController = _.__InkRipple__radius = $;
_._ink_well$_color = t6;
_._material$_controller = t7;
_.referenceBox = t8;
_.onRemoved = t9;
_._material$_debugDisposed = false;
},
_TextSpanEditingController$: function(textSpan) {
var t1 = textSpan.toPlainText$1$includeSemanticsLabels(false);
return new O._TextSpanEditingController(textSpan, new N.TextEditingValue(t1, C.TextSelection_TbC, C.TextRange_m1_m1), new P.LinkedList(type$.LinkedList__ListenerEntry));
},
SelectableText$: function(data, style) {
return new O.SelectableText(data, style, C.ToolbarOptions_true_false_false, null);
},
_TextSpanEditingController: function _TextSpanEditingController(t0, t1, t2) {
this._textSpan = t0;
this._change_notifier$_value = t1;
this.ChangeNotifier__listeners = t2;
},
_SelectableTextSelectionGestureDetectorBuilder: function _SelectableTextSelectionGestureDetectorBuilder(t0, t1) {
this._selectable_text$_state = t0;
this.delegate = t1;
this._shouldShowSelectionToolbar = true;
},
SelectableText: function SelectableText(t0, t1, t2, t3) {
var _ = this;
_.data = t0;
_.style = t1;
_.toolbarOptions = t2;
_.key = t3;
},
_SelectableTextState: function _SelectableTextState(t0, t1, t2) {
var _ = this;
_.___SelectableTextState__controller = $;
_._selectable_text$_focusNode = null;
_._selectable_text$_showSelectionHandles = false;
_.___SelectableTextState_forcePressEnabled = _.___SelectableTextState__selectionGestureDetectorBuilder = $;
_.editableTextKey = t0;
_._lastSeenTextSelection = null;
_.AutomaticKeepAliveClientMixin__keepAliveHandle = t1;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
},
_SelectableTextState__onControllerChanged_closure: function _SelectableTextState__onControllerChanged_closure(t0, t1) {
this.$this = t0;
this.showSelectionHandles = t1;
},
_SelectableTextState__handleSelectionChanged_closure: function _SelectableTextState__handleSelectionChanged_closure(t0, t1) {
this.$this = t0;
this.willShowSelectionHandles = t1;
},
_SelectableTextState_build_closure: function _SelectableTextState_build_closure(t0) {
this.$this = t0;
},
__SelectableTextState_State_AutomaticKeepAliveClientMixin: function __SelectableTextState_State_AutomaticKeepAliveClientMixin() {
},
SwitchListTile$: function(activeColor, dense, onChanged, secondary, subtitle, title, value) {
return new O.SwitchListTile(value, onChanged, activeColor, title, subtitle, secondary, dense, null);
},
_SwitchListTileType: function _SwitchListTileType(t0) {
this._switch_list_tile$_name = t0;
},
SwitchListTile: function SwitchListTile(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.value = t0;
_.onChanged = t1;
_.activeColor = t2;
_.title = t3;
_.subtitle = t4;
_.secondary = t5;
_.dense = t6;
_.key = t7;
},
SwitchListTile_build_closure: function SwitchListTile_build_closure(t0) {
this.$this = t0;
},
BoxShadow_lerp: function(a, b, t) {
var t2, t3, t4,
t1 = a == null;
if (t1 && b == null)
return null;
if (t1)
return b.scale$1(0, t);
if (b == null)
return a.scale$1(0, 1 - t);
t1 = P.Color_lerp(a.color, b.color, t);
t1.toString;
t2 = P.Offset_lerp(a.offset, b.offset, t);
t2.toString;
t3 = P.lerpDouble(a.blurRadius, b.blurRadius, t);
t3.toString;
t4 = P.lerpDouble(a.spreadRadius, b.spreadRadius, t);
t4.toString;
return new O.BoxShadow(t4, t1, t2, t3);
},
BoxShadow_lerpList: function(a, b, t) {
var commonLength, i, t2, t3, t4, t5, t6, t7,
t1 = a == null;
if (t1 && b == null)
return null;
if (t1)
a = H.setRuntimeTypeInfo([], type$.JSArray_BoxShadow);
if (b == null)
b = H.setRuntimeTypeInfo([], type$.JSArray_BoxShadow);
commonLength = Math.min(a.length, b.length);
t1 = H.setRuntimeTypeInfo([], type$.JSArray_BoxShadow);
for (i = 0; i < commonLength; ++i) {
t2 = O.BoxShadow_lerp(a[i], b[i], t);
t2.toString;
t1.push(t2);
}
for (i = commonLength; i < a.length; ++i) {
t2 = a[i];
t3 = 1 - t;
t4 = t2.color;
t5 = t2.offset;
t6 = t5._dx;
t5 = t5._dy;
t7 = t2.blurRadius;
t1.push(new O.BoxShadow(t2.spreadRadius * t3, t4, new P.Offset(t6 * t3, t5 * t3), t7 * t3));
}
for (i = commonLength; i < b.length; ++i) {
t2 = b[i];
t3 = t2.color;
t4 = t2.offset;
t5 = t4._dx;
t4 = t4._dy;
t6 = t2.blurRadius;
t1.push(new O.BoxShadow(t2.spreadRadius * t, t3, new P.Offset(t5 * t, t4 * t), t6 * t));
}
return t1;
},
BoxShadow: function BoxShadow(t0, t1, t2, t3) {
var _ = this;
_.spreadRadius = t0;
_.color = t1;
_.offset = t2;
_.blurRadius = t3;
},
FocusNode$: function(canRequestFocus, debugLabel, descendantsAreFocusable, onKey, skipTraversal) {
return new O.FocusNode(skipTraversal, canRequestFocus, true, onKey, H.setRuntimeTypeInfo([], type$.JSArray_FocusNode), new P.LinkedList(type$.LinkedList__ListenerEntry));
},
FocusScopeNode$: function(canRequestFocus, debugLabel, skipTraversal) {
var t1 = type$.JSArray_FocusNode;
return new O.FocusScopeNode(H.setRuntimeTypeInfo([], t1), skipTraversal, canRequestFocus, true, null, H.setRuntimeTypeInfo([], t1), new P.LinkedList(type$.LinkedList__ListenerEntry));
},
FocusManager__defaultModeForPlatform: function() {
switch (U.defaultTargetPlatform()) {
case C.TargetPlatform_0:
case C.TargetPlatform_1:
case C.TargetPlatform_2:
var t1 = $.WidgetsBinding__instance.RendererBinding__mouseTracker._mouseStates;
if (t1.get$isNotEmpty(t1))
return C.FocusHighlightMode_1;
return C.FocusHighlightMode_0;
case C.TargetPlatform_3:
case C.TargetPlatform_4:
case C.TargetPlatform_5:
return C.FocusHighlightMode_1;
default:
throw H.wrapException(H.ReachabilityError$(string$.x60null_c));
}
},
KeyEventResult: function KeyEventResult(t0) {
this._focus_manager$_name = t0;
},
FocusAttachment: function FocusAttachment(t0) {
this._focus_manager$_node = t0;
},
UnfocusDisposition: function UnfocusDisposition(t0) {
this._focus_manager$_name = t0;
},
FocusNode: function FocusNode(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._skipTraversal = t0;
_._focus_manager$_canRequestFocus = t1;
_._focus_manager$_descendantsAreFocusable = t2;
_._context = null;
_.onKey = t3;
_._descendants = _._ancestors = _._focus_manager$_manager = null;
_._hasKeyboardToken = false;
_._focus_manager$_parent = null;
_._focus_manager$_children = t4;
_._attachment = _._focus_manager$_debugLabel = null;
_._requestFocusWhenReparented = false;
_.ChangeNotifier__listeners = t5;
},
FocusNode_traversalDescendants_closure: function FocusNode_traversalDescendants_closure() {
},
FocusNode_debugDescribeChildren_closure: function FocusNode_debugDescribeChildren_closure(t0) {
this._box_0 = t0;
},
FocusScopeNode: function FocusScopeNode(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_._focusedChildren = t0;
_._skipTraversal = t1;
_._focus_manager$_canRequestFocus = t2;
_._focus_manager$_descendantsAreFocusable = t3;
_._context = null;
_.onKey = t4;
_._descendants = _._ancestors = _._focus_manager$_manager = null;
_._hasKeyboardToken = false;
_._focus_manager$_parent = null;
_._focus_manager$_children = t5;
_._attachment = _._focus_manager$_debugLabel = null;
_._requestFocusWhenReparented = false;
_.ChangeNotifier__listeners = t6;
},
FocusHighlightMode: function FocusHighlightMode(t0) {
this._focus_manager$_name = t0;
},
FocusHighlightStrategy: function FocusHighlightStrategy(t0) {
this._focus_manager$_name = t0;
},
FocusManager: function FocusManager(t0, t1, t2, t3) {
var _ = this;
_._lastInteractionWasTouch = _._highlightMode = null;
_._focus_manager$_listeners = t0;
_.rootScope = t1;
_._primaryFocus = null;
_._dirtyNodes = t2;
_._markedForFocus = null;
_._haveScheduledUpdate = false;
_.ChangeNotifier__listeners = t3;
},
_FocusManager_Object_DiagnosticableTreeMixin: function _FocusManager_Object_DiagnosticableTreeMixin() {
},
_FocusManager_Object_DiagnosticableTreeMixin_ChangeNotifier: function _FocusManager_Object_DiagnosticableTreeMixin_ChangeNotifier() {
},
_FocusNode_Object_DiagnosticableTreeMixin: function _FocusNode_Object_DiagnosticableTreeMixin() {
},
_FocusNode_Object_DiagnosticableTreeMixin_ChangeNotifier: function _FocusNode_Object_DiagnosticableTreeMixin_ChangeNotifier() {
},
StoreProvider_of: function(context, $S) {
var t1 = context.dependOnInheritedWidgetOfExactType$1$0($S._eval$1("StoreProvider<0>"));
$S._eval$1("StoreProvider<0>?")._as(t1);
if (t1 == null)
throw H.wrapException(new O.StoreProviderError($S._eval$1("StoreProviderError>")));
return t1._store;
},
StoreConnector$: function(builder, converter, onDidChange, onDispose, onInit, onInitialBuild, onWillChange, rebuildOnChange, $S, ViewModel) {
return new O.StoreConnector(builder, converter, onInit, onDispose, true, onWillChange, onDidChange, onInitialBuild, null, $S._eval$1("@<0>")._bind$1(ViewModel)._eval$1("StoreConnector<1,2>"));
},
StoreBuilder__identity: function(store) {
return store;
},
StoreBuilder$: function(builder, onInit, $S) {
return new O.StoreBuilder(builder, onInit, null, $S._eval$1("StoreBuilder<0>"));
},
StoreProvider: function StoreProvider(t0, t1, t2, t3) {
var _ = this;
_._store = t0;
_.child = t1;
_.key = t2;
_.$ti = t3;
},
StoreConnector: function StoreConnector(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.builder = t0;
_.converter = t1;
_.onInit = t2;
_.onDispose = t3;
_.rebuildOnChange = t4;
_.onWillChange = t5;
_.onDidChange = t6;
_.onInitialBuild = t7;
_.key = t8;
_.$ti = t9;
},
StoreBuilder: function StoreBuilder(t0, t1, t2, t3) {
var _ = this;
_.builder = t0;
_.onInit = t1;
_.key = t2;
_.$ti = t3;
},
_StoreStreamListener: function _StoreStreamListener(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
var _ = this;
_.builder = t0;
_.converter = t1;
_.store = t2;
_.rebuildOnChange = t3;
_.distinct = t4;
_.onInit = t5;
_.onDispose = t6;
_.ignoreChange = t7;
_.onWillChange = t8;
_.onDidChange = t9;
_.onInitialBuild = t10;
_.key = t11;
_.$ti = t12;
},
_StoreStreamListenerState: function _StoreStreamListenerState(t0, t1) {
var _ = this;
_.___StoreStreamListenerState__stream = $;
_._widget = _._latestError = _._latestValue = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
_.$ti = t1;
},
_StoreStreamListenerState_build_closure: function _StoreStreamListenerState_build_closure(t0) {
this.$this = t0;
},
StoreProviderError: function StoreProviderError(t0) {
this.$ti = t0;
},
ConverterError: function ConverterError(t0, t1) {
this.error = t0;
this.stackTrace = t1;
},
MethodChannelGoogleSignIn: function MethodChannelGoogleSignIn() {
},
MethodChannelGoogleSignIn_getTokens_closure: function MethodChannelGoogleSignIn_getTokens_closure() {
},
BrowserClient: function BrowserClient(t0) {
this._xhrs = t0;
},
BrowserClient_send_closure: function BrowserClient_send_closure(t0, t1, t2) {
this.xhr = t0;
this.completer = t1;
this.request = t2;
},
BrowserClient_send_closure0: function BrowserClient_send_closure0(t0, t1) {
this.completer = t0;
this.request = t1;
},
Request$: function(method, url) {
var t1 = new Uint8Array(0),
t2 = $.$get$BaseRequest__tokenRE()._nativeRegExp;
if (!t2.test(method))
H.throwExpression(P.ArgumentError$value(method, "method", "Not a valid method"));
t2 = type$.String;
return new O.Request(C.C_Utf8Codec, t1, method, url, P.LinkedHashMap_LinkedHashMap(new G.BaseRequest_closure(), new G.BaseRequest_closure0(), t2, t2));
},
Request: function Request(t0, t1, t2, t3, t4) {
var _ = this;
_._defaultEncoding = t0;
_._bodyBytes = t1;
_.method = t2;
_.url = t3;
_.headers = t4;
_._finalized = false;
},
AccountEntity__initializeBuilder: function(builder) {
builder.get$_account_model$_$this()._debugEnabled = false;
builder.get$_account_model$_$this()._isDocker = false;
builder.get$_account_model$_$this()._isSchedulerRunning = false;
builder.get$_account_model$_$this()._disableAutoUpdate = false;
builder.get$_account_model$_$this()._trialPlan = "";
builder.get$_account_model$_$this()._trialStarted = "";
builder.get$_account_model$_$this()._defaultCompanyId = "";
return builder;
},
_$AccountEntity$_: function(currentVersion, debugEnabled, defaultCompanyId, defaultUrl, disableAutoUpdate, id, isDocker, isSchedulerRunning, latestVersion, plan, planExpires, reportErrors, trialPlan, trialStarted) {
return new O._$AccountEntity(id, trialPlan, trialStarted, defaultUrl, reportErrors, plan, planExpires, latestVersion, currentVersion, debugEnabled, isDocker, isSchedulerRunning, disableAutoUpdate, defaultCompanyId);
},
AccountEntity: function AccountEntity() {
},
_$AccountEntitySerializer: function _$AccountEntitySerializer() {
},
_$AccountEntity: function _$AccountEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
var _ = this;
_.id = t0;
_.trialPlan = t1;
_.trialStarted = t2;
_.defaultUrl = t3;
_.reportErrors = t4;
_.plan = t5;
_.planExpires = t6;
_.latestVersion = t7;
_.currentVersion = t8;
_.debugEnabled = t9;
_.isDocker = t10;
_.isSchedulerRunning = t11;
_.disableAutoUpdate = t12;
_.defaultCompanyId = t13;
_._account_model$__hashCode = null;
},
AccountEntityBuilder: function AccountEntityBuilder() {
var _ = this;
_._defaultCompanyId = _._disableAutoUpdate = _._isSchedulerRunning = _._isDocker = _._debugEnabled = _._currentVersion = _._latestVersion = _._planExpires = _._plan = _._reportErrors = _._defaultUrl = _._trialStarted = _._trialPlan = _._account_model$_id = _._account_model$_$v = null;
},
CompanyGatewayEntity_CompanyGatewayEntity: function(id, state) {
var t1;
if (id == null) {
t1 = $.BaseEntity_counter - 1;
$.BaseEntity_counter = t1;
t1 = "" + t1;
} else
t1 = id;
return O._$CompanyGatewayEntity$_(0, 0, "", "", 0, "", "", "", "", "", A.BuiltMap_BuiltMap(C.Map_empty0, type$.legacy_String, type$.legacy_FeesAndLimitsSettings), "", t1, false, false, false, "", null, false, false, false, true, false, false, true, false, D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_SystemLogEntity), "always", true, 0);
},
FeesAndLimitsSettings_FeesAndLimitsSettings: function(isEnabled) {
return O._$FeesAndLimitsSettings$_(false, 0, 0, 0, isEnabled === true, -1, -1, "", "", "", 0, 0, 0);
},
_$CompanyGatewayEntity$_: function(acceptedCreditCards, archivedAt, assignedUserId, config, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, feesAndLimitsMap, gatewayId, id, isChanged, isDeleted, isTestMode, label, loadedAt, requireBillingAddress, requireClientName, requireClientPhone, requireContactEmail, requireContactName, requireCvv, requirePostalCode, requireShippingAddress, systemLogs, tokenBilling, updateDetails, updatedAt) {
var _s20_ = "CompanyGatewayEntity";
if (feesAndLimitsMap == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "feesAndLimitsMap"));
if (systemLogs == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "systemLogs"));
return new O._$CompanyGatewayEntity(loadedAt, gatewayId, acceptedCreditCards, requireShippingAddress, requireBillingAddress, requireClientName, requirePostalCode, requireClientPhone, requireContactName, requireContactEmail, requireCvv, updateDetails, feesAndLimitsMap, systemLogs, customValue1, customValue2, customValue3, customValue4, config, tokenBilling, isTestMode, label, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
},
_$FeesAndLimitsSettings$_: function(adjustFeePercent, feeAmount, feeCap, feePercent, isEnabled, maxLimit, minLimit, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3) {
return new O._$FeesAndLimitsSettings(minLimit, maxLimit, feeAmount, feePercent, feeCap, taxRate1, taxName1, taxRate2, taxName2, taxRate3, taxName3, adjustFeePercent, isEnabled);
},
CompanyGatewayListResponse: function CompanyGatewayListResponse() {
},
CompanyGatewayItemResponse: function CompanyGatewayItemResponse() {
},
CompanyGatewayEntity: function CompanyGatewayEntity() {
},
CompanyGatewayEntity_addCard_closure: function CompanyGatewayEntity_addCard_closure(t0, t1) {
this.$this = t0;
this.cardType = t1;
},
CompanyGatewayEntity_removeCard_closure: function CompanyGatewayEntity_removeCard_closure(t0, t1) {
this.$this = t0;
this.cardType = t1;
},
CompanyGatewayEntity_updateConfig_closure: function CompanyGatewayEntity_updateConfig_closure(t0) {
this.updatedConfig = t0;
},
FeesAndLimitsSettings: function FeesAndLimitsSettings() {
},
_$CompanyGatewayListResponseSerializer: function _$CompanyGatewayListResponseSerializer() {
},
_$CompanyGatewayItemResponseSerializer: function _$CompanyGatewayItemResponseSerializer() {
},
_$CompanyGatewayEntitySerializer: function _$CompanyGatewayEntitySerializer() {
},
_$FeesAndLimitsSettingsSerializer: function _$FeesAndLimitsSettingsSerializer() {
},
_$CompanyGatewayListResponse: function _$CompanyGatewayListResponse(t0) {
this.data = t0;
this._company_gateway_model$__hashCode = null;
},
CompanyGatewayListResponseBuilder: function CompanyGatewayListResponseBuilder() {
this._company_gateway_model$_data = this._company_gateway_model$_$v = null;
},
_$CompanyGatewayItemResponse: function _$CompanyGatewayItemResponse(t0) {
this.data = t0;
this._company_gateway_model$__hashCode = null;
},
CompanyGatewayItemResponseBuilder: function CompanyGatewayItemResponseBuilder() {
this._company_gateway_model$_data = this._company_gateway_model$_$v = null;
},
_$CompanyGatewayEntity: function _$CompanyGatewayEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29) {
var _ = this;
_.loadedAt = t0;
_.gatewayId = t1;
_.acceptedCreditCards = t2;
_.requireShippingAddress = t3;
_.requireBillingAddress = t4;
_.requireClientName = t5;
_.requirePostalCode = t6;
_.requireClientPhone = t7;
_.requireContactName = t8;
_.requireContactEmail = t9;
_.requireCvv = t10;
_.updateDetails = t11;
_.feesAndLimitsMap = t12;
_.systemLogs = t13;
_.customValue1 = t14;
_.customValue2 = t15;
_.customValue3 = t16;
_.customValue4 = t17;
_.config = t18;
_.tokenBilling = t19;
_.isTestMode = t20;
_.label = t21;
_.isChanged = t22;
_.createdAt = t23;
_.updatedAt = t24;
_.archivedAt = t25;
_.isDeleted = t26;
_.createdUserId = t27;
_.assignedUserId = t28;
_.id = t29;
_._company_gateway_model$__hashCode = null;
},
CompanyGatewayEntityBuilder: function CompanyGatewayEntityBuilder() {
var _ = this;
_._company_gateway_model$_assignedUserId = _._company_gateway_model$_createdUserId = _._company_gateway_model$_isDeleted = _._company_gateway_model$_archivedAt = _._company_gateway_model$_updatedAt = _._company_gateway_model$_createdAt = _._company_gateway_model$_isChanged = _._label = _._isTestMode = _._tokenBilling = _._config = _._company_gateway_model$_customValue4 = _._company_gateway_model$_customValue3 = _._company_gateway_model$_customValue2 = _._company_gateway_model$_customValue1 = _._company_gateway_model$_systemLogs = _._feesAndLimitsMap = _._updateDetails = _._requireCvv = _._requireContactEmail = _._requireContactName = _._requireClientPhone = _._requirePostalCode = _._requireClientName = _._requireBillingAddress = _._requireShippingAddress = _._acceptedCreditCards = _._gatewayId = _._company_gateway_model$_loadedAt = _._company_gateway_model$_$v = null;
_._company_gateway_model$_id = null;
},
_$FeesAndLimitsSettings: function _$FeesAndLimitsSettings(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
var _ = this;
_.minLimit = t0;
_.maxLimit = t1;
_.feeAmount = t2;
_.feePercent = t3;
_.feeCap = t4;
_.taxRate1 = t5;
_.taxName1 = t6;
_.taxRate2 = t7;
_.taxName2 = t8;
_.taxRate3 = t9;
_.taxName3 = t10;
_.adjustFeePercent = t11;
_.isEnabled = t12;
_._company_gateway_model$__hashCode = null;
},
FeesAndLimitsSettingsBuilder: function FeesAndLimitsSettingsBuilder() {
var _ = this;
_._company_gateway_model$_isEnabled = _._adjustFeePercent = _._company_gateway_model$_taxName3 = _._company_gateway_model$_taxRate3 = _._company_gateway_model$_taxName2 = _._company_gateway_model$_taxRate2 = _._company_gateway_model$_taxName1 = _._company_gateway_model$_taxRate1 = _._feeCap = _._feePercent = _._feeAmount = _._maxLimit = _._minLimit = _._company_gateway_model$_$v = null;
},
_CompanyGatewayEntity_Object_BaseEntity: function _CompanyGatewayEntity_Object_BaseEntity() {
},
_CompanyGatewayEntity_Object_BaseEntity_SelectableEntity: function _CompanyGatewayEntity_Object_BaseEntity_SelectableEntity() {
},
CurrencyEntity_CurrencyEntity: function() {
return O._$CurrencyEntity$_("", "", 0, "", "", 2, false, "", "");
},
_$CurrencyEntity$_: function(code, decimalSeparator, exchangeRate, id, $name, precision, swapCurrencySymbol, symbol, thousandSeparator) {
return new O._$CurrencyEntity($name, symbol, precision, thousandSeparator, decimalSeparator, code, swapCurrencySymbol, exchangeRate, id);
},
CurrencyListResponse: function CurrencyListResponse() {
},
CurrencyItemResponse: function CurrencyItemResponse() {
},
CurrencyEntity: function CurrencyEntity() {
},
_$CurrencyListResponseSerializer: function _$CurrencyListResponseSerializer() {
},
_$CurrencyItemResponseSerializer: function _$CurrencyItemResponseSerializer() {
},
_$CurrencyEntitySerializer: function _$CurrencyEntitySerializer() {
},
_$CurrencyListResponse: function _$CurrencyListResponse(t0) {
this.data = t0;
this._currency_model$__hashCode = null;
},
CurrencyListResponseBuilder: function CurrencyListResponseBuilder() {
this._currency_model$_data = this._currency_model$_$v = null;
},
_$CurrencyItemResponse: function _$CurrencyItemResponse(t0) {
this.data = t0;
this._currency_model$__hashCode = null;
},
CurrencyItemResponseBuilder: function CurrencyItemResponseBuilder() {
this._currency_model$_data = this._currency_model$_$v = null;
},
_$CurrencyEntity: function _$CurrencyEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.name = t0;
_.symbol = t1;
_.precision = t2;
_.thousandSeparator = t3;
_.decimalSeparator = t4;
_.code = t5;
_.swapCurrencySymbol = t6;
_.exchangeRate = t7;
_.id = t8;
_._currency_model$__hashCode = null;
},
CurrencyEntityBuilder: function CurrencyEntityBuilder() {
var _ = this;
_._currency_model$_id = _._currency_model$_exchangeRate = _._swapCurrencySymbol = _._code = _._decimalSeparator = _._thousandSeparator = _._precision = _._symbol = _._currency_model$_name = _._currency_model$_$v = null;
},
_CurrencyEntity_Object_SelectableEntity: function _CurrencyEntity_Object_SelectableEntity() {
},
IndustryListResponse: function IndustryListResponse() {
},
IndustryItemResponse: function IndustryItemResponse() {
},
IndustryEntity: function IndustryEntity() {
},
_$IndustryListResponseSerializer: function _$IndustryListResponseSerializer() {
},
_$IndustryItemResponseSerializer: function _$IndustryItemResponseSerializer() {
},
_$IndustryEntitySerializer: function _$IndustryEntitySerializer() {
},
_$IndustryListResponse: function _$IndustryListResponse(t0) {
this.data = t0;
this._industry_model$__hashCode = null;
},
IndustryListResponseBuilder: function IndustryListResponseBuilder() {
this._industry_model$_data = this._industry_model$_$v = null;
},
_$IndustryItemResponse: function _$IndustryItemResponse(t0) {
this.data = t0;
this._industry_model$__hashCode = null;
},
IndustryItemResponseBuilder: function IndustryItemResponseBuilder() {
this._industry_model$_data = this._industry_model$_$v = null;
},
_$IndustryEntity: function _$IndustryEntity(t0, t1) {
this.name = t0;
this.id = t1;
this._industry_model$__hashCode = null;
},
IndustryEntityBuilder: function IndustryEntityBuilder() {
this._industry_model$_id = this._industry_model$_name = this._industry_model$_$v = null;
},
_IndustryEntity_Object_SelectableEntity: function _IndustryEntity_Object_SelectableEntity() {
},
_chartInvoices: function(clientMap, company, currencyMap, invoiceMap, settings) {
var outstandingData, counts, totals, date, t5, _s6_ = "active",
_s11_ = "outstanding",
t1 = type$.JSArray_legacy_ChartMoneyData,
t2 = H.setRuntimeTypeInfo([], t1),
t3 = type$.legacy_String,
t4 = type$.legacy_List_legacy_String,
activeData = new O.ChartDataGroup(_s6_, t2, P.LinkedHashMap_LinkedHashMap$_empty(t3, t4));
t1 = H.setRuntimeTypeInfo([], t1);
outstandingData = new O.ChartDataGroup(_s11_, t1, P.LinkedHashMap_LinkedHashMap$_empty(t3, t4));
counts = P.LinkedHashMap_LinkedHashMap$_literal(["active", 0, "outstanding", 0], t3, type$.legacy_int);
t4 = type$.legacy_double;
totals = P.LinkedHashMap_LinkedHashMap$_literal(["active", P.LinkedHashMap_LinkedHashMap$_empty(t3, t4), "outstanding", P.LinkedHashMap_LinkedHashMap$_empty(t3, t4)], t3, type$.legacy_Map_of_legacy_String_and_legacy_double);
J.forEach$1$ax(invoiceMap._map$_map, new O._chartInvoices_closure(clientMap, settings, company, totals, activeData, outstandingData, currencyMap, counts));
date = Y.convertSqlDateToDateTime(settings.startDate$1(company));
for (t3 = Y.convertSqlDateToDateTime(settings.endDate$1(company))._value; t4 = date._value, t4 <= t3;) {
t5 = C.JSArray_methods.get$first(date.toIso8601String$0().split("T"));
if (totals.$index(0, _s6_).containsKey$1(0, t5)) {
t2.push(new O.ChartMoneyData(date, totals.$index(0, _s6_).$index(0, t5)));
activeData.total = activeData.total + totals.$index(0, _s6_).$index(0, t5);
t1.push(new O.ChartMoneyData(date, totals.$index(0, _s11_).$index(0, t5)));
outstandingData.total = outstandingData.total + totals.$index(0, _s11_).$index(0, t5);
} else {
t2.push(new O.ChartMoneyData(date, 0));
t1.push(new O.ChartMoneyData(date, 0));
}
t4 += 86400000;
t5 = date.isUtc;
date = new P.DateTime(t4, t5);
date.DateTime$_withValue$2$isUtc(t4, t5);
}
t1 = counts.$index(0, _s6_);
activeData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(activeData.total / counts.$index(0, _s6_), 2) : 0;
t1 = counts.$index(0, _s11_);
outstandingData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(outstandingData.total / counts.$index(0, _s11_), 2) : 0;
return H.setRuntimeTypeInfo([activeData, outstandingData], type$.JSArray_legacy_ChartDataGroup);
},
chartQuotes: function(clientMap, company, currencyMap, quoteMap, settings) {
var t3, t4, activeData, t5, approvedData, unapprovedData, date, t6, _s6_ = "active",
_s8_ = "approved",
_s10_ = "unapproved",
t1 = type$.legacy_String,
counts = P.LinkedHashMap_LinkedHashMap$_literal(["active", 0, "approved", 0, "unapproved", 0], t1, type$.legacy_int),
t2 = type$.legacy_double,
totals = P.LinkedHashMap_LinkedHashMap$_literal(["active", P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "approved", P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "unapproved", P.LinkedHashMap_LinkedHashMap$_empty(t1, t2)], t1, type$.legacy_Map_of_legacy_String_and_legacy_double);
t2 = type$.JSArray_legacy_ChartMoneyData;
t3 = H.setRuntimeTypeInfo([], t2);
t4 = type$.legacy_List_legacy_String;
activeData = new O.ChartDataGroup(_s6_, t3, P.LinkedHashMap_LinkedHashMap$_empty(t1, t4));
t5 = H.setRuntimeTypeInfo([], t2);
approvedData = new O.ChartDataGroup(_s8_, t5, P.LinkedHashMap_LinkedHashMap$_empty(t1, t4));
t2 = H.setRuntimeTypeInfo([], t2);
unapprovedData = new O.ChartDataGroup(_s10_, t2, P.LinkedHashMap_LinkedHashMap$_empty(t1, t4));
J.forEach$1$ax(quoteMap._map$_map, new O.chartQuotes_closure(clientMap, settings, company, totals, activeData, approvedData, unapprovedData, currencyMap, counts));
date = Y.convertSqlDateToDateTime(settings.startDate$1(company));
for (t1 = Y.convertSqlDateToDateTime(settings.endDate$1(company))._value; t4 = date._value, t4 <= t1;) {
t6 = C.JSArray_methods.get$first(date.toIso8601String$0().split("T"));
if (totals.$index(0, _s6_).containsKey$1(0, t6)) {
t3.push(new O.ChartMoneyData(date, totals.$index(0, _s6_).$index(0, t6)));
activeData.total = activeData.total + totals.$index(0, _s6_).$index(0, t6);
t5.push(new O.ChartMoneyData(date, totals.$index(0, _s8_).$index(0, t6)));
approvedData.total = approvedData.total + totals.$index(0, _s8_).$index(0, t6);
t2.push(new O.ChartMoneyData(date, totals.$index(0, _s10_).$index(0, t6)));
unapprovedData.total = unapprovedData.total + totals.$index(0, _s10_).$index(0, t6);
} else {
t3.push(new O.ChartMoneyData(date, 0));
t5.push(new O.ChartMoneyData(date, 0));
t2.push(new O.ChartMoneyData(date, 0));
}
t4 += 86400000;
t6 = date.isUtc;
date = new P.DateTime(t4, t6);
date.DateTime$_withValue$2$isUtc(t4, t6);
}
t1 = counts.$index(0, _s6_);
activeData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(activeData.total / counts.$index(0, _s6_), 2) : 0;
t1 = counts.$index(0, _s8_);
approvedData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(approvedData.total / counts.$index(0, _s8_), 2) : 0;
t1 = counts.$index(0, _s10_);
unapprovedData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(unapprovedData.total / counts.$index(0, _s10_), 2) : 0;
return H.setRuntimeTypeInfo([activeData, approvedData, unapprovedData], type$.JSArray_legacy_ChartDataGroup);
},
chartPayments: function(currencyMap, company, settings, invoiceMap, clientMap, paymentMap) {
var t3, t4, activeData, refundedData, date, t5, _s6_ = "active",
_s8_ = "refunded",
t1 = type$.legacy_String,
counts = P.LinkedHashMap_LinkedHashMap$_literal(["active", 0, "refunded", 0], t1, type$.legacy_int),
t2 = type$.legacy_double,
totals = P.LinkedHashMap_LinkedHashMap$_literal(["active", P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "refunded", P.LinkedHashMap_LinkedHashMap$_empty(t1, t2)], t1, type$.legacy_Map_of_legacy_String_and_legacy_double);
t2 = type$.JSArray_legacy_ChartMoneyData;
t3 = H.setRuntimeTypeInfo([], t2);
t4 = type$.legacy_List_legacy_String;
activeData = new O.ChartDataGroup(_s6_, t3, P.LinkedHashMap_LinkedHashMap$_empty(t1, t4));
t2 = H.setRuntimeTypeInfo([], t2);
refundedData = new O.ChartDataGroup(_s8_, t2, P.LinkedHashMap_LinkedHashMap$_empty(t1, t4));
J.forEach$1$ax(paymentMap._map$_map, new O.chartPayments_closure(clientMap, settings, company, totals, activeData, refundedData, currencyMap, counts));
date = Y.convertSqlDateToDateTime(settings.startDate$1(company));
for (t1 = Y.convertSqlDateToDateTime(settings.endDate$1(company))._value; t4 = date._value, t4 <= t1;) {
t5 = C.JSArray_methods.get$first(date.toIso8601String$0().split("T"));
if (totals.$index(0, _s6_).containsKey$1(0, t5)) {
t3.push(new O.ChartMoneyData(date, totals.$index(0, _s6_).$index(0, t5)));
activeData.total = activeData.total + totals.$index(0, _s6_).$index(0, t5);
t2.push(new O.ChartMoneyData(date, totals.$index(0, _s8_).$index(0, t5)));
refundedData.total = refundedData.total + totals.$index(0, _s8_).$index(0, t5);
} else {
t3.push(new O.ChartMoneyData(date, 0));
t2.push(new O.ChartMoneyData(date, 0));
}
t4 += 86400000;
t5 = date.isUtc;
date = new P.DateTime(t4, t5);
date.DateTime$_withValue$2$isUtc(t4, t5);
}
t1 = counts.$index(0, _s6_);
activeData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(activeData.total / counts.$index(0, _s6_), 2) : 0;
t1 = counts.$index(0, _s8_);
refundedData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(refundedData.total / counts.$index(0, _s8_), 2) : 0;
return H.setRuntimeTypeInfo([activeData, refundedData], type$.JSArray_legacy_ChartDataGroup);
},
chartTasks: function(currencyMap, company, settings, taskMap, invoiceMap, projectMap, clientMap, groupMap) {
var t3, t4, loggedData, t5, invoicedData, paidData, date, t6, _s6_ = "logged",
_s8_ = "invoiced",
_s4_ = "paid",
t1 = type$.legacy_String,
counts = P.LinkedHashMap_LinkedHashMap$_literal(["logged", 0, "invoiced", 0, "paid", 0], t1, type$.legacy_int),
t2 = type$.legacy_double,
totals = P.LinkedHashMap_LinkedHashMap$_literal(["logged", P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "invoiced", P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "paid", P.LinkedHashMap_LinkedHashMap$_empty(t1, t2)], t1, type$.legacy_Map_of_legacy_String_and_legacy_double);
t2 = type$.JSArray_legacy_ChartMoneyData;
t3 = H.setRuntimeTypeInfo([], t2);
t4 = type$.legacy_List_legacy_String;
loggedData = new O.ChartDataGroup(_s6_, t3, P.LinkedHashMap_LinkedHashMap$_empty(t1, t4));
t5 = H.setRuntimeTypeInfo([], t2);
invoicedData = new O.ChartDataGroup(_s8_, t5, P.LinkedHashMap_LinkedHashMap$_empty(t1, t4));
t2 = H.setRuntimeTypeInfo([], t2);
paidData = new O.ChartDataGroup(_s4_, t2, P.LinkedHashMap_LinkedHashMap$_empty(t1, t4));
J.forEach$1$ax(taskMap._map$_map, new O.chartTasks_closure(clientMap, invoiceMap, projectMap, groupMap, settings, company, totals, loggedData, invoicedData, paidData, currencyMap, counts));
date = Y.convertSqlDateToDateTime(settings.startDate$1(company));
for (t1 = Y.convertSqlDateToDateTime(settings.endDate$1(company))._value; t4 = date._value, t4 <= t1;) {
t6 = C.JSArray_methods.get$first(date.toIso8601String$0().split("T"));
if (totals.$index(0, _s6_).containsKey$1(0, t6)) {
t3.push(new O.ChartMoneyData(date, totals.$index(0, _s6_).$index(0, t6)));
loggedData.total = loggedData.total + totals.$index(0, _s6_).$index(0, t6);
t5.push(new O.ChartMoneyData(date, totals.$index(0, _s8_).$index(0, t6)));
invoicedData.total = invoicedData.total + totals.$index(0, _s8_).$index(0, t6);
t2.push(new O.ChartMoneyData(date, totals.$index(0, _s4_).$index(0, t6)));
paidData.total = paidData.total + totals.$index(0, _s4_).$index(0, t6);
} else {
t3.push(new O.ChartMoneyData(date, 0));
t5.push(new O.ChartMoneyData(date, 0));
t2.push(new O.ChartMoneyData(date, 0));
}
t4 += 86400000;
t6 = date.isUtc;
date = new P.DateTime(t4, t6);
date.DateTime$_withValue$2$isUtc(t4, t6);
}
t1 = counts.$index(0, _s6_);
loggedData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(loggedData.total / counts.$index(0, _s6_), 2) : 0;
t1 = counts.$index(0, _s8_);
invoicedData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(invoicedData.total / counts.$index(0, _s8_), 2) : 0;
t1 = counts.$index(0, _s4_);
paidData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(paidData.total / counts.$index(0, _s4_), 2) : 0;
return H.setRuntimeTypeInfo([loggedData, invoicedData, paidData], type$.JSArray_legacy_ChartDataGroup);
},
chartExpenses: function(currencyMap, company, settings, invoiceMap, expenseMap) {
var t3, t4, loggedData, t5, pendingData, t6, invoicedData, paidData, date, t7, _s6_ = "logged",
_s7_ = "pending",
_s8_ = "invoiced",
_s4_ = "paid",
t1 = type$.legacy_String,
counts = P.LinkedHashMap_LinkedHashMap$_literal(["logged", 0, "pending", 0, "invoiced", 0, "paid", 0], t1, type$.legacy_int),
t2 = type$.legacy_double,
totals = P.LinkedHashMap_LinkedHashMap$_literal(["logged", P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "pending", P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "invoiced", P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "paid", P.LinkedHashMap_LinkedHashMap$_empty(t1, t2)], t1, type$.legacy_Map_of_legacy_String_and_legacy_double);
t2 = type$.JSArray_legacy_ChartMoneyData;
t3 = H.setRuntimeTypeInfo([], t2);
t4 = type$.legacy_List_legacy_String;
loggedData = new O.ChartDataGroup(_s6_, t3, P.LinkedHashMap_LinkedHashMap$_empty(t1, t4));
t5 = H.setRuntimeTypeInfo([], t2);
pendingData = new O.ChartDataGroup(_s7_, t5, P.LinkedHashMap_LinkedHashMap$_empty(t1, t4));
t6 = H.setRuntimeTypeInfo([], t2);
invoicedData = new O.ChartDataGroup(_s8_, t6, P.LinkedHashMap_LinkedHashMap$_empty(t1, t4));
t2 = H.setRuntimeTypeInfo([], t2);
paidData = new O.ChartDataGroup(_s4_, t2, P.LinkedHashMap_LinkedHashMap$_empty(t1, t4));
J.forEach$1$ax(expenseMap._map$_map, new O.chartExpenses_closure(settings, company, totals, loggedData, pendingData, invoicedData, paidData, currencyMap, invoiceMap, counts));
date = Y.convertSqlDateToDateTime(settings.startDate$1(company));
for (t1 = Y.convertSqlDateToDateTime(settings.endDate$1(company))._value; t4 = date._value, t4 <= t1;) {
t7 = C.JSArray_methods.get$first(date.toIso8601String$0().split("T"));
if (totals.$index(0, _s6_).containsKey$1(0, t7)) {
t3.push(new O.ChartMoneyData(date, totals.$index(0, _s6_).$index(0, t7)));
loggedData.total = loggedData.total + totals.$index(0, _s6_).$index(0, t7);
t5.push(new O.ChartMoneyData(date, totals.$index(0, _s7_).$index(0, t7)));
pendingData.total = pendingData.total + totals.$index(0, _s7_).$index(0, t7);
t6.push(new O.ChartMoneyData(date, totals.$index(0, _s8_).$index(0, t7)));
invoicedData.total = invoicedData.total + totals.$index(0, _s8_).$index(0, t7);
t2.push(new O.ChartMoneyData(date, totals.$index(0, _s4_).$index(0, t7)));
paidData.total = paidData.total + totals.$index(0, _s4_).$index(0, t7);
} else {
t3.push(new O.ChartMoneyData(date, 0));
t5.push(new O.ChartMoneyData(date, 0));
t6.push(new O.ChartMoneyData(date, 0));
t2.push(new O.ChartMoneyData(date, 0));
}
t4 += 86400000;
t7 = date.isUtc;
date = new P.DateTime(t4, t7);
date.DateTime$_withValue$2$isUtc(t4, t7);
}
t1 = counts.$index(0, _s6_);
loggedData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(loggedData.total / counts.$index(0, _s6_), 2) : 0;
t1 = counts.$index(0, _s7_);
pendingData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(pendingData.total / counts.$index(0, _s7_), 2) : 0;
t1 = counts.$index(0, _s8_);
invoicedData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(invoicedData.total / counts.$index(0, _s8_), 2) : 0;
t1 = counts.$index(0, _s4_);
paidData.average = (t1 == null ? 0 : t1) > 0 ? Y.round(paidData.total / counts.$index(0, _s4_), 2) : 0;
return H.setRuntimeTypeInfo([loggedData, pendingData, invoicedData, paidData], type$.JSArray_legacy_ChartDataGroup);
},
ChartDataGroup: function ChartDataGroup(t0, t1, t2) {
var _ = this;
_.name = t0;
_.rawSeries = t1;
_.entityMap = t2;
_.chartSeries = null;
_.previousTotal = _.average = _.total = 0;
},
ChartMoneyData: function ChartMoneyData(t0, t1) {
this.date = t0;
this.amount = t1;
},
memoizedChartInvoices_closure: function memoizedChartInvoices_closure() {
},
memoizedPreviousChartInvoices_closure: function memoizedPreviousChartInvoices_closure() {
},
_chartInvoices_closure: function _chartInvoices_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.clientMap = t0;
_.settings = t1;
_.company = t2;
_.totals = t3;
_.activeData = t4;
_.outstandingData = t5;
_.currencyMap = t6;
_.counts = t7;
},
memoizedChartQuotes_closure: function memoizedChartQuotes_closure() {
},
memoizedPreviousChartQuotes_closure: function memoizedPreviousChartQuotes_closure() {
},
chartQuotes_closure: function chartQuotes_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.clientMap = t0;
_.settings = t1;
_.company = t2;
_.totals = t3;
_.activeData = t4;
_.approvedData = t5;
_.unapprovedData = t6;
_.currencyMap = t7;
_.counts = t8;
},
memoizedChartPayments_closure: function memoizedChartPayments_closure() {
},
memoizedPreviousChartPayments_closure: function memoizedPreviousChartPayments_closure() {
},
chartPayments_closure: function chartPayments_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.clientMap = t0;
_.settings = t1;
_.company = t2;
_.totals = t3;
_.activeData = t4;
_.refundedData = t5;
_.currencyMap = t6;
_.counts = t7;
},
memoizedChartTasks_closure: function memoizedChartTasks_closure() {
},
memoizedPreviousChartTasks_closure: function memoizedPreviousChartTasks_closure() {
},
chartTasks_closure: function chartTasks_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_.clientMap = t0;
_.invoiceMap = t1;
_.projectMap = t2;
_.groupMap = t3;
_.settings = t4;
_.company = t5;
_.totals = t6;
_.loggedData = t7;
_.invoicedData = t8;
_.paidData = t9;
_.currencyMap = t10;
_.counts = t11;
},
chartTasks__closure: function chartTasks__closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
var _ = this;
_.totals = t0;
_.loggedData = t1;
_.invoicedData = t2;
_.paidData = t3;
_.company = t4;
_.project = t5;
_.client = t6;
_.task = t7;
_.group = t8;
_.settings = t9;
_.invoice = t10;
_.currencyMap = t11;
_.invoiceMap = t12;
_.counts = t13;
},
chartTasks___closure: function chartTasks___closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
var _ = this;
_.totals = t0;
_.loggedData = t1;
_.invoicedData = t2;
_.paidData = t3;
_.company = t4;
_.project = t5;
_.client = t6;
_.task = t7;
_.group = t8;
_.settings = t9;
_.invoice = t10;
_.currencyMap = t11;
_.invoiceMap = t12;
_.counts = t13;
},
chartExpenses_closure: function chartExpenses_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.settings = t0;
_.company = t1;
_.totals = t2;
_.loggedData = t3;
_.pendingData = t4;
_.invoicedData = t5;
_.paidData = t6;
_.currencyMap = t7;
_.invoiceMap = t8;
_.counts = t9;
},
memoizedChartExpenses_closure: function memoizedChartExpenses_closure() {
},
memoizedPreviousChartExpenses_closure: function memoizedPreviousChartExpenses_closure() {
},
filteredExpenseCategoriesSelector: function(selectionState, expenseCategoryMap, expenseCategoryList, expenseCategoryListState) {
var t1 = J.where$1$ax(expenseCategoryList._list, new O.filteredExpenseCategoriesSelector_closure(expenseCategoryMap, selectionState, expenseCategoryListState)),
list = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
C.JSArray_methods.sort$1(list, new O.filteredExpenseCategoriesSelector_closure0(expenseCategoryMap, expenseCategoryListState));
return list;
},
calculateExpenseCategoryAmount: function(categoryId, expenseMap) {
var t1 = {};
t1.total = 0;
J.forEach$1$ax(expenseMap._map$_map, new O.calculateExpenseCategoryAmount_closure(t1, categoryId));
return t1.total;
},
expenseStatsForExpenseCategory: function(categoryId, expenseMap) {
var t1 = {};
t1.countArchived = t1.countActive = 0;
J.forEach$1$ax(expenseMap._map$_map, new O.expenseStatsForExpenseCategory_closure(t1, categoryId));
return new T.EntityStats(t1.countActive, t1.countArchived);
},
memoizedFilteredExpenseCategoryList_closure: function memoizedFilteredExpenseCategoryList_closure() {
},
filteredExpenseCategoriesSelector_closure: function filteredExpenseCategoriesSelector_closure(t0, t1, t2) {
this.expenseCategoryMap = t0;
this.selectionState = t1;
this.expenseCategoryListState = t2;
},
filteredExpenseCategoriesSelector_closure0: function filteredExpenseCategoriesSelector_closure0(t0, t1) {
this.expenseCategoryMap = t0;
this.expenseCategoryListState = t1;
},
memoizedCalculateExpenseCategoryAmount_closure: function memoizedCalculateExpenseCategoryAmount_closure() {
},
calculateExpenseCategoryAmount_closure: function calculateExpenseCategoryAmount_closure(t0, t1) {
this._box_0 = t0;
this.categoryId = t1;
},
memoizedExpenseStatsForExpenseCategory_closure: function memoizedExpenseStatsForExpenseCategory_closure() {
},
expenseStatsForExpenseCategory_closure: function expenseStatsForExpenseCategory_closure(t0, t1) {
this._box_0 = t0;
this.categoryId = t1;
},
convertProductToInvoiceItem: function(client, company, currencyMap, invoice, product) {
var cost, t2, t3, _null = null, t1 = {};
if (company.fillProducts) {
cost = product.price;
t1.cost = cost;
if (company.convertProductExchangeRate) {
t2 = client == null ? _null : client.settings.currencyId;
t2 = (t2 == null ? "" : t2).length !== 0;
} else
t2 = false;
if (t2) {
t2 = invoice.exchangeRate;
t3 = client.settings.currencyId;
t1.cost = Y.round(cost * t2, J.$index$asx(currencyMap._map$_map, t3).precision);
}
return Q.InvoiceItemEntity_InvoiceItemEntity(_null, _null).rebuild$1(new O.convertProductToInvoiceItem_closure(t1, product, company));
} else
return Q.InvoiceItemEntity_InvoiceItemEntity(product.productKey, _null);
},
dropdownProductsSelector: function(productMap, productList, userMap) {
var t1 = J.where$1$ax(productList._list, new O.dropdownProductsSelector_closure(productMap)),
list = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
C.JSArray_methods.sort$1(list, new O.dropdownProductsSelector_closure0(productMap, userMap));
return list;
},
productList: function(productMap) {
var list = J.where$1$ax(productMap.get$keys(productMap), new O.productList_closure(productMap)).toList$0(0);
C.JSArray_methods.sort$1(list, new O.productList_closure0(productMap));
return list;
},
filteredProductsSelector: function(selectionState, productMap, productList, productListState, userMap) {
var t1 = J.where$1$ax(productList._list, new O.filteredProductsSelector_closure(productMap, selectionState, productListState)),
list = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
C.JSArray_methods.sort$1(list, new O.filteredProductsSelector_closure0(productMap, productListState, userMap));
return list;
},
convertProductToInvoiceItem_closure: function convertProductToInvoiceItem_closure(t0, t1, t2) {
this._box_0 = t0;
this.product = t1;
this.company = t2;
},
memoizedDropdownProductList_closure: function memoizedDropdownProductList_closure() {
},
dropdownProductsSelector_closure: function dropdownProductsSelector_closure(t0) {
this.productMap = t0;
},
dropdownProductsSelector_closure0: function dropdownProductsSelector_closure0(t0, t1) {
this.productMap = t0;
this.userMap = t1;
},
memoizedProductList_closure: function memoizedProductList_closure() {
},
productList_closure: function productList_closure(t0) {
this.productMap = t0;
},
productList_closure0: function productList_closure0(t0) {
this.productMap = t0;
},
memoizedFilteredProductList_closure: function memoizedFilteredProductList_closure() {
},
filteredProductsSelector_closure: function filteredProductsSelector_closure(t0, t1, t2) {
this.productMap = t0;
this.selectionState = t1;
this.productListState = t2;
},
filteredProductsSelector_closure0: function filteredProductsSelector_closure0(t0, t1, t2) {
this.productMap = t0;
this.productListState = t1;
this.userMap = t2;
},
filteredTokensSelector: function(selectionState, tokenMap, tokenList, tokenListState) {
var t1 = J.where$1$ax(tokenList._list, new O.filteredTokensSelector_closure(tokenMap, selectionState, tokenListState)),
list = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
C.JSArray_methods.sort$1(list, new O.filteredTokensSelector_closure0(tokenMap, tokenListState));
return list;
},
memoizedFilteredTokenList_closure: function memoizedFilteredTokenList_closure() {
},
filteredTokensSelector_closure: function filteredTokensSelector_closure(t0, t1, t2) {
this.tokenMap = t0;
this.selectionState = t1;
this.tokenListState = t2;
},
filteredTokensSelector_closure0: function filteredTokensSelector_closure0(t0, t1) {
this.tokenMap = t0;
this.tokenListState = t1;
},
AppScrollbar: function AppScrollbar(t0, t1, t2, t3) {
var _ = this;
_.child = t0;
_.controller = t1;
_.hideMobileThumb = t2;
_.key = t3;
},
_AppScrollbarState: function _AppScrollbarState(t0) {
var _ = this;
_._app_scrollbar$_isHovered = false;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_AppScrollbarState_build_closure: function _AppScrollbarState_build_closure(t0) {
this.$this = t0;
},
_AppScrollbarState_build__closure0: function _AppScrollbarState_build__closure0(t0) {
this.$this = t0;
},
_AppScrollbarState_build_closure0: function _AppScrollbarState_build_closure0(t0) {
this.$this = t0;
},
_AppScrollbarState_build__closure: function _AppScrollbarState_build__closure(t0) {
this.$this = t0;
},
ActionTextButton: function ActionTextButton(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.isSaving = t0;
_.isVisible = t1;
_.onPressed = t2;
_.tooltip = t3;
_.isHeader = t4;
_.key = t5;
},
ChangeLayoutBanner: function ChangeLayoutBanner(t0, t1, t2, t3) {
var _ = this;
_.child = t0;
_.appLayout = t1;
_.suggestedLayout = t2;
_.key = t3;
},
_ChangeLayoutBannerState: function _ChangeLayoutBannerState(t0) {
var _ = this;
_._dismissedChange = false;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_ChangeLayoutBannerState_build_closure: function _ChangeLayoutBannerState_build_closure(t0) {
this.$this = t0;
},
_ChangeLayoutBannerState_build__closure0: function _ChangeLayoutBannerState_build__closure0(t0) {
this.$this = t0;
},
_ChangeLayoutBannerState_build_closure0: function _ChangeLayoutBannerState_build_closure0(t0, t1, t2) {
this.$this = t0;
this.store = t1;
this.context = t2;
},
_ChangeLayoutBannerState_build__closure: function _ChangeLayoutBannerState_build__closure(t0, t1) {
this.layout = t0;
this.store = t1;
},
EntityListTile$: function(entity, isFilter, subtitle) {
return new O.EntityListTile(subtitle, entity, isFilter, null);
},
EntityListTile: function EntityListTile(t0, t1, t2, t3) {
var _ = this;
_.subtitle = t0;
_.entity = t1;
_.isFilter = t2;
_.key = t3;
},
_EntityListTileState: function _EntityListTileState(t0) {
var _ = this;
_._entity_list_tile$_isHovered = false;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_EntityListTileState_build_closure: function _EntityListTileState_build_closure(t0) {
this.$this = t0;
},
_EntityListTileState_build_closure0: function _EntityListTileState_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
_EntityListTileState_build_closure1: function _EntityListTileState_build_closure1(t0) {
this.$this = t0;
},
_EntityListTileState_build__closure0: function _EntityListTileState_build__closure0(t0) {
this.$this = t0;
},
_EntityListTileState_build_closure2: function _EntityListTileState_build_closure2(t0) {
this.$this = t0;
},
_EntityListTileState_build__closure: function _EntityListTileState_build__closure(t0) {
this.$this = t0;
},
_EntityListTileState_build_closure4: function _EntityListTileState_build_closure4(t0) {
this.$this = t0;
},
_EntityListTileState_build_closure3: function _EntityListTileState_build_closure3(t0) {
this.$this = t0;
},
EntitiesListTile: function EntitiesListTile(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.entity = t0;
_.entityType = t1;
_.title = t2;
_.subtitle = t3;
_.isFilter = t4;
_.hideNew = t5;
_.key = t6;
},
_EntitiesListTileState: function _EntitiesListTileState(t0) {
var _ = this;
_._entity_list_tile$_isHovered = false;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_EntitiesListTileState_build_closure0: function _EntitiesListTileState_build_closure0(t0) {
this.$this = t0;
},
_EntitiesListTileState_build__closure0: function _EntitiesListTileState_build__closure0(t0) {
this.$this = t0;
},
_EntitiesListTileState_build_closure1: function _EntitiesListTileState_build_closure1(t0) {
this.$this = t0;
},
_EntitiesListTileState_build__closure: function _EntitiesListTileState_build__closure(t0) {
this.$this = t0;
},
_EntitiesListTileState_build_closure: function _EntitiesListTileState_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
_EntitiesListTileState_build_closure3: function _EntitiesListTileState_build_closure3() {
},
_EntitiesListTileState_build_closure2: function _EntitiesListTileState_build_closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
ExpenseEditVM_ExpenseEditVM$fromStore: function(store) {
var expense = store.get$_store$_state().uiState.expenseUIState.editing,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState.selectedCompanyIndex;
t2 = J.$index$asx(t1._list, t2).expenseState.map;
t1 = expense.id;
J.$index$asx(t2._map$_map, t1);
return new O.ExpenseEditVM(expense, new O.ExpenseEditVM_ExpenseEditVM$fromStore_closure(store), new O.ExpenseEditVM_ExpenseEditVM$fromStore_closure0(store, state), new O.ExpenseEditVM_ExpenseEditVM$fromStore_closure1(store, state), state, new O.ExpenseEditVM_ExpenseEditVM$fromStore_closure2(store), new O.ExpenseEditVM_ExpenseEditVM$fromStore_closure3(store));
},
ExpenseEditScreen: function ExpenseEditScreen(t0) {
this.key = t0;
},
ExpenseEditScreen_build_closure0: function ExpenseEditScreen_build_closure0() {
},
ExpenseEditScreen_build_closure: function ExpenseEditScreen_build_closure() {
},
AbstractExpenseEditVM: function AbstractExpenseEditVM() {
},
ExpenseEditVM: function ExpenseEditVM(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.expense = t0;
_.onChanged = t1;
_.onSavePressed = t2;
_.onCancelPressed = t3;
_.state = t4;
_.onAddClientPressed = t5;
_.onAddVendorPressed = t6;
},
ExpenseEditVM_ExpenseEditVM$fromStore_closure: function ExpenseEditVM_ExpenseEditVM$fromStore_closure(t0) {
this.store = t0;
},
ExpenseEditVM_ExpenseEditVM$fromStore_closure1: function ExpenseEditVM_ExpenseEditVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.state = t1;
},
ExpenseEditVM_ExpenseEditVM$fromStore_closure2: function ExpenseEditVM_ExpenseEditVM$fromStore_closure2(t0) {
this.store = t0;
},
ExpenseEditVM_ExpenseEditVM$fromStore__closure1: function ExpenseEditVM_ExpenseEditVM$fromStore__closure1(t0) {
this.store = t0;
},
ExpenseEditVM_ExpenseEditVM$fromStore__closure2: function ExpenseEditVM_ExpenseEditVM$fromStore__closure2(t0) {
this.store = t0;
},
ExpenseEditVM_ExpenseEditVM$fromStore_closure3: function ExpenseEditVM_ExpenseEditVM$fromStore_closure3(t0) {
this.store = t0;
},
ExpenseEditVM_ExpenseEditVM$fromStore__closure: function ExpenseEditVM_ExpenseEditVM$fromStore__closure(t0) {
this.store = t0;
},
ExpenseEditVM_ExpenseEditVM$fromStore__closure0: function ExpenseEditVM_ExpenseEditVM$fromStore__closure0(t0) {
this.store = t0;
},
ExpenseEditVM_ExpenseEditVM$fromStore_closure0: function ExpenseEditVM_ExpenseEditVM$fromStore_closure0(t0, t1) {
this.store = t0;
this.state = t1;
},
ExpenseEditVM_ExpenseEditVM$fromStore__closure3: function ExpenseEditVM_ExpenseEditVM$fromStore__closure3(t0, t1) {
this.store = t0;
this.state = t1;
},
ExpenseEditVM_ExpenseEditVM$fromStore___closure: function ExpenseEditVM_ExpenseEditVM$fromStore___closure(t0, t1, t2, t3, t4) {
var _ = this;
_.expense = t0;
_.localization = t1;
_.state = t2;
_.store = t3;
_.navigator = t4;
},
ExpenseEditVM_ExpenseEditVM$fromStore___closure0: function ExpenseEditVM_ExpenseEditVM$fromStore___closure0() {
},
ExpenseEditVM_ExpenseEditVM$fromStore____closure: function ExpenseEditVM_ExpenseEditVM$fromStore____closure(t0) {
this.error = t0;
},
ExpenseCategoryScreenVM_fromStore: function(store) {
var t4, t5, t6, t7, t8,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t4.$index(t1, t3).expenseCategoryState.toString;
t5 = $.$get$memoizedFilteredExpenseCategoryList();
t6 = state.getUISelection$1(C.EntityType_expenseCategory);
t7 = t4.$index(t1, t3).expenseCategoryState.map;
t8 = t4.$index(t1, t3).expenseCategoryState.list;
t2 = t2.expenseCategoryUIState.listUIState;
t8 = t5.call$4(t6, t7, t8, t2);
t4.$index(t1, t3).toString;
t2.toString;
return new O.ExpenseCategoryScreenVM(t8);
},
ExpenseCategoryScreenBuilder: function ExpenseCategoryScreenBuilder(t0) {
this.key = t0;
},
ExpenseCategoryScreenBuilder_build_closure: function ExpenseCategoryScreenBuilder_build_closure() {
},
ExpenseCategoryScreenVM: function ExpenseCategoryScreenVM(t0) {
this.expenseCategoryList = t0;
},
InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore: function(store, isTasks) {
var t1 = store.get$_store$_state(),
t2 = store.get$_store$_state(),
t3 = t2.userCompanyStates;
t2 = t2.uiState.selectedCompanyIndex;
return new O.InvoiceEditItemsVM(t1, J.$index$asx(t3._list, t2).userCompany.company, store.get$_store$_state().uiState.invoiceUIState.editing, store.get$_store$_state().uiState.invoiceUIState.editingItemIndex, new O.InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure(store), new O.InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure0(store), new O.InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure1(store, isTasks), new O.InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure2(store));
},
InvoiceEditItemsScreen: function InvoiceEditItemsScreen(t0, t1, t2) {
this.viewModel = t0;
this.isTasks = t1;
this.key = t2;
},
InvoiceEditItemsScreen_build_closure0: function InvoiceEditItemsScreen_build_closure0(t0) {
this.$this = t0;
},
InvoiceEditItemsScreen_build_closure: function InvoiceEditItemsScreen_build_closure(t0) {
this.$this = t0;
},
EntityEditItemsVM: function EntityEditItemsVM() {
},
InvoiceEditItemsVM: function InvoiceEditItemsVM(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.state = t0;
_.company = t1;
_.invoice = t2;
_.invoiceItemIndex = t3;
_.onRemoveInvoiceItemPressed = t4;
_.clearSelectedInvoiceItem = t5;
_.onChangedInvoiceItem = t6;
_.onMovedInvoiceItem = t7;
},
InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure(t0) {
this.store = t0;
},
InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure0: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure0(t0) {
this.store = t0;
},
InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure1: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.isTasks = t1;
},
InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore__closure: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore__closure(t0) {
this.isTasks = t0;
},
InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure2: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure2(t0) {
this.store = t0;
},
InvoicePdfScreen: function InvoicePdfScreen(t0, t1) {
this.showAppBar = t0;
this.key = t1;
},
InvoicePdfScreen_build_closure0: function InvoicePdfScreen_build_closure0() {
},
InvoicePdfScreen_build_closure: function InvoicePdfScreen_build_closure(t0) {
this.$this = t0;
},
EntityPdfVM: function EntityPdfVM() {
},
InvoicePdfVM: function InvoicePdfVM(t0, t1, t2) {
this.state = t0;
this.invoice = t1;
this.activityId = t2;
},
PaymentListItem: function PaymentListItem(t0, t1, t2, t3) {
var _ = this;
_.payment = t0;
_.filter = t1;
_.showCheckbox = t2;
_.key = t3;
},
PaymentListItem_build_closure: function PaymentListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.isInMultiselect = t2;
_.listUIState = t3;
_.isChecked = t4;
_.state = t5;
_.client = t6;
_.textStyle = t7;
_.filterMatch = t8;
_.textColor = t9;
_.mobileSubtitle = t10;
_.localization = t11;
},
PaymentListItem_build__closure2: function PaymentListItem_build__closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
PaymentListItem_build__closure1: function PaymentListItem_build__closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
PaymentListItem_build__closure: function PaymentListItem_build__closure() {
},
PaymentListItem_build__closure0: function PaymentListItem_build__closure0(t0) {
this.$this = t0;
},
PaymentListItem_build__closure5: function PaymentListItem_build__closure5(t0, t1) {
this.$this = t0;
this.context = t1;
},
PaymentListItem_build__closure4: function PaymentListItem_build__closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
PaymentListItem_build__closure3: function PaymentListItem_build__closure3() {
},
QuoteViewVM_QuoteViewVM$fromStore: function(store) {
var t4, t5, quote, t6, client, _null = null,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t5 = t4.$index(t1, t3).quoteState.map;
t2 = t2.quoteUIState.selectedId;
quote = J.$index$asx(t5._map$_map, t2);
if (quote == null)
quote = Q.InvoiceEntity_InvoiceEntity(_null, _null, t2, _null, _null);
t2 = store.get$_store$_state();
t5 = t2.userCompanyStates;
t2 = t2.uiState.selectedCompanyIndex;
t6 = quote.clientId;
client = J.$index$asx(J.$index$asx(t5._list, t2).clientState.map._map$_map, t6);
if (client == null)
client = T.ClientEntity_ClientEntity(t6, _null, _null);
t1 = t4.$index(t1, t3).userCompany.company;
quote.get$isNew();
return new O.QuoteViewVM(state, t1, quote, client, new O.QuoteViewVM_QuoteViewVM$fromStore_closure(quote), new O.QuoteViewVM_QuoteViewVM$fromStore_closure0(new O.QuoteViewVM_QuoteViewVM$fromStore__handleRefresh(store, quote)), new O.QuoteViewVM_QuoteViewVM$fromStore_closure1(store, quote), new O.QuoteViewVM_QuoteViewVM$fromStore_closure2(store, quote), _null, new O.QuoteViewVM_QuoteViewVM$fromStore_closure3(store));
},
QuoteViewScreen: function QuoteViewScreen(t0, t1) {
this.isFilter = t0;
this.key = t1;
},
QuoteViewScreen_build_closure0: function QuoteViewScreen_build_closure0() {
},
QuoteViewScreen_build_closure: function QuoteViewScreen_build_closure(t0) {
this.$this = t0;
},
QuoteViewVM: function QuoteViewVM(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.state = t0;
_.company = t1;
_.invoice = t2;
_.client = t3;
_.onEditPressed = t4;
_.onRefreshed = t5;
_.onUploadDocument = t6;
_.onDeleteDocument = t7;
_.onViewExpense = t8;
_.onViewPdf = t9;
},
QuoteViewVM_QuoteViewVM$fromStore__handleRefresh: function QuoteViewVM_QuoteViewVM$fromStore__handleRefresh(t0, t1) {
this.store = t0;
this.quote = t1;
},
QuoteViewVM_QuoteViewVM$fromStore_closure: function QuoteViewVM_QuoteViewVM$fromStore_closure(t0) {
this.quote = t0;
},
QuoteViewVM_QuoteViewVM$fromStore_closure0: function QuoteViewVM_QuoteViewVM$fromStore_closure0(t0) {
this._handleRefresh = t0;
},
QuoteViewVM_QuoteViewVM$fromStore_closure1: function QuoteViewVM_QuoteViewVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.quote = t1;
},
QuoteViewVM_QuoteViewVM$fromStore__closure0: function QuoteViewVM_QuoteViewVM$fromStore__closure0(t0) {
this.context = t0;
},
QuoteViewVM_QuoteViewVM$fromStore__closure1: function QuoteViewVM_QuoteViewVM$fromStore__closure1(t0) {
this.context = t0;
},
QuoteViewVM_QuoteViewVM$fromStore___closure: function QuoteViewVM_QuoteViewVM$fromStore___closure(t0) {
this.error = t0;
},
QuoteViewVM_QuoteViewVM$fromStore_closure2: function QuoteViewVM_QuoteViewVM$fromStore_closure2(t0, t1) {
this.store = t0;
this.quote = t1;
},
QuoteViewVM_QuoteViewVM$fromStore__closure: function QuoteViewVM_QuoteViewVM$fromStore__closure(t0, t1) {
this.store = t0;
this.quote = t1;
},
QuoteViewVM_QuoteViewVM$fromStore_closure3: function QuoteViewVM_QuoteViewVM$fromStore_closure3(t0) {
this.store = t0;
},
RecurringExpenseScreen: function RecurringExpenseScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
RecurringExpenseScreen_build_closure9: function RecurringExpenseScreen_build_closure9(t0) {
this.store = t0;
},
RecurringExpenseScreen_build_closure7: function RecurringExpenseScreen_build_closure7(t0) {
this.store = t0;
},
RecurringExpenseScreen_build_closure8: function RecurringExpenseScreen_build_closure8(t0) {
this.store = t0;
},
RecurringExpenseScreen_build_closure4: function RecurringExpenseScreen_build_closure4(t0) {
this.store = t0;
},
RecurringExpenseScreen_build_closure5: function RecurringExpenseScreen_build_closure5(t0) {
this.store = t0;
},
RecurringExpenseScreen_build_closure: function RecurringExpenseScreen_build_closure(t0) {
this.store = t0;
},
RecurringExpenseScreen_build_closure0: function RecurringExpenseScreen_build_closure0(t0) {
this.store = t0;
},
RecurringExpenseScreen_build_closure1: function RecurringExpenseScreen_build_closure1(t0) {
this.store = t0;
},
RecurringExpenseScreen_build_closure2: function RecurringExpenseScreen_build_closure2(t0) {
this.store = t0;
},
RecurringExpenseScreen_build_closure3: function RecurringExpenseScreen_build_closure3(t0) {
this.store = t0;
},
RecurringExpenseScreen_build_closure6: function RecurringExpenseScreen_build_closure6(t0) {
this.context = t0;
},
RecurringInvoiceEdit: function RecurringInvoiceEdit(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_RecurringInvoiceEditState: function _RecurringInvoiceEditState(t0, t1) {
var _ = this;
_._recurring_invoice_edit$_controller = null;
_.SingleTickerProviderStateMixin__ticker = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_RecurringInvoiceEditState_build_closure1: function _RecurringInvoiceEditState_build_closure1(t0) {
this.viewModel = t0;
},
_RecurringInvoiceEditState_build_closure2: function _RecurringInvoiceEditState_build_closure2(t0) {
this.$this = t0;
},
_RecurringInvoiceEditState_build_closure0: function _RecurringInvoiceEditState_build_closure0(t0) {
this.$this = t0;
},
_RecurringInvoiceEditState_build_closure: function _RecurringInvoiceEditState_build_closure(t0, t1, t2, t3, t4) {
var _ = this;
_.$this = t0;
_.context = t1;
_.invoice = t2;
_.viewModel = t3;
_.isFullscreen = t4;
},
_RecurringInvoiceEditState_build__closure: function _RecurringInvoiceEditState_build__closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.invoice = t1;
_.viewModel = t2;
_.isFullscreen = t3;
},
_RecurringInvoiceEditState_build___closure: function _RecurringInvoiceEditState_build___closure() {
},
_RecurringInvoiceEditState_build___closure0: function _RecurringInvoiceEditState_build___closure0(t0) {
this.viewModel = t0;
},
_RecurringInvoiceEditState_build___closure1: function _RecurringInvoiceEditState_build___closure1(t0, t1, t2) {
this.$this = t0;
this.viewModel = t1;
this.isFullscreen = t2;
},
__RecurringInvoiceEditState_State_SingleTickerProviderStateMixin: function __RecurringInvoiceEditState_State_SingleTickerProviderStateMixin() {
},
RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore: function(store) {
var t4, t5, invoice, t6, client, _null = null,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t5 = t4.$index(t1, t3).recurringInvoiceState.map;
t2 = t2.recurringInvoiceUIState.selectedId;
invoice = J.$index$asx(t5._map$_map, t2);
if (invoice == null)
invoice = Q.InvoiceEntity_InvoiceEntity(_null, _null, t2, _null, _null);
t2 = store.get$_store$_state();
t5 = t2.userCompanyStates;
t2 = t2.uiState.selectedCompanyIndex;
t6 = invoice.clientId;
client = J.$index$asx(J.$index$asx(t5._list, t2).clientState.map._map$_map, t6);
if (client == null)
client = T.ClientEntity_ClientEntity(t6, _null, _null);
t1 = t4.$index(t1, t3).userCompany.company;
invoice.get$isNew();
return new O.RecurringInvoiceViewVM(state, t1, invoice, client, new O.RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure(invoice), new O.RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure0(new O.RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__handleRefresh(store, invoice)), new O.RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure1(store, invoice), new O.RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure2(store, invoice), _null, new O.RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure3(store));
},
RecurringInvoiceViewScreen: function RecurringInvoiceViewScreen(t0, t1) {
this.isFilter = t0;
this.key = t1;
},
RecurringInvoiceViewScreen_build_closure0: function RecurringInvoiceViewScreen_build_closure0() {
},
RecurringInvoiceViewScreen_build_closure: function RecurringInvoiceViewScreen_build_closure(t0) {
this.$this = t0;
},
RecurringInvoiceViewVM: function RecurringInvoiceViewVM(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.state = t0;
_.company = t1;
_.invoice = t2;
_.client = t3;
_.onEditPressed = t4;
_.onRefreshed = t5;
_.onUploadDocument = t6;
_.onDeleteDocument = t7;
_.onViewExpense = t8;
_.onViewPdf = t9;
},
RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__handleRefresh: function RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__handleRefresh(t0, t1) {
this.store = t0;
this.invoice = t1;
},
RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure: function RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure(t0) {
this.invoice = t0;
},
RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure0: function RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure0(t0) {
this._handleRefresh = t0;
},
RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure1: function RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure1(t0, t1) {
this.store = t0;
this.invoice = t1;
},
RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__closure0: function RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__closure0(t0) {
this.context = t0;
},
RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__closure1: function RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__closure1(t0) {
this.context = t0;
},
RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore___closure: function RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore___closure(t0) {
this.error = t0;
},
RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure2: function RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure2(t0, t1) {
this.store = t0;
this.invoice = t1;
},
RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__closure: function RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__closure(t0, t1) {
this.store = t0;
this.invoice = t1;
},
RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure3: function RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure3(t0) {
this.store = t0;
},
taxReport: function(userCompany, reportsUIState, taxRateMap, invoiceMap, creditMap, clientMap, paymentMap, userMap, staticState) {
var columns, t4, t5, t6, t7, invoice, t8, client, t9, t10, t11, precision, taxes, t12, t13, value, value0, value1, value2, t14, row, taxName, taxRate, t15, skip, t16, value3, t17, credit, _null = null,
_s11_ = "invoice_tax",
data = H.setRuntimeTypeInfo([], type$.JSArray_legacy_List_legacy_ReportElement),
reportSettings = userCompany.settings.reportSettings,
taxRateReportSettings = reportSettings != null && J.containsKey$1$x(reportSettings._map$_map, _s11_) ? J.$index$asx(reportSettings._map$_map, _s11_) : A.ReportSettingsEntity_ReportSettingsEntity(_null, _null),
defaultColumns = H.setRuntimeTypeInfo([C.TaxRateReportFields_40, C.TaxRateReportFields_60, C.TaxRateReportFields_70, C.TaxRateReportFields_20, C.TaxRateReportFields_30, C.TaxRateReportFields_11], type$.JSArray_legacy_TaxRateReportFields),
t1 = taxRateReportSettings.columns._list,
t2 = J.getInterceptor$asx(t1),
t3 = type$.legacy_TaxRateReportFields;
if (t2.get$isNotEmpty(t1)) {
t1 = t2.map$1$1(t1, new O.taxReport_closure(), t3).where$1(0, new O.taxReport_closure0());
columns = D.BuiltList_BuiltList$from(P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t3);
} else
columns = D.BuiltList_BuiltList$from(defaultColumns, t3);
for (t1 = J.get$iterator$ax(invoiceMap.get$keys(invoiceMap)), t2 = userCompany.company, t3 = invoiceMap._map$_map, t4 = J.getInterceptor$asx(t3), t5 = columns._list, t6 = J.getInterceptor$ax(t5), t7 = type$.JSArray_legacy_ReportElement; t1.moveNext$0();) {
invoice = t4.$index(t3, t1.get$current(t1));
if (!t2.reportIncludeDrafts && invoice.statusId === "1")
continue;
if (!invoice.isDeleted && invoice.statusId !== "1") {
t8 = invoice.clientId;
client = J.$index$asx(clientMap._map$_map, t8);
if (client == null)
client = T.ClientEntity_ClientEntity(_null, _null, _null);
t8 = staticState.currencyMap;
t9 = client.settings.currencyId;
t8 = t8._map$_map;
t10 = J.getInterceptor$asx(t8);
t11 = t10.$index(t8, t9);
precision = t11 == null ? _null : t11.precision;
taxes = invoice.getTaxes$1(precision == null ? 2 : precision);
for (t11 = taxes.get$keys(taxes), t11 = t11.get$iterator(t11), t12 = invoice.id, t13 = invoice.entityType, value = invoice.amount, value0 = invoice.date, value1 = invoice.number, value2 = client.displayName; t11.moveNext$0();) {
t14 = t11.get$current(t11);
row = H.setRuntimeTypeInfo([], t7);
taxName = J.$index$asx(taxes.$index(0, t14), "name");
taxRate = J.$index$asx(taxes.$index(0, t14), "rate");
if (taxRate == null || taxRate === 0)
continue;
for (t15 = t6.get$iterator(t5), skip = false; t15.moveNext$0();) {
t16 = t15.get$current(t15);
switch (t16) {
case C.TaxRateReportFields_00:
value3 = value2;
break;
case C.TaxRateReportFields_11:
value3 = value1;
break;
case C.TaxRateReportFields_30:
value3 = value0;
break;
case C.TaxRateReportFields_20:
value3 = value;
break;
case C.TaxRateReportFields_40:
value3 = taxName;
break;
case C.TaxRateReportFields_50:
value3 = taxRate;
break;
case C.TaxRateReportFields_60:
value3 = J.$index$asx(taxes.$index(0, t14), "amount");
if (value3 == null)
value3 = 0;
break;
case C.TaxRateReportFields_70:
value3 = J.$index$asx(taxes.$index(0, t14), "paid");
if (value3 == null)
value3 = 0;
break;
case C.TaxRateReportFields_80:
t17 = t10.$index(t8, t9);
value3 = t17 == null ? _null : t17.name;
if (value3 == null) {
t17 = t10.$index(t8, t9);
value3 = t17 == null ? _null : t17.name;
}
break;
default:
value3 = "";
}
if (!A.ReportResult_matchField(N.EnumUtils_parse(t16), _null, reportsUIState, userCompany, value3))
skip = true;
t16 = J.getInterceptor$(value3);
if (t16.get$runtimeType(value3) === C.Type_bool_lhE)
row.push(new A.ReportBoolValue(value3, t13, t12));
else if (t16.get$runtimeType(value3) === C.Type_double_K1J || t16.get$runtimeType(value3) === C.Type_int_tHn)
row.push(new A.ReportNumberValue(value3, _null, t9, _null, t13, t12));
else
row.push(new A.ReportStringValue(value3, t13, t12));
}
if (!skip)
data.push(row);
}
}
}
for (t1 = J.get$iterator$ax(creditMap.get$keys(creditMap)), t2 = creditMap._map$_map, t3 = J.getInterceptor$asx(t2); t1.moveNext$0();) {
credit = t3.$index(t2, t1.get$current(t1));
if (!credit.isDeleted && credit.statusId !== "1") {
t4 = credit.clientId;
client = J.$index$asx(clientMap._map$_map, t4);
t4 = staticState.currencyMap;
t8 = client.settings.currencyId;
t4 = t4._map$_map;
t9 = J.getInterceptor$asx(t4);
t10 = t9.$index(t4, t8);
precision = t10 == null ? _null : t10.precision;
taxes = credit.getTaxes$1(precision == null ? 2 : precision);
for (t10 = taxes.get$keys(taxes), t10 = t10.get$iterator(t10), t11 = credit.id, t12 = credit.entityType, value = credit.amount * -1, value0 = credit.date, value1 = credit.number, value2 = client.displayName; t10.moveNext$0();) {
t13 = t10.get$current(t10);
row = H.setRuntimeTypeInfo([], t7);
taxName = J.$index$asx(taxes.$index(0, t13), "name");
taxRate = J.$index$asx(taxes.$index(0, t13), "rate");
if (taxRate == null || taxRate === 0)
continue;
for (t14 = t6.get$iterator(t5), skip = false; t14.moveNext$0();) {
t15 = t14.get$current(t14);
switch (t15) {
case C.TaxRateReportFields_00:
value3 = value2;
break;
case C.TaxRateReportFields_11:
value3 = value1;
break;
case C.TaxRateReportFields_30:
value3 = value0;
break;
case C.TaxRateReportFields_20:
value3 = value;
break;
case C.TaxRateReportFields_40:
value3 = taxName;
break;
case C.TaxRateReportFields_50:
value3 = taxRate;
break;
case C.TaxRateReportFields_60:
t16 = J.$index$asx(taxes.$index(0, t13), "amount");
value3 = J.$mul$ns(t16 == null ? 0 : t16, -1);
break;
case C.TaxRateReportFields_70:
t16 = J.$index$asx(taxes.$index(0, t13), "paid");
value3 = J.$mul$ns(t16 == null ? 0 : t16, -1);
break;
case C.TaxRateReportFields_80:
t16 = t9.$index(t4, t8);
value3 = t16 == null ? _null : t16.name;
if (value3 == null) {
t16 = t9.$index(t4, t8);
value3 = t16 == null ? _null : t16.name;
}
break;
default:
value3 = "";
}
if (!A.ReportResult_matchField(N.EnumUtils_parse(t15), _null, reportsUIState, userCompany, value3))
skip = true;
t15 = J.getInterceptor$(value3);
if (t15.get$runtimeType(value3) === C.Type_bool_lhE)
row.push(new A.ReportBoolValue(value3, t12, t11));
else if (t15.get$runtimeType(value3) === C.Type_double_K1J || t15.get$runtimeType(value3) === C.Type_int_tHn)
row.push(new A.ReportNumberValue(value3, _null, t8, _null, t12, t11));
else
row.push(new A.ReportStringValue(value3, t12, t11));
}
if (!skip)
data.push(row);
}
}
}
t1 = type$.legacy_String;
C.JSArray_methods.sort$1(data, new O.taxReport_closure1(taxRateReportSettings, t6.map$1$1(t5, new O.taxReport_closure2(), t1).toList$0(0)));
t2 = type$.MappedListIterable_of_legacy_TaxRateReportFields_and_legacy_String;
t3 = t2._eval$1("ListIterable.E");
t4 = P.List_List$of(new H.MappedListIterable(C.List_dyC, new O.taxReport_closure3(), t2), true, t3);
return new A.ReportResult(t6.map$1$1(t5, new O.taxReport_closure4(), t1).toList$0(0), t4, P.List_List$of(new H.MappedListIterable(defaultColumns, new O.taxReport_closure5(), t2), true, t3), data, true);
},
TaxRateReportFields: function TaxRateReportFields(t0) {
this._invoice_tax_report$_name = t0;
},
memoizedInvoiceTaxReport_closure: function memoizedInvoiceTaxReport_closure() {
},
taxReport_closure: function taxReport_closure() {
},
taxReport_closure0: function taxReport_closure0() {
},
taxReport_closure2: function taxReport_closure2() {
},
taxReport_closure1: function taxReport_closure1(t0, t1) {
this.taxRateReportSettings = t0;
this.selectedColumns = t1;
},
taxReport_closure3: function taxReport_closure3() {
},
taxReport_closure4: function taxReport_closure4() {
},
taxReport_closure5: function taxReport_closure5() {
},
AccountManagement: function AccountManagement(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_AccountManagementState: function _AccountManagementState(t0, t1, t2, t3, t4) {
var _ = this;
_._account_management$_controller = _._account_management$_focusNode = null;
_._account_management$_debouncer = t0;
_._trackingIdController = t1;
_._account_management$_controllers = t2;
_.SingleTickerProviderStateMixin__ticker = t3;
_._widget = null;
_._debugLifecycleState = t4;
_._framework$_element = null;
},
_AccountManagementState_didChangeDependencies_closure: function _AccountManagementState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
_AccountManagementState_didChangeDependencies_closure0: function _AccountManagementState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
_AccountManagementState__onChanged_closure: function _AccountManagementState__onChanged_closure(t0) {
this.$this = t0;
},
_AccountManagementState__onChanged_closure0: function _AccountManagementState__onChanged_closure0(t0, t1) {
this.$this = t0;
this.company = t1;
},
_AccountManagementState_dispose_closure: function _AccountManagementState_dispose_closure(t0) {
this.$this = t0;
},
_AccountManagementState_build_closure: function _AccountManagementState_build_closure(t0, t1, t2, t3) {
var _ = this;
_.localization = t0;
_.company = t1;
_.context = t2;
_.viewModel = t3;
},
_AccountManagementState_build__closure2: function _AccountManagementState_build__closure2(t0, t1, t2) {
this.company = t0;
this.module = t1;
this.viewModel = t2;
},
_AccountManagementState_build___closure: function _AccountManagementState_build___closure(t0) {
this._box_0 = t0;
},
_AccountManagementState_build_closure0: function _AccountManagementState_build_closure0(t0, t1) {
this.viewModel = t0;
this.company = t1;
},
_AccountManagementState_build__closure1: function _AccountManagementState_build__closure1(t0) {
this.value = t0;
},
_AccountManagementState_build_closure1: function _AccountManagementState_build_closure1(t0, t1) {
this.viewModel = t0;
this.company = t1;
},
_AccountManagementState_build__closure0: function _AccountManagementState_build__closure0(t0) {
this.value = t0;
},
_AccountManagementState_build_closure2: function _AccountManagementState_build_closure2(t0, t1) {
this.viewModel = t0;
this.company = t1;
},
_AccountManagementState_build__closure: function _AccountManagementState_build__closure(t0) {
this.value = t0;
},
_AccountOverview: function _AccountOverview(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_AccountOverview_build__getDataStats: function _AccountOverview_build__getDataStats(t0, t1) {
this.$this = t0;
this.context = t1;
},
_AccountOverview_build_closure: function _AccountOverview_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
_AccountOverview_build_closure0: function _AccountOverview_build_closure0(t0) {
this.state = t0;
},
_AccountOverview_build_closure1: function _AccountOverview_build_closure1(t0, t1) {
this.$this = t0;
this.company = t1;
},
_AccountOverview_build__closure4: function _AccountOverview_build__closure4(t0) {
this.value = t0;
},
_AccountOverview_build_closure2: function _AccountOverview_build_closure2(t0, t1) {
this.$this = t0;
this.company = t1;
},
_AccountOverview_build__closure3: function _AccountOverview_build__closure3(t0) {
this.value = t0;
},
_AccountOverview_build_closure3: function _AccountOverview_build_closure3(t0, t1) {
this.$this = t0;
this.company = t1;
},
_AccountOverview_build__closure2: function _AccountOverview_build__closure2(t0) {
this.value = t0;
},
_AccountOverview_build_closure4: function _AccountOverview_build_closure4() {
},
_AccountOverview_build_closure5: function _AccountOverview_build_closure5(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.localization = t2;
},
_AccountOverview_build__closure1: function _AccountOverview_build__closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
_AccountOverview_build___closure1: function _AccountOverview_build___closure1() {
},
_AccountOverview_build___closure2: function _AccountOverview_build___closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
_AccountOverview_build___closure3: function _AccountOverview_build___closure3(t0) {
this.context = t0;
},
_AccountOverview_build_closure6: function _AccountOverview_build_closure6(t0) {
this.store = t0;
},
_AccountOverview_build_closure7: function _AccountOverview_build_closure7(t0) {
this.store = t0;
},
_AccountOverview_build_closure8: function _AccountOverview_build_closure8() {
},
_AccountOverview_build_closure9: function _AccountOverview_build_closure9() {
},
_AccountOverview_build_closure10: function _AccountOverview_build_closure10(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.context = t1;
_.localization = t2;
_._getDataStats = t3;
},
_AccountOverview_build__closure0: function _AccountOverview_build__closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
_AccountOverview_build___closure0: function _AccountOverview_build___closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
_AccountOverview_build_closure11: function _AccountOverview_build_closure11(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.$this = t0;
_.companies = t1;
_.localization = t2;
_.company = t3;
_._getDataStats = t4;
_.context = t5;
},
_AccountOverview_build__closure: function _AccountOverview_build__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
_AccountOverview_build___closure: function _AccountOverview_build___closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.reason = t2;
},
__AccountManagementState_State_SingleTickerProviderStateMixin: function __AccountManagementState_State_SingleTickerProviderStateMixin() {
},
SubscriptionScreen: function SubscriptionScreen(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
SubscriptionScreen_build_closure9: function SubscriptionScreen_build_closure9(t0) {
this.store = t0;
},
SubscriptionScreen_build_closure7: function SubscriptionScreen_build_closure7(t0) {
this.store = t0;
},
SubscriptionScreen_build_closure8: function SubscriptionScreen_build_closure8(t0) {
this.store = t0;
},
SubscriptionScreen_build_closure4: function SubscriptionScreen_build_closure4(t0) {
this.store = t0;
},
SubscriptionScreen_build_closure5: function SubscriptionScreen_build_closure5(t0) {
this.store = t0;
},
SubscriptionScreen_build_closure: function SubscriptionScreen_build_closure(t0) {
this.store = t0;
},
SubscriptionScreen_build_closure0: function SubscriptionScreen_build_closure0(t0) {
this.store = t0;
},
SubscriptionScreen_build_closure1: function SubscriptionScreen_build_closure1(t0) {
this.store = t0;
},
SubscriptionScreen_build_closure2: function SubscriptionScreen_build_closure2(t0) {
this.store = t0;
},
SubscriptionScreen_build_closure3: function SubscriptionScreen_build_closure3(t0) {
this.store = t0;
},
SubscriptionScreen_build_closure6: function SubscriptionScreen_build_closure6(t0) {
this.context = t0;
},
KanbanTaskCard$: function(isCorrectOrder, isDragging, isSaving, isSelected, onCancelPressed, onSavePressed, task) {
return new O.KanbanTaskCard(task, onSavePressed, onCancelPressed, isCorrectOrder, isSaving, isSelected, null);
},
KanbanTaskCard: function KanbanTaskCard(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.task = t0;
_.onSavePressed = t1;
_.onCancelPressed = t2;
_.isCorrectOrder = t3;
_.isSaving = t4;
_.isSelected = t5;
_.key = t6;
},
_KanbanTaskCardState: function _KanbanTaskCardState(t0) {
var _ = this;
_._kanban_card$_isHovered = _._isEditing = false;
_._kanban_card$_description = "";
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_KanbanTaskCardState_build_closure: function _KanbanTaskCardState_build_closure(t0) {
this.$this = t0;
},
_KanbanTaskCardState_build_closure1: function _KanbanTaskCardState_build_closure1(t0, t1) {
this.$this = t0;
this.task = t1;
},
_KanbanTaskCardState_build__closure3: function _KanbanTaskCardState_build__closure3(t0, t1) {
this.$this = t0;
this.task = t1;
},
_KanbanTaskCardState_build_closure0: function _KanbanTaskCardState_build_closure0(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.localization = t2;
},
_KanbanTaskCardState_build__closure4: function _KanbanTaskCardState_build__closure4(t0) {
this.$this = t0;
},
_KanbanTaskCardState_build___closure: function _KanbanTaskCardState_build___closure(t0) {
this.$this = t0;
},
_KanbanTaskCardState_build_closure8: function _KanbanTaskCardState_build_closure8(t0, t1) {
this.$this = t0;
this.state = t1;
},
_KanbanTaskCardState_build__closure1: function _KanbanTaskCardState_build__closure1(t0) {
this.$this = t0;
},
_KanbanTaskCardState_build_closure9: function _KanbanTaskCardState_build_closure9(t0) {
this.$this = t0;
},
_KanbanTaskCardState_build__closure0: function _KanbanTaskCardState_build__closure0(t0) {
this.$this = t0;
},
_KanbanTaskCardState_build_closure2: function _KanbanTaskCardState_build_closure2(t0, t1) {
this.state = t0;
this.task = t1;
},
_KanbanTaskCardState_build_closure3: function _KanbanTaskCardState_build_closure3(t0, t1) {
this.context = t0;
this.task = t1;
},
_KanbanTaskCardState_build_closure4: function _KanbanTaskCardState_build_closure4(t0) {
this.task = t0;
},
_KanbanTaskCardState_build_closure5: function _KanbanTaskCardState_build_closure5(t0, t1, t2) {
this.task = t0;
this.client = t1;
this.project = t2;
},
_KanbanTaskCardState_build_closure6: function _KanbanTaskCardState_build_closure6(t0, t1) {
this.localization = t0;
this.startLabel = t1;
},
_KanbanTaskCardState_build__closure2: function _KanbanTaskCardState_build__closure2(t0) {
this.localization = t0;
},
_KanbanTaskCardState_build_closure7: function _KanbanTaskCardState_build_closure7(t0, t1, t2, t3) {
var _ = this;
_.startLabel = t0;
_.task = t1;
_.localization = t2;
_.context = t3;
},
_KanbanTaskCardState_build_closure10: function _KanbanTaskCardState_build_closure10(t0) {
this.$this = t0;
},
_KanbanTaskCardState_build__closure: function _KanbanTaskCardState_build__closure(t0) {
this.$this = t0;
},
KanbanView: function KanbanView(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
KanbanViewState: function KanbanViewState(t0, t1) {
var _ = this;
_._boardViewController = t0;
_._kanban_view$_tasks = _._newTask = _._statuses = null;
_.isDragging = false;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
KanbanViewState__initBoard_closure: function KanbanViewState__initBoard_closure(t0) {
this.state = t0;
},
KanbanViewState__initBoard_closure0: function KanbanViewState__initBoard_closure0(t0) {
this.state = t0;
},
KanbanViewState__initBoard_closure1: function KanbanViewState__initBoard_closure1(t0, t1) {
this.$this = t0;
this.state = t1;
},
KanbanViewState__initBoard_closure2: function KanbanViewState__initBoard_closure2(t0, t1) {
this.$this = t0;
this.state = t1;
},
KanbanViewState__initBoard__closure: function KanbanViewState__initBoard__closure(t0) {
this.state = t0;
},
KanbanViewState__onBoardChanged_closure: function KanbanViewState__onBoardChanged_closure(t0) {
this.$this = t0;
},
KanbanViewState_build_closure: function KanbanViewState_build_closure(t0) {
this.$this = t0;
},
KanbanViewState_build_closure0: function KanbanViewState_build_closure0(t0, t1, t2, t3, t4) {
var _ = this;
_.$this = t0;
_.state = t1;
_.filteredStatusIds = t2;
_.color = t3;
_.context = t4;
},
KanbanViewState_build__closure5: function KanbanViewState_build__closure5(t0) {
this.$this = t0;
},
KanbanViewState_build___closure: function KanbanViewState_build___closure(t0, t1, t2) {
this.$this = t0;
this.startIndex = t1;
this.endIndex = t2;
},
KanbanViewState_build__closure: function KanbanViewState_build__closure(t0, t1) {
this.$this = t0;
this.statusId = t1;
},
KanbanViewState_build__closure1: function KanbanViewState_build__closure1(t0, t1) {
this.$this = t0;
this.status = t1;
},
KanbanViewState_build__closure0: function KanbanViewState_build__closure0(t0) {
this.$this = t0;
},
KanbanViewState_build___closure5: function KanbanViewState_build___closure5(t0) {
this.$this = t0;
},
KanbanViewState_build__closure2: function KanbanViewState_build__closure2(t0, t1) {
this.$this = t0;
this.status = t1;
},
KanbanViewState_build___closure4: function KanbanViewState_build___closure4(t0, t1) {
this.$this = t0;
this.status = t1;
},
KanbanViewState_build____closure3: function KanbanViewState_build____closure3(t0) {
this.status = t0;
},
KanbanViewState_build__closure3: function KanbanViewState_build__closure3(t0) {
this.$this = t0;
},
KanbanViewState_build__closure4: function KanbanViewState_build__closure4(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.state = t1;
_.status = t2;
_.statusId = t3;
},
KanbanViewState_build___closure1: function KanbanViewState_build___closure1(t0, t1, t2) {
this.$this = t0;
this.status = t1;
this.task = t2;
},
KanbanViewState_build___closure0: function KanbanViewState_build___closure0(t0, t1) {
this.$this = t0;
this.task = t1;
},
KanbanViewState_build____closure2: function KanbanViewState_build____closure2(t0) {
this.$this = t0;
},
KanbanViewState_build___closure3: function KanbanViewState_build___closure3(t0) {
this.$this = t0;
},
KanbanViewState_build____closure: function KanbanViewState_build____closure(t0) {
this.$this = t0;
},
KanbanViewState_build___closure2: function KanbanViewState_build___closure2(t0, t1) {
this.$this = t0;
this.status = t1;
},
KanbanViewState_build____closure0: function KanbanViewState_build____closure0(t0) {
this.$this = t0;
},
KanbanViewState_build____closure1: function KanbanViewState_build____closure1(t0, t1, t2, t3, t4) {
var _ = this;
_.$this = t0;
_.oldStatusId = t1;
_.taskId = t2;
_.newStatusId = t3;
_.itemIndex = t4;
},
TaskStatusListItem: function TaskStatusListItem(t0, t1, t2, t3, t4) {
var _ = this;
_.user = t0;
_.taskStatus = t1;
_.filter = t2;
_.isChecked = t3;
_.key = t4;
},
TaskStatusListItem_build_closure1: function TaskStatusListItem_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
TaskStatusListItem_build_closure0: function TaskStatusListItem_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
TaskStatusListItem_build_closure: function TaskStatusListItem_build_closure(t0) {
this.$this = t0;
},
TaxRateScreenVM_fromStore: function(store) {
var t4, t5, t6, t7, t8,
state = store.get$_store$_state(),
t1 = state.userCompanyStates,
t2 = state.uiState,
t3 = t2.selectedCompanyIndex;
t1 = t1._list;
t4 = J.getInterceptor$asx(t1);
t4.$index(t1, t3).taxRateState.toString;
t5 = $.$get$memoizedFilteredTaxRateList();
t6 = state.getUISelection$1(C.EntityType_taxRate);
t7 = t4.$index(t1, t3).taxRateState.map;
t8 = t4.$index(t1, t3).taxRateState.list;
t2 = t2.taxRateUIState.listUIState;
t8 = t5.call$4(t6, t7, t8, t2);
t4.$index(t1, t3).toString;
t2.toString;
return new O.TaxRateScreenVM(t8);
},
TaxRateScreenBuilder: function TaxRateScreenBuilder(t0) {
this.key = t0;
},
TaxRateScreenBuilder_build_closure: function TaxRateScreenBuilder_build_closure() {
},
TaxRateScreenVM: function TaxRateScreenVM(t0) {
this.taxRateList = t0;
},
snackBarCompleter: function(context, message, shouldPop, $T) {
var t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0*>")),
$navigator = K.Navigator_of(context, false);
t1.then$1$1(0, new O.snackBarCompleter_closure(shouldPop, $navigator, message, null, $T), type$.Null).catchError$1(new O.snackBarCompleter_closure0(shouldPop, $navigator));
return new P._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0*>"));
},
snackBarCompleter_closure: function snackBarCompleter_closure(t0, t1, t2, t3, t4) {
var _ = this;
_.shouldPop = t0;
_.navigator = t1;
_.message = t2;
_.callback = t3;
_.T = t4;
},
snackBarCompleter_closure0: function snackBarCompleter_closure0(t0, t1) {
this.shouldPop = t0;
this.navigator = t1;
},
snackBarCompleter__closure: function snackBarCompleter__closure(t0) {
this.error = t0;
},
Debouncer: function Debouncer(t0, t1) {
this.milliseconds = t0;
this.sendFirstAction = t1;
},
Debouncer_run_closure: function Debouncer_run_closure(t0) {
this.action = t0;
},
showRefreshDataDialog: function(context, includeStatic) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.dynamic),
store, t1;
var $async$showRefreshDataDialog = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
store = O.StoreProvider_of(context, type$.legacy_AppState);
t1 = O.snackBarCompleter(context, L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization).get$refreshComplete(), true, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new M.RefreshData(t1, true, includeStatic, false));
$async$goto = 2;
return P._asyncAwait(E.showDialog(false, new O.showRefreshDataDialog_closure(), context, null, true, type$.legacy_AlertDialog), $async$showRefreshDataDialog);
case 2:
// returning from await.
context.findAncestorStateOfType$1$0(type$.legacy_AppBuilderState).rebuild$0();
// implicit return
return P._asyncReturn(null, $async$completer);
}
});
return P._asyncStartSync($async$showRefreshDataDialog, $async$completer);
},
showErrorDialog: function(clearErrorOnDismiss, context, message) {
E.showDialog(true, new O.showErrorDialog_closure(message, clearErrorOnDismiss), context, null, true, type$.legacy_ErrorDialog);
},
showMessageDialog: function(context, message, secondaryActions) {
E.showDialog(true, new O.showMessageDialog_closure(message, secondaryActions), context, null, true, type$.legacy_MessageDialog);
},
confirmCallback: function(askForReason, callback, context, message, skip, typeToConfirm) {
var t1, t2, title;
if (skip) {
callback.call$1(null);
return;
}
t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
t2 = message == null;
title = t2 ? t1.get$areYouSure() : message;
E.showDialog(true, new O.confirmCallback_closure(typeToConfirm, callback, t1, title, askForReason, t2 ? null : t1.get$areYouSure()), context, null, true, type$.legacy_AlertDialog);
},
passwordCallback: function(alwaysRequire, callback, context) {
var error, t1, t2, exception,
state = O.StoreProvider_of(context, type$.legacy_AppState).get$_store$_state();
if (state.get$hasRecentlyEnteredPassword() && !alwaysRequire) {
callback.call$2(null, null);
return;
} else {
t1 = state;
t2 = t1.userCompanyStates;
t1 = t1.uiState.selectedCompanyIndex;
J.$index$asx(t2._list, t1).userCompany.user.toString;
}
t1 = state;
t2 = t1.userCompanyStates;
t1 = t1.uiState.selectedCompanyIndex;
if (J.$index$asx(t2._list, t1).userCompany.user.oauthProvider.length === 0 || false) {
E.showDialog(false, new O.passwordCallback_closure(callback), context, null, true, type$.Null);
return;
}
try {
B.GoogleOAuth_signIn(new O.passwordCallback_closure0(alwaysRequire, state, callback, context), true);
} catch (exception) {
error = H.unwrapException(exception);
O.showErrorDialog(false, context, H.S(error));
}
},
fieldCallback: function(callback, context, field, maxLength, secondaryActions, title) {
E.showDialog(false, new O.fieldCallback_closure(callback, field, title, maxLength, secondaryActions), context, null, true, type$.legacy_AlertDialog);
},
cloneToDialog: function(context, invoice) {
var t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization),
state = O.StoreProvider_of(context, type$.legacy_AppState).get$_store$_state(),
t2 = state.userCompanyStates,
t3 = state.uiState.selectedCompanyIndex;
E.showDialog(true, new O.cloneToDialog_closure(t1, J.$index$asx(t2._list, t3).userCompany, invoice), context, null, true, type$.legacy_AlertDialog);
},
showRefreshDataDialog_closure: function showRefreshDataDialog_closure() {
},
showErrorDialog_closure: function showErrorDialog_closure(t0, t1) {
this.message = t0;
this.clearErrorOnDismiss = t1;
},
showMessageDialog_closure: function showMessageDialog_closure(t0, t1) {
this.message = t0;
this.secondaryActions = t1;
},
confirmCallback_closure: function confirmCallback_closure(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.typeToConfirm = t0;
_.callback = t1;
_.localization = t2;
_.title = t3;
_.askForReason = t4;
_.content = t5;
},
confirmCallback_closure__onPressed: function confirmCallback_closure__onPressed(t0, t1, t2, t3, t4) {
var _ = this;
_._box_0 = t0;
_.typeToConfirm = t1;
_.context = t2;
_.callback = t3;
_.localization = t4;
},
confirmCallback__closure: function confirmCallback__closure(t0) {
this._box_0 = t0;
},
confirmCallback__closure0: function confirmCallback__closure0(t0) {
this._onPressed = t0;
},
confirmCallback__closure1: function confirmCallback__closure1(t0) {
this._box_0 = t0;
},
confirmCallback__closure2: function confirmCallback__closure2(t0) {
this.context = t0;
},
confirmCallback__closure3: function confirmCallback__closure3(t0) {
this._onPressed = t0;
},
passwordCallback_closure: function passwordCallback_closure(t0) {
this.callback = t0;
},
passwordCallback_closure0: function passwordCallback_closure0(t0, t1, t2, t3) {
var _ = this;
_.alwaysRequire = t0;
_.state = t1;
_.callback = t2;
_.context = t3;
},
passwordCallback__closure: function passwordCallback__closure(t0, t1) {
this.callback = t0;
this.idToken = t1;
},
PasswordConfirmation: function PasswordConfirmation(t0, t1, t2) {
this.callback = t0;
this.idToken = t1;
this.key = t2;
},
_PasswordConfirmationState: function _PasswordConfirmationState(t0) {
var _ = this;
_._dialogs$_password = null;
_._isPasswordObscured = true;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_PasswordConfirmationState_build_closure0: function _PasswordConfirmationState_build_closure0(t0) {
this.$this = t0;
},
_PasswordConfirmationState_build_closure: function _PasswordConfirmationState_build_closure(t0) {
this.$this = t0;
},
_PasswordConfirmationState_build__closure: function _PasswordConfirmationState_build__closure(t0) {
this.$this = t0;
},
_PasswordConfirmationState_build_closure1: function _PasswordConfirmationState_build_closure1(t0) {
this.$this = t0;
},
_PasswordConfirmationState_build_closure2: function _PasswordConfirmationState_build_closure2(t0) {
this.context = t0;
},
_PasswordConfirmationState_build_closure3: function _PasswordConfirmationState_build_closure3(t0) {
this.$this = t0;
},
fieldCallback_closure: function fieldCallback_closure(t0, t1, t2, t3, t4) {
var _ = this;
_.callback = t0;
_.field = t1;
_.title = t2;
_.maxLength = t3;
_.secondaryActions = t4;
},
FieldConfirmation: function FieldConfirmation(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.callback = t0;
_.title = t1;
_.field = t2;
_.maxLength = t3;
_.secondaryActions = t4;
_.key = t5;
},
_FieldConfirmationState: function _FieldConfirmationState(t0) {
var _ = this;
_._widget = _._dialogs$_field = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_FieldConfirmationState_build_closure0: function _FieldConfirmationState_build_closure0(t0) {
this.$this = t0;
},
_FieldConfirmationState_build_closure: function _FieldConfirmationState_build_closure() {
},
_FieldConfirmationState_build_closure1: function _FieldConfirmationState_build_closure1(t0) {
this.$this = t0;
},
_FieldConfirmationState_build_closure2: function _FieldConfirmationState_build_closure2(t0) {
this.context = t0;
},
_FieldConfirmationState_build_closure3: function _FieldConfirmationState_build_closure3(t0) {
this.$this = t0;
},
cloneToDialog_closure: function cloneToDialog_closure(t0, t1, t2) {
this.localization = t0;
this.userCompany = t1;
this.invoice = t2;
},
cloneToDialog__closure: function cloneToDialog__closure(t0, t1) {
this.invoice = t0;
this.context = t1;
},
cloneToDialog__closure0: function cloneToDialog__closure0(t0, t1) {
this.invoice = t0;
this.context = t1;
},
cloneToDialog__closure1: function cloneToDialog__closure1(t0, t1) {
this.invoice = t0;
this.context = t1;
},
cloneToDialog__closure2: function cloneToDialog__closure2(t0, t1) {
this.invoice = t0;
this.context = t1;
},
cloneToDialog__closure3: function cloneToDialog__closure3(t0) {
this.context = t0;
},
memo1: function(func, $A, $R) {
var t1 = {};
t1._prevArg = $;
t1._prevResult = $;
t1.isInitial = true;
return new O.memo1_closure(t1, new O.memo1__prevArg_get(t1, $A), new O.memo1__prevResult_get(t1, $R), new O.memo1__prevArg_set(t1, $A), new O.memo1__prevResult_set(t1, $R), func, $A, $R);
},
memo2: function(func, $A, $B, $R) {
var t1 = {};
t1._prevArgA = $;
t1._prevArgB = $;
t1._prevResult = $;
t1.isInitial = true;
return new O.memo2_closure(t1, new O.memo2__prevArgA_get(t1, $A), new O.memo2__prevArgB_get(t1, $B), new O.memo2__prevResult_get(t1, $R), new O.memo2__prevArgA_set(t1, $A), new O.memo2__prevArgB_set(t1, $B), new O.memo2__prevResult_set(t1, $R), func, $A, $B, $R);
},
memo3: function(func, $A, $B, $C, $R) {
var t1 = {};
t1._prevArgA = $;
t1._prevArgB = $;
t1._prevArgC = $;
t1._prevResult = $;
t1.isInitial = true;
return new O.memo3_closure(t1, new O.memo3__prevArgA_get(t1, $A), new O.memo3__prevArgB_get(t1, $B), new O.memo3__prevArgC_get(t1, $C), new O.memo3__prevResult_get(t1, $R), new O.memo3__prevArgA_set(t1, $A), new O.memo3__prevArgB_set(t1, $B), new O.memo3__prevArgC_set(t1, $C), new O.memo3__prevResult_set(t1, $R), func, $A, $B, $C, $R);
},
memo4: function(func, $A, $B, $C, $D, $R) {
var t1 = {};
t1._prevArgA = $;
t1._prevArgB = $;
t1._prevArgC = $;
t1._prevArgD = $;
t1._prevResult = $;
t1.isInitial = true;
return new O.memo4_closure(t1, new O.memo4__prevArgA_get(t1, $A), new O.memo4__prevArgB_get(t1, $B), new O.memo4__prevArgC_get(t1, $C), new O.memo4__prevArgD_get(t1, $D), new O.memo4__prevResult_get(t1, $R), new O.memo4__prevArgA_set(t1, $A), new O.memo4__prevArgB_set(t1, $B), new O.memo4__prevArgC_set(t1, $C), new O.memo4__prevArgD_set(t1, $D), new O.memo4__prevResult_set(t1, $R), func, $A, $B, $C, $D, $R);
},
memo5: function(func, $A, $B, $C, $D, $E, $R) {
var t1 = {};
t1._prevArgA = $;
t1._prevArgB = $;
t1._prevArgC = $;
t1._prevArgD = $;
t1._prevArgE = $;
t1._prevResult = $;
t1.isInitial = true;
return new O.memo5_closure(t1, new O.memo5__prevArgA_get(t1, $A), new O.memo5__prevArgB_get(t1, $B), new O.memo5__prevArgC_get(t1, $C), new O.memo5__prevArgD_get(t1, $D), new O.memo5__prevArgE_get(t1, $E), new O.memo5__prevResult_get(t1, $R), new O.memo5__prevArgA_set(t1, $A), new O.memo5__prevArgB_set(t1, $B), new O.memo5__prevArgC_set(t1, $C), new O.memo5__prevArgD_set(t1, $D), new O.memo5__prevArgE_set(t1, $E), new O.memo5__prevResult_set(t1, $R), func, $A, $B, $C, $D, $E, $R);
},
memo6: function(func, $A, $B, $C, $D, $E, $F, $R) {
var t1 = {};
t1._prevArgA = $;
t1._prevArgB = $;
t1._prevArgC = $;
t1._prevArgD = $;
t1._prevArgE = $;
t1._prevArgF = $;
t1._prevResult = $;
t1.isInitial = true;
return new O.memo6_closure(t1, new O.memo6__prevArgA_get(t1, $A), new O.memo6__prevArgB_get(t1, $B), new O.memo6__prevArgC_get(t1, $C), new O.memo6__prevArgD_get(t1, $D), new O.memo6__prevArgE_get(t1, $E), new O.memo6__prevArgF_get(t1, $F), new O.memo6__prevResult_get(t1, $R), new O.memo6__prevArgA_set(t1, $A), new O.memo6__prevArgB_set(t1, $B), new O.memo6__prevArgC_set(t1, $C), new O.memo6__prevArgD_set(t1, $D), new O.memo6__prevArgE_set(t1, $E), new O.memo6__prevArgF_set(t1, $F), new O.memo6__prevResult_set(t1, $R), func, $A, $B, $C, $D, $E, $F, $R);
},
memo7: function(func, $A, $B, $C, $D, $E, $F, $G, $R) {
var t1 = {};
t1._prevArgA = $;
t1._prevArgB = $;
t1._prevArgC = $;
t1._prevArgD = $;
t1._prevArgE = $;
t1._prevArgF = $;
t1._prevArgG = $;
t1._prevResult = $;
t1.isInitial = true;
return new O.memo7_closure(t1, new O.memo7__prevArgA_get(t1, $A), new O.memo7__prevArgB_get(t1, $B), new O.memo7__prevArgC_get(t1, $C), new O.memo7__prevArgD_get(t1, $D), new O.memo7__prevArgE_get(t1, $E), new O.memo7__prevArgF_get(t1, $F), new O.memo7__prevArgG_get(t1, $G), new O.memo7__prevResult_get(t1, $R), new O.memo7__prevArgA_set(t1, $A), new O.memo7__prevArgB_set(t1, $B), new O.memo7__prevArgC_set(t1, $C), new O.memo7__prevArgD_set(t1, $D), new O.memo7__prevArgE_set(t1, $E), new O.memo7__prevArgF_set(t1, $F), new O.memo7__prevArgG_set(t1, $G), new O.memo7__prevResult_set(t1, $R), func, $A, $B, $C, $D, $E, $F, $G, $R);
},
memo8: function(func, $A, $B, $C, $D, $E, $F, $G, $H, $R) {
var t1 = {};
t1._prevArgA = $;
t1._prevArgB = $;
t1._prevArgC = $;
t1._prevArgD = $;
t1._prevArgE = $;
t1._prevArgF = $;
t1._prevArgG = $;
t1._prevArgH = $;
t1._prevResult = $;
t1.isInitial = true;
return new O.memo8_closure(t1, new O.memo8__prevArgA_get(t1, $A), new O.memo8__prevArgB_get(t1, $B), new O.memo8__prevArgC_get(t1, $C), new O.memo8__prevArgD_get(t1, $D), new O.memo8__prevArgE_get(t1, $E), new O.memo8__prevArgF_get(t1, $F), new O.memo8__prevArgG_get(t1, $G), new O.memo8__prevArgH_get(t1, $H), new O.memo8__prevResult_get(t1, $R), new O.memo8__prevArgA_set(t1, $A), new O.memo8__prevArgB_set(t1, $B), new O.memo8__prevArgC_set(t1, $C), new O.memo8__prevArgD_set(t1, $D), new O.memo8__prevArgE_set(t1, $E), new O.memo8__prevArgF_set(t1, $F), new O.memo8__prevArgG_set(t1, $G), new O.memo8__prevArgH_set(t1, $H), new O.memo8__prevResult_set(t1, $R), func, $A, $B, $C, $D, $E, $F, $G, $H, $R);
},
memo9: function(func, $A, $B, $C, $D, $E, $F, $G, $H, I, $R) {
var t1 = {};
t1._prevArgA = $;
t1._prevArgB = $;
t1._prevArgC = $;
t1._prevArgD = $;
t1._prevArgE = $;
t1._prevArgF = $;
t1._prevArgG = $;
t1._prevArgH = $;
t1._prevArgI = $;
t1._prevResult = $;
t1.isInitial = true;
return new O.memo9_closure(t1, new O.memo9__prevArgA_get(t1, $A), new O.memo9__prevArgB_get(t1, $B), new O.memo9__prevArgC_get(t1, $C), new O.memo9__prevArgD_get(t1, $D), new O.memo9__prevArgE_get(t1, $E), new O.memo9__prevArgF_get(t1, $F), new O.memo9__prevArgG_get(t1, $G), new O.memo9__prevArgH_get(t1, $H), new O.memo9__prevArgI_get(t1, I), new O.memo9__prevResult_get(t1, $R), new O.memo9__prevArgA_set(t1, $A), new O.memo9__prevArgB_set(t1, $B), new O.memo9__prevArgC_set(t1, $C), new O.memo9__prevArgD_set(t1, $D), new O.memo9__prevArgE_set(t1, $E), new O.memo9__prevArgF_set(t1, $F), new O.memo9__prevArgG_set(t1, $G), new O.memo9__prevArgH_set(t1, $H), new O.memo9__prevArgI_set(t1, I), new O.memo9__prevResult_set(t1, $R), func, $A, $B, $C, $D, $E, $F, $G, $H, I, $R);
},
memo10: function(func, $A, $B, $C, $D, $E, $F, $G, $H, I, $J, $R) {
var t1 = {};
t1._prevArgA = $;
t1._prevArgB = $;
t1._prevArgC = $;
t1._prevArgD = $;
t1._prevArgE = $;
t1._prevArgF = $;
t1._prevArgG = $;
t1._prevArgH = $;
t1._prevArgI = $;
t1._prevArgJ = $;
t1._prevResult = $;
t1.isInitial = true;
return new O.memo10_closure(t1, new O.memo10__prevArgA_get(t1, $A), new O.memo10__prevArgB_get(t1, $B), new O.memo10__prevArgC_get(t1, $C), new O.memo10__prevArgD_get(t1, $D), new O.memo10__prevArgE_get(t1, $E), new O.memo10__prevArgF_get(t1, $F), new O.memo10__prevArgG_get(t1, $G), new O.memo10__prevArgH_get(t1, $H), new O.memo10__prevArgI_get(t1, I), new O.memo10__prevArgJ_get(t1, $J), new O.memo10__prevResult_get(t1, $R), new O.memo10__prevArgA_set(t1, $A), new O.memo10__prevArgB_set(t1, $B), new O.memo10__prevArgC_set(t1, $C), new O.memo10__prevArgD_set(t1, $D), new O.memo10__prevArgE_set(t1, $E), new O.memo10__prevArgF_set(t1, $F), new O.memo10__prevArgG_set(t1, $G), new O.memo10__prevArgH_set(t1, $H), new O.memo10__prevArgI_set(t1, I), new O.memo10__prevArgJ_set(t1, $J), new O.memo10__prevResult_set(t1, $R), func, $A, $B, $C, $D, $E, $F, $G, $H, I, $J, $R);
},
memo1__prevArg_set: function memo1__prevArg_set(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo1__prevResult_set: function memo1__prevResult_set(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo1__prevArg_get: function memo1__prevArg_get(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo1__prevResult_get: function memo1__prevResult_get(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo1_closure: function memo1_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._box_0 = t0;
_._prevArg_get = t1;
_._prevResult_get = t2;
_._prevArg_set = t3;
_._prevResult_set = t4;
_.func = t5;
_.A = t6;
_.R = t7;
},
memo2__prevArgA_set: function memo2__prevArgA_set(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo2__prevArgB_set: function memo2__prevArgB_set(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo2__prevResult_set: function memo2__prevResult_set(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo2__prevArgA_get: function memo2__prevArgA_get(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo2__prevArgB_get: function memo2__prevArgB_get(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo2__prevResult_get: function memo2__prevResult_get(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo2_closure: function memo2_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_._box_0 = t0;
_._prevArgA_get = t1;
_._prevArgB_get = t2;
_._prevResult_get = t3;
_._prevArgA_set = t4;
_._prevArgB_set = t5;
_._prevResult_set = t6;
_.func = t7;
_.A = t8;
_.B = t9;
_.R = t10;
},
memo3__prevArgA_set: function memo3__prevArgA_set(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo3__prevArgB_set: function memo3__prevArgB_set(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo3__prevArgC_set: function memo3__prevArgC_set(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo3__prevResult_set: function memo3__prevResult_set(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo3__prevArgA_get: function memo3__prevArgA_get(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo3__prevArgB_get: function memo3__prevArgB_get(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo3__prevArgC_get: function memo3__prevArgC_get(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo3__prevResult_get: function memo3__prevResult_get(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo3_closure: function memo3_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
var _ = this;
_._box_0 = t0;
_._prevArgA_get = t1;
_._prevArgB_get = t2;
_._prevArgC_get = t3;
_._prevResult_get = t4;
_._prevArgA_set = t5;
_._prevArgB_set = t6;
_._prevArgC_set = t7;
_._prevResult_set = t8;
_.func = t9;
_.A = t10;
_.B = t11;
_.C = t12;
_.R = t13;
},
memo4__prevArgA_set: function memo4__prevArgA_set(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo4__prevArgB_set: function memo4__prevArgB_set(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo4__prevArgC_set: function memo4__prevArgC_set(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo4__prevArgD_set: function memo4__prevArgD_set(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo4__prevResult_set: function memo4__prevResult_set(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo4__prevArgA_get: function memo4__prevArgA_get(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo4__prevArgB_get: function memo4__prevArgB_get(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo4__prevArgC_get: function memo4__prevArgC_get(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo4__prevArgD_get: function memo4__prevArgD_get(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo4__prevResult_get: function memo4__prevResult_get(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo4_closure: function memo4_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
var _ = this;
_._box_0 = t0;
_._prevArgA_get = t1;
_._prevArgB_get = t2;
_._prevArgC_get = t3;
_._prevArgD_get = t4;
_._prevResult_get = t5;
_._prevArgA_set = t6;
_._prevArgB_set = t7;
_._prevArgC_set = t8;
_._prevArgD_set = t9;
_._prevResult_set = t10;
_.func = t11;
_.A = t12;
_.B = t13;
_.C = t14;
_.D = t15;
_.R = t16;
},
memo5__prevArgA_set: function memo5__prevArgA_set(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo5__prevArgB_set: function memo5__prevArgB_set(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo5__prevArgC_set: function memo5__prevArgC_set(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo5__prevArgD_set: function memo5__prevArgD_set(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo5__prevArgE_set: function memo5__prevArgE_set(t0, t1) {
this._box_0 = t0;
this.E = t1;
},
memo5__prevResult_set: function memo5__prevResult_set(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo5__prevArgA_get: function memo5__prevArgA_get(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo5__prevArgB_get: function memo5__prevArgB_get(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo5__prevArgC_get: function memo5__prevArgC_get(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo5__prevArgD_get: function memo5__prevArgD_get(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo5__prevArgE_get: function memo5__prevArgE_get(t0, t1) {
this._box_0 = t0;
this.E = t1;
},
memo5__prevResult_get: function memo5__prevResult_get(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo5_closure: function memo5_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) {
var _ = this;
_._box_0 = t0;
_._prevArgA_get = t1;
_._prevArgB_get = t2;
_._prevArgC_get = t3;
_._prevArgD_get = t4;
_._prevArgE_get = t5;
_._prevResult_get = t6;
_._prevArgA_set = t7;
_._prevArgB_set = t8;
_._prevArgC_set = t9;
_._prevArgD_set = t10;
_._prevArgE_set = t11;
_._prevResult_set = t12;
_.func = t13;
_.A = t14;
_.B = t15;
_.C = t16;
_.D = t17;
_.E = t18;
_.R = t19;
},
memo6__prevArgA_set: function memo6__prevArgA_set(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo6__prevArgB_set: function memo6__prevArgB_set(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo6__prevArgC_set: function memo6__prevArgC_set(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo6__prevArgD_set: function memo6__prevArgD_set(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo6__prevArgE_set: function memo6__prevArgE_set(t0, t1) {
this._box_0 = t0;
this.E = t1;
},
memo6__prevArgF_set: function memo6__prevArgF_set(t0, t1) {
this._box_0 = t0;
this.F = t1;
},
memo6__prevResult_set: function memo6__prevResult_set(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo6__prevArgA_get: function memo6__prevArgA_get(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo6__prevArgB_get: function memo6__prevArgB_get(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo6__prevArgC_get: function memo6__prevArgC_get(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo6__prevArgD_get: function memo6__prevArgD_get(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo6__prevArgE_get: function memo6__prevArgE_get(t0, t1) {
this._box_0 = t0;
this.E = t1;
},
memo6__prevArgF_get: function memo6__prevArgF_get(t0, t1) {
this._box_0 = t0;
this.F = t1;
},
memo6__prevResult_get: function memo6__prevResult_get(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo6_closure: function memo6_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22) {
var _ = this;
_._box_0 = t0;
_._prevArgA_get = t1;
_._prevArgB_get = t2;
_._prevArgC_get = t3;
_._prevArgD_get = t4;
_._prevArgE_get = t5;
_._prevArgF_get = t6;
_._prevResult_get = t7;
_._prevArgA_set = t8;
_._prevArgB_set = t9;
_._prevArgC_set = t10;
_._prevArgD_set = t11;
_._prevArgE_set = t12;
_._prevArgF_set = t13;
_._prevResult_set = t14;
_.func = t15;
_.A = t16;
_.B = t17;
_.C = t18;
_.D = t19;
_.E = t20;
_.F = t21;
_.R = t22;
},
memo7__prevArgA_set: function memo7__prevArgA_set(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo7__prevArgB_set: function memo7__prevArgB_set(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo7__prevArgC_set: function memo7__prevArgC_set(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo7__prevArgD_set: function memo7__prevArgD_set(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo7__prevArgE_set: function memo7__prevArgE_set(t0, t1) {
this._box_0 = t0;
this.E = t1;
},
memo7__prevArgF_set: function memo7__prevArgF_set(t0, t1) {
this._box_0 = t0;
this.F = t1;
},
memo7__prevArgG_set: function memo7__prevArgG_set(t0, t1) {
this._box_0 = t0;
this.G = t1;
},
memo7__prevResult_set: function memo7__prevResult_set(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo7__prevArgA_get: function memo7__prevArgA_get(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo7__prevArgB_get: function memo7__prevArgB_get(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo7__prevArgC_get: function memo7__prevArgC_get(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo7__prevArgD_get: function memo7__prevArgD_get(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo7__prevArgE_get: function memo7__prevArgE_get(t0, t1) {
this._box_0 = t0;
this.E = t1;
},
memo7__prevArgF_get: function memo7__prevArgF_get(t0, t1) {
this._box_0 = t0;
this.F = t1;
},
memo7__prevArgG_get: function memo7__prevArgG_get(t0, t1) {
this._box_0 = t0;
this.G = t1;
},
memo7__prevResult_get: function memo7__prevResult_get(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo7_closure: function memo7_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25) {
var _ = this;
_._box_0 = t0;
_._prevArgA_get = t1;
_._prevArgB_get = t2;
_._prevArgC_get = t3;
_._prevArgD_get = t4;
_._prevArgE_get = t5;
_._prevArgF_get = t6;
_._prevArgG_get = t7;
_._prevResult_get = t8;
_._prevArgA_set = t9;
_._prevArgB_set = t10;
_._prevArgC_set = t11;
_._prevArgD_set = t12;
_._prevArgE_set = t13;
_._prevArgF_set = t14;
_._prevArgG_set = t15;
_._prevResult_set = t16;
_.func = t17;
_.A = t18;
_.B = t19;
_.C = t20;
_.D = t21;
_.E = t22;
_.F = t23;
_.G = t24;
_.R = t25;
},
memo8__prevArgA_set: function memo8__prevArgA_set(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo8__prevArgB_set: function memo8__prevArgB_set(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo8__prevArgC_set: function memo8__prevArgC_set(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo8__prevArgD_set: function memo8__prevArgD_set(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo8__prevArgE_set: function memo8__prevArgE_set(t0, t1) {
this._box_0 = t0;
this.E = t1;
},
memo8__prevArgF_set: function memo8__prevArgF_set(t0, t1) {
this._box_0 = t0;
this.F = t1;
},
memo8__prevArgG_set: function memo8__prevArgG_set(t0, t1) {
this._box_0 = t0;
this.G = t1;
},
memo8__prevArgH_set: function memo8__prevArgH_set(t0, t1) {
this._box_0 = t0;
this.H = t1;
},
memo8__prevResult_set: function memo8__prevResult_set(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo8__prevArgA_get: function memo8__prevArgA_get(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo8__prevArgB_get: function memo8__prevArgB_get(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo8__prevArgC_get: function memo8__prevArgC_get(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo8__prevArgD_get: function memo8__prevArgD_get(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo8__prevArgE_get: function memo8__prevArgE_get(t0, t1) {
this._box_0 = t0;
this.E = t1;
},
memo8__prevArgF_get: function memo8__prevArgF_get(t0, t1) {
this._box_0 = t0;
this.F = t1;
},
memo8__prevArgG_get: function memo8__prevArgG_get(t0, t1) {
this._box_0 = t0;
this.G = t1;
},
memo8__prevArgH_get: function memo8__prevArgH_get(t0, t1) {
this._box_0 = t0;
this.H = t1;
},
memo8__prevResult_get: function memo8__prevResult_get(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo8_closure: function memo8_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28) {
var _ = this;
_._box_0 = t0;
_._prevArgA_get = t1;
_._prevArgB_get = t2;
_._prevArgC_get = t3;
_._prevArgD_get = t4;
_._prevArgE_get = t5;
_._prevArgF_get = t6;
_._prevArgG_get = t7;
_._prevArgH_get = t8;
_._prevResult_get = t9;
_._prevArgA_set = t10;
_._prevArgB_set = t11;
_._prevArgC_set = t12;
_._prevArgD_set = t13;
_._prevArgE_set = t14;
_._prevArgF_set = t15;
_._prevArgG_set = t16;
_._prevArgH_set = t17;
_._prevResult_set = t18;
_.func = t19;
_.A = t20;
_.B = t21;
_.C = t22;
_.D = t23;
_.E = t24;
_.F = t25;
_.G = t26;
_.H = t27;
_.R = t28;
},
memo9__prevArgA_set: function memo9__prevArgA_set(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo9__prevArgB_set: function memo9__prevArgB_set(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo9__prevArgC_set: function memo9__prevArgC_set(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo9__prevArgD_set: function memo9__prevArgD_set(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo9__prevArgE_set: function memo9__prevArgE_set(t0, t1) {
this._box_0 = t0;
this.E = t1;
},
memo9__prevArgF_set: function memo9__prevArgF_set(t0, t1) {
this._box_0 = t0;
this.F = t1;
},
memo9__prevArgG_set: function memo9__prevArgG_set(t0, t1) {
this._box_0 = t0;
this.G = t1;
},
memo9__prevArgH_set: function memo9__prevArgH_set(t0, t1) {
this._box_0 = t0;
this.H = t1;
},
memo9__prevArgI_set: function memo9__prevArgI_set(t0, t1) {
this._box_0 = t0;
this.I = t1;
},
memo9__prevResult_set: function memo9__prevResult_set(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo9__prevArgA_get: function memo9__prevArgA_get(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo9__prevArgB_get: function memo9__prevArgB_get(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo9__prevArgC_get: function memo9__prevArgC_get(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo9__prevArgD_get: function memo9__prevArgD_get(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo9__prevArgE_get: function memo9__prevArgE_get(t0, t1) {
this._box_0 = t0;
this.E = t1;
},
memo9__prevArgF_get: function memo9__prevArgF_get(t0, t1) {
this._box_0 = t0;
this.F = t1;
},
memo9__prevArgG_get: function memo9__prevArgG_get(t0, t1) {
this._box_0 = t0;
this.G = t1;
},
memo9__prevArgH_get: function memo9__prevArgH_get(t0, t1) {
this._box_0 = t0;
this.H = t1;
},
memo9__prevArgI_get: function memo9__prevArgI_get(t0, t1) {
this._box_0 = t0;
this.I = t1;
},
memo9__prevResult_get: function memo9__prevResult_get(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo9_closure: function memo9_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31) {
var _ = this;
_._box_0 = t0;
_._prevArgA_get = t1;
_._prevArgB_get = t2;
_._prevArgC_get = t3;
_._prevArgD_get = t4;
_._prevArgE_get = t5;
_._prevArgF_get = t6;
_._prevArgG_get = t7;
_._prevArgH_get = t8;
_._prevArgI_get = t9;
_._prevResult_get = t10;
_._prevArgA_set = t11;
_._prevArgB_set = t12;
_._prevArgC_set = t13;
_._prevArgD_set = t14;
_._prevArgE_set = t15;
_._prevArgF_set = t16;
_._prevArgG_set = t17;
_._prevArgH_set = t18;
_._prevArgI_set = t19;
_._prevResult_set = t20;
_.func = t21;
_.A = t22;
_.B = t23;
_.C = t24;
_.D = t25;
_.E = t26;
_.F = t27;
_.G = t28;
_.H = t29;
_.I = t30;
_.R = t31;
},
memo10__prevArgA_set: function memo10__prevArgA_set(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo10__prevArgB_set: function memo10__prevArgB_set(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo10__prevArgC_set: function memo10__prevArgC_set(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo10__prevArgD_set: function memo10__prevArgD_set(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo10__prevArgE_set: function memo10__prevArgE_set(t0, t1) {
this._box_0 = t0;
this.E = t1;
},
memo10__prevArgF_set: function memo10__prevArgF_set(t0, t1) {
this._box_0 = t0;
this.F = t1;
},
memo10__prevArgG_set: function memo10__prevArgG_set(t0, t1) {
this._box_0 = t0;
this.G = t1;
},
memo10__prevArgH_set: function memo10__prevArgH_set(t0, t1) {
this._box_0 = t0;
this.H = t1;
},
memo10__prevArgI_set: function memo10__prevArgI_set(t0, t1) {
this._box_0 = t0;
this.I = t1;
},
memo10__prevArgJ_set: function memo10__prevArgJ_set(t0, t1) {
this._box_0 = t0;
this.J = t1;
},
memo10__prevResult_set: function memo10__prevResult_set(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo10__prevArgA_get: function memo10__prevArgA_get(t0, t1) {
this._box_0 = t0;
this.A = t1;
},
memo10__prevArgB_get: function memo10__prevArgB_get(t0, t1) {
this._box_0 = t0;
this.B = t1;
},
memo10__prevArgC_get: function memo10__prevArgC_get(t0, t1) {
this._box_0 = t0;
this.C = t1;
},
memo10__prevArgD_get: function memo10__prevArgD_get(t0, t1) {
this._box_0 = t0;
this.D = t1;
},
memo10__prevArgE_get: function memo10__prevArgE_get(t0, t1) {
this._box_0 = t0;
this.E = t1;
},
memo10__prevArgF_get: function memo10__prevArgF_get(t0, t1) {
this._box_0 = t0;
this.F = t1;
},
memo10__prevArgG_get: function memo10__prevArgG_get(t0, t1) {
this._box_0 = t0;
this.G = t1;
},
memo10__prevArgH_get: function memo10__prevArgH_get(t0, t1) {
this._box_0 = t0;
this.H = t1;
},
memo10__prevArgI_get: function memo10__prevArgI_get(t0, t1) {
this._box_0 = t0;
this.I = t1;
},
memo10__prevArgJ_get: function memo10__prevArgJ_get(t0, t1) {
this._box_0 = t0;
this.J = t1;
},
memo10__prevResult_get: function memo10__prevResult_get(t0, t1) {
this._box_0 = t0;
this.R = t1;
},
memo10_closure: function memo10_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34) {
var _ = this;
_._box_0 = t0;
_._prevArgA_get = t1;
_._prevArgB_get = t2;
_._prevArgC_get = t3;
_._prevArgD_get = t4;
_._prevArgE_get = t5;
_._prevArgF_get = t6;
_._prevArgG_get = t7;
_._prevArgH_get = t8;
_._prevArgI_get = t9;
_._prevArgJ_get = t10;
_._prevResult_get = t11;
_._prevArgA_set = t12;
_._prevArgB_set = t13;
_._prevArgC_set = t14;
_._prevArgD_set = t15;
_._prevArgE_set = t16;
_._prevArgF_set = t17;
_._prevArgG_set = t18;
_._prevArgH_set = t19;
_._prevArgI_set = t20;
_._prevArgJ_set = t21;
_._prevResult_set = t22;
_.func = t23;
_.A = t24;
_.B = t25;
_.C = t26;
_.D = t27;
_.E = t28;
_.F = t29;
_.G = t30;
_.H = t31;
_.I = t32;
_.J = t33;
_.R = t34;
},
PackageInfoPlatform: function PackageInfoPlatform() {
},
Style__getPlatformStyle: function() {
if (P.Uri_base().get$scheme() !== "file")
return $.$get$Style_url();
var t1 = P.Uri_base();
if (!C.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
return $.$get$Style_url();
if (P._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
return $.$get$Style_windows();
return $.$get$Style_posix();
},
Style: function Style() {
},
PhotoViewGestureDetector: function PhotoViewGestureDetector(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.onDoubleTap = t0;
_.hitDetector = t1;
_.onScaleStart = t2;
_.onScaleUpdate = t3;
_.onScaleEnd = t4;
_.onTapUp = t5;
_.onTapDown = t6;
_.child = t7;
_.key = t8;
},
PhotoViewGestureDetector_build_closure: function PhotoViewGestureDetector_build_closure(t0) {
this.$this = t0;
},
PhotoViewGestureDetector_build_closure0: function PhotoViewGestureDetector_build_closure0(t0) {
this.$this = t0;
},
PhotoViewGestureDetector_build_closure1: function PhotoViewGestureDetector_build_closure1(t0) {
this.$this = t0;
},
PhotoViewGestureDetector_build_closure2: function PhotoViewGestureDetector_build_closure2(t0) {
this.$this = t0;
},
PhotoViewGestureDetector_build_closure3: function PhotoViewGestureDetector_build_closure3(t0, t1) {
this.$this = t0;
this.axis = t1;
},
PhotoViewGestureDetector_build_closure4: function PhotoViewGestureDetector_build_closure4(t0) {
this.$this = t0;
},
PhotoViewGestureRecognizer: function PhotoViewGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.hitDetector = t0;
_.validateAxis = t1;
_._photo_view_gesture_detector$_pointerLocations = t2;
_._photo_view_gesture_detector$_currentFocalPoint = _._initialFocalPoint = null;
_.ready = true;
_.dragStartBehavior = t3;
_.onEnd = _.onUpdate = _.onStart = null;
_._scale$_state = t4;
_._scale$_lastTransform = null;
_.__ScaleGestureRecognizer__currentVerticalSpan = _.__ScaleGestureRecognizer__initialVerticalSpan = _.__ScaleGestureRecognizer__currentHorizontalSpan = _.__ScaleGestureRecognizer__initialHorizontalSpan = _.__ScaleGestureRecognizer__currentSpan = _.__ScaleGestureRecognizer__initialSpan = _.__ScaleGestureRecognizer__currentFocalPoint = _.__ScaleGestureRecognizer__initialFocalPoint = $;
_._scale$_currentLine = _._initialLine = null;
_.__ScaleGestureRecognizer__pointerQueue = _.__ScaleGestureRecognizer__pointerLocations = $;
_._velocityTrackers = t5;
_._recognizer$_entries = t6;
_._trackedPointers = t7;
_._team = null;
_.debugOwner = t8;
_._kindFilter = t9;
_._pointerToKind = t10;
},
PhotoViewGestureDetectorScope: function PhotoViewGestureDetectorScope(t0, t1, t2) {
this.axis = t0;
this.child = t1;
this.key = t2;
},
LoggingMiddleware: function LoggingMiddleware(t0, t1, t2, t3) {
var _ = this;
_.logger = t0;
_.level = t1;
_.formatter = t2;
_.$ti = t3;
},
LoggingMiddleware_call_closure: function LoggingMiddleware_call_closure(t0, t1, t2) {
this.$this = t0;
this.store = t1;
this.action = t2;
},
_StartWithErrorStreamSink: function _StartWithErrorStreamSink(t0, t1, t2) {
var _ = this;
_._e = t0;
_._st = t1;
_._start_with_error$_isFirstEventAdded = false;
_.$ti = t2;
},
_StartWithErrorStreamSink_onListen_closure: function _StartWithErrorStreamSink_onListen_closure(t0, t1) {
this.$this = t0;
this.sink = t1;
},
StartWithErrorStreamTransformer: function StartWithErrorStreamTransformer(t0, t1, t2) {
this.error = t0;
this.stackTrace = t1;
this.$ti = t2;
},
HubAdapter: function HubAdapter() {
},
EsMessages: function EsMessages() {
},
EsShortMessages: function EsShortMessages() {
},
Lock_Lock: function() {
return new S.BasicLock();
}
},
N = {BoardView: function BoardView(t0, t1, t2, t3) {
var _ = this;
_.lists = t0;
_.boardViewController = t1;
_.dragDelay = t2;
_.key = t3;
}, BoardViewState: function BoardViewState(t0, t1, t2, t3, t4) {
var _ = this;
_.offsetY = _.offsetX = _.dy = _.dyInit = _.dxInit = _.dx = _.draggedListIndex = _.draggedItemIndex = _.draggedItem = null;
_.initialY = _.initialX = 0;
_.startItemIndex = _.startListIndex = _.height = _.bottomItemY = _.topItemY = _.bottomListY = _.topListY = _.leftListX = _.rightListX = null;
_.canDrag = true;
_.boardViewController = t0;
_.listStates = t1;
_.onDropList = _.onDropItem = null;
_._isInWidget = _.isScrolling = false;
_._middleWidgetKey = t2;
_.pointer = null;
_.shown = true;
_.AutomaticKeepAliveClientMixin__keepAliveHandle = t3;
_._widget = null;
_._debugLifecycleState = t4;
_._framework$_element = null;
}, BoardViewState_moveDown_closure: function BoardViewState_moveDown_closure() {
}, BoardViewState_moveUp_closure: function BoardViewState_moveUp_closure() {
}, BoardViewState_moveListRight_closure: function BoardViewState_moveListRight_closure(t0, t1) {
this.$this = t0;
this.tempListIndex = t1;
}, BoardViewState_moveListRight__closure: function BoardViewState_moveListRight__closure(t0) {
this.$this = t0;
}, BoardViewState_moveListRight_closure0: function BoardViewState_moveListRight_closure0() {
}, BoardViewState_moveRight_closure: function BoardViewState_moveRight_closure() {
}, BoardViewState_moveRight_closure0: function BoardViewState_moveRight_closure0() {
}, BoardViewState_moveRight_closure1: function BoardViewState_moveRight_closure1(t0, t1, t2) {
this.$this = t0;
this.tempListIndex = t1;
this.tempItemIndex = t2;
}, BoardViewState_moveRight__closure: function BoardViewState_moveRight__closure(t0) {
this.$this = t0;
}, BoardViewState_moveRight_closure2: function BoardViewState_moveRight_closure2() {
}, BoardViewState_moveListLeft_closure: function BoardViewState_moveListLeft_closure(t0, t1) {
this.$this = t0;
this.tempListIndex = t1;
}, BoardViewState_moveListLeft__closure: function BoardViewState_moveListLeft__closure(t0) {
this.$this = t0;
}, BoardViewState_moveListLeft_closure0: function BoardViewState_moveListLeft_closure0() {
}, BoardViewState_moveLeft_closure: function BoardViewState_moveLeft_closure() {
}, BoardViewState_moveLeft_closure0: function BoardViewState_moveLeft_closure0() {
}, BoardViewState_moveLeft_closure1: function BoardViewState_moveLeft_closure1(t0, t1, t2) {
this.$this = t0;
this.tempListIndex = t1;
this.tempItemIndex = t2;
}, BoardViewState_moveLeft__closure: function BoardViewState_moveLeft__closure(t0) {
this.$this = t0;
}, BoardViewState_moveLeft_closure2: function BoardViewState_moveLeft_closure2() {
}, BoardViewState_build_closure: function BoardViewState_build_closure(t0) {
this.$this = t0;
}, BoardViewState_build__closure5: function BoardViewState_build__closure5(t0, t1) {
this.$this = t0;
this._shown = t1;
}, BoardViewState_build_closure0: function BoardViewState_build_closure0(t0) {
this.$this = t0;
}, BoardViewState_build_closure1: function BoardViewState_build_closure1(t0, t1) {
this._box_0 = t0;
this.$this = t1;
}, BoardViewState_build__closure4: function BoardViewState_build__closure4() {
}, BoardViewState_build_closure2: function BoardViewState_build_closure2(t0, t1) {
this._box_0 = t0;
this.$this = t1;
}, BoardViewState_build__closure3: function BoardViewState_build__closure3() {
}, BoardViewState_build_closure3: function BoardViewState_build_closure3(t0) {
this.$this = t0;
}, BoardViewState_build__closure2: function BoardViewState_build__closure2() {
}, BoardViewState_build_closure5: function BoardViewState_build_closure5(t0) {
this.$this = t0;
}, BoardViewState_build__closure0: function BoardViewState_build__closure0() {
}, BoardViewState_build_closure4: function BoardViewState_build_closure4(t0, t1) {
this.$this = t0;
this.context = t1;
}, BoardViewState_build__closure1: function BoardViewState_build__closure1() {
}, BoardViewState_build_closure6: function BoardViewState_build_closure6(t0, t1) {
this.$this = t0;
this.context = t1;
}, BoardViewState_build__closure: function BoardViewState_build__closure() {
}, BoardViewState_run_closure: function BoardViewState_run_closure() {
}, _BoardViewState_State_AutomaticKeepAliveClientMixin: function _BoardViewState_State_AutomaticKeepAliveClientMixin() {
}, TimeRangeTickProvider: function TimeRangeTickProvider() {
}, YearTimeStepper: function YearTimeStepper(t0, t1) {
this._year_time_stepper$_allowedTickIncrements = t0;
this.dateTimeFactory = t1;
this._stepsIterable = null;
},
MutableSeries$: function(series, $D) {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23,
t1 = series.id,
t2 = series.displayName;
if (t2 == null)
t2 = t1;
t3 = series.seriesCategory;
t4 = series.seriesColor;
t5 = series.data;
t6 = series.keyFn;
t7 = series.domainFn;
t8 = series.domainFormatterFn;
t9 = series.domainLowerBoundFn;
t10 = series.domainUpperBoundFn;
t11 = series.measureFn;
t12 = series.measureFormatterFn;
t13 = series.measureLowerBoundFn;
t14 = series.measureUpperBoundFn;
t15 = series.measureOffsetFn;
t16 = series.areaColorFn;
t17 = series.colorFn;
t18 = series.dashPatternFn;
t19 = series.fillColorFn;
t20 = series.fillPatternFn;
t21 = series.patternColorFn;
t22 = series.insideLabelStyleAccessorFn;
t23 = series.outsideLabelStyleAccessorFn;
t23 = new N.MutableSeries(t1, t2, false, t3, t4, $, $, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t11, t13, t14, t16, t17, t18, t19, t20, t21, series.radiusPxFn, series.strokeWidthPxFn, null, t22, t23, new F.SeriesAttributes(P.LinkedHashMap_LinkedHashMap$_empty(type$.TypedKey_nullable_Object, type$.nullable_Object)), null, null, $D._eval$1("MutableSeries<0>"));
t23.MutableSeries$1(series, $D);
return t23;
},
MutableSeries: function MutableSeries(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35) {
var _ = this;
_.id = t0;
_.displayName = t1;
_.overlaySeries = t2;
_.seriesCategory = t3;
_.seriesColor = t4;
_.__MutableSeries_seriesIndex = t5;
_.__MutableSeries_seriesMeasureTotal = t6;
_.data = t7;
_.MutableSeries_keyFn = t8;
_.domainFn = t9;
_.domainFormatterFn = t10;
_.domainLowerBoundFn = t11;
_.domainUpperBoundFn = t12;
_.measureFn = t13;
_.measureFormatterFn = t14;
_.measureLowerBoundFn = t15;
_.measureUpperBoundFn = t16;
_.measureOffsetFn = t17;
_.rawMeasureFn = t18;
_.rawMeasureLowerBoundFn = t19;
_.rawMeasureUpperBoundFn = t20;
_.areaColorFn = t21;
_.colorFn = t22;
_.dashPatternFn = t23;
_.fillColorFn = t24;
_.fillPatternFn = t25;
_.patternColorFn = t26;
_.radiusPxFn = t27;
_.strokeWidthPxFn = t28;
_.labelAccessorFn = t29;
_.MutableSeries_insideLabelStyleAccessorFn = t30;
_.MutableSeries_outsideLabelStyleAccessorFn = t31;
_._attrs = t32;
_.measureAxis = t33;
_.domainAxis = t34;
_.keyFn = null;
_.$ti = t35;
},
MutableSeries_closure: function MutableSeries_closure(t0) {
this.$this = t0;
},
ImmutableSeries: function ImmutableSeries() {
},
IdentityConverter: function IdentityConverter(t0) {
this.$ti = t0;
},
GestureListener$: function(onDragEnd, onDragStart, onDragUpdate, onHover, onLongPress, onTap, onTapTest) {
var t1 = onTapTest == null ? $.$get$GestureListener_defaultTapTest() : onTapTest,
t2 = $.$get$GestureListener_defaultTapCancel();
return new N.GestureListener(t1, t2, onLongPress, onTap, onDragStart, onDragUpdate, onDragEnd);
},
GestureListener: function GestureListener(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.onTapTest = t0;
_.onTapCancel = t1;
_.onLongPress = t2;
_.onTap = t3;
_.onDragStart = t4;
_.onDragUpdate = t5;
_.onDragEnd = t6;
},
GestureListener_defaultTapCancel_closure: function GestureListener_defaultTapCancel_closure() {
},
GestureListener_defaultTapTest_closure: function GestureListener_defaultTapTest_closure() {
},
CupertinoSwitch: function CupertinoSwitch(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.value = t0;
_.onChanged = t1;
_.activeColor = t2;
_.trackColor = t3;
_.dragStartBehavior = t4;
_.key = t5;
},
_CupertinoSwitchState: function _CupertinoSwitchState(t0, t1) {
var _ = this;
_.___CupertinoSwitchState__reaction = _.___CupertinoSwitchState__reactionController = _.___CupertinoSwitchState_position = _.___CupertinoSwitchState__positionController = _.___CupertinoSwitchState__drag = _.___CupertinoSwitchState__tap = $;
_.needsPositionAnimation = false;
_.TickerProviderStateMixin__tickers = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_CupertinoSwitchState__handleDragEnd_closure: function _CupertinoSwitchState__handleDragEnd_closure(t0) {
this.$this = t0;
},
_CupertinoSwitchRenderObjectWidget: function _CupertinoSwitchRenderObjectWidget(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.value = t0;
_.activeColor = t1;
_.trackColor = t2;
_.onChanged = t3;
_.state = t4;
_.textDirection = t5;
_.key = t6;
},
_RenderCupertinoSwitch: function _RenderCupertinoSwitch(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._switch0$_state = t0;
_._switch0$_value = t1;
_._switch0$_activeColor = t2;
_._switch0$_trackColor = t3;
_._onChanged = t4;
_._switch0$_textDirection = t5;
_._clipRRectLayer = null;
_._additionalConstraints = t6;
_.RenderObjectWithChildMixin__child = t7;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
_RenderCupertinoSwitch_paint_closure: function _RenderCupertinoSwitch_paint_closure(t0) {
this.thumbBounds = t0;
},
__CupertinoSwitchState_State_TickerProviderStateMixin: function __CupertinoSwitchState_State_TickerProviderStateMixin() {
},
BindingBase: function BindingBase() {
},
BindingBase_lockEvents_closure: function BindingBase_lockEvents_closure(t0) {
this.$this = t0;
},
BindingBase_registerBoolServiceExtension_closure: function BindingBase_registerBoolServiceExtension_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.setter = t1;
_.name = t2;
_.getter = t3;
},
BindingBase_registerNumericServiceExtension_closure: function BindingBase_registerNumericServiceExtension_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.name = t1;
_.setter = t2;
_.getter = t3;
},
BindingBase_registerServiceExtension_closure: function BindingBase_registerServiceExtension_closure(t0, t1) {
this.methodName = t0;
this.callback = t1;
},
BindingBase_registerServiceExtension_closure__result_set: function BindingBase_registerServiceExtension_closure__result_set(t0) {
this._box_0 = t0;
},
BindingBase_registerServiceExtension__closure: function BindingBase_registerServiceExtension__closure() {
},
BindingBase_registerServiceExtension_closure__result_get: function BindingBase_registerServiceExtension_closure__result_get(t0) {
this._box_0 = t0;
},
FlutterErrorDetailsForPointerEventDispatcher$: function(context, $event, exception, hitTestEntry, informationCollector, library, stack) {
return new N.FlutterErrorDetailsForPointerEventDispatcher(exception, stack, library, context, informationCollector, false);
},
_Resampler: function _Resampler(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._resamplers = t0;
_._binding2$_frameCallbackScheduled = false;
_._frameTime = t1;
_._frameTimeAge = t2;
_._lastSampleTime = t3;
_._lastEventTime = t4;
_._handlePointerEvent = t5;
_._handleSampleTimeChanged = t6;
_._samplingInterval = t7;
_._binding2$_timer = null;
},
GestureBinding: function GestureBinding() {
},
GestureBinding_dispatchEvent_closure: function GestureBinding_dispatchEvent_closure(t0) {
this.event = t0;
},
GestureBinding_dispatchEvent_closure0: function GestureBinding_dispatchEvent_closure0(t0, t1) {
this.event = t0;
this.entry = t1;
},
FlutterErrorDetailsForPointerEventDispatcher: function FlutterErrorDetailsForPointerEventDispatcher(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.exception = t0;
_.stack = t1;
_.library = t2;
_.context = t3;
_.informationCollector = t4;
_.silent = t5;
},
TapGestureRecognizer$: function(debugOwner) {
var t1 = type$.int;
return new N.TapGestureRecognizer(C.Duration_100000, 18, C.GestureRecognizerState_0, P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), P.HashSet_HashSet(t1), debugOwner, null, P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind));
},
TapDownDetails: function TapDownDetails(t0, t1, t2) {
this.globalPosition = t0;
this.kind = t1;
this.localPosition = t2;
},
TapUpDetails: function TapUpDetails(t0, t1) {
this.globalPosition = t0;
this.kind = t1;
},
BaseTapGestureRecognizer: function BaseTapGestureRecognizer() {
},
TapGestureRecognizer: function TapGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.onTertiaryTapCancel = _.onTertiaryTapUp = _.onTertiaryTapDown = _.onSecondaryTapCancel = _.onSecondaryTapUp = _.onSecondaryTapDown = _.onSecondaryTap = _.onTapCancel = _.onTap = _.onTapUp = _.onTapDown = null;
_._wonArenaForPrimaryPointer = _._sentTapDown = false;
_._up = _._down = null;
_.deadline = t0;
_.postAcceptSlopTolerance = t1;
_.state = t2;
_.initialPosition = _.primaryPointer = null;
_._gestureAccepted = false;
_._recognizer$_timer = null;
_._recognizer$_entries = t3;
_._trackedPointers = t4;
_._team = null;
_.debugOwner = t5;
_._kindFilter = t6;
_._pointerToKind = t7;
},
TapGestureRecognizer_handleTapDown_closure: function TapGestureRecognizer_handleTapDown_closure(t0, t1) {
this.$this = t0;
this.details = t1;
},
TapGestureRecognizer_handleTapDown_closure0: function TapGestureRecognizer_handleTapDown_closure0(t0, t1) {
this.$this = t0;
this.details = t1;
},
TapGestureRecognizer_handleTapUp_closure: function TapGestureRecognizer_handleTapUp_closure(t0, t1) {
this.$this = t0;
this.details = t1;
},
TapGestureRecognizer_handleTapUp_closure0: function TapGestureRecognizer_handleTapUp_closure0(t0) {
this.$this = t0;
},
ExpandIcon: function ExpandIcon(t0, t1, t2, t3) {
var _ = this;
_.isExpanded = t0;
_.onPressed = t1;
_.padding = t2;
_.key = t3;
},
_ExpandIconState: function _ExpandIconState(t0, t1) {
var _ = this;
_.___ExpandIconState__iconTurns = _.___ExpandIconState__controller = $;
_.SingleTickerProviderStateMixin__ticker = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
__ExpandIconState_State_SingleTickerProviderStateMixin: function __ExpandIconState_State_SingleTickerProviderStateMixin() {
},
RefreshIndicator$: function(child, onRefresh) {
return new N.RefreshIndicator(child, onRefresh, null);
},
_RefreshIndicatorMode: function _RefreshIndicatorMode(t0) {
this._refresh_indicator$_name = t0;
},
RefreshIndicatorTriggerMode: function RefreshIndicatorTriggerMode(t0) {
this._refresh_indicator$_name = t0;
},
RefreshIndicator: function RefreshIndicator(t0, t1, t2) {
this.child = t0;
this.onRefresh = t1;
this.key = t2;
},
RefreshIndicatorState: function RefreshIndicatorState(t0, t1) {
var _ = this;
_.__RefreshIndicatorState__valueColor = _.__RefreshIndicatorState__value = _.__RefreshIndicatorState__scaleFactor = _.__RefreshIndicatorState__positionFactor = _.__RefreshIndicatorState__scaleController = _.__RefreshIndicatorState__positionController = $;
_._dragOffset = _._isIndicatorAtTop = _._refresh_indicator$_mode = null;
_.TickerProviderStateMixin__tickers = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
RefreshIndicatorState__handleScrollNotification_closure: function RefreshIndicatorState__handleScrollNotification_closure(t0) {
this.$this = t0;
},
RefreshIndicatorState__dismiss_closure: function RefreshIndicatorState__dismiss_closure(t0, t1) {
this.$this = t0;
this.newMode = t1;
},
RefreshIndicatorState__dismiss_closure0: function RefreshIndicatorState__dismiss_closure0(t0) {
this.$this = t0;
},
RefreshIndicatorState__show_closure: function RefreshIndicatorState__show_closure(t0, t1) {
this.$this = t0;
this.completer = t1;
},
RefreshIndicatorState__show__closure: function RefreshIndicatorState__show__closure(t0) {
this.$this = t0;
},
RefreshIndicatorState__show__closure0: function RefreshIndicatorState__show__closure0(t0, t1) {
this.$this = t0;
this.completer = t1;
},
RefreshIndicatorState_build_closure: function RefreshIndicatorState_build_closure(t0, t1) {
this.$this = t0;
this.showIndeterminateIndicator = t1;
},
_RefreshIndicatorState_State_TickerProviderStateMixin: function _RefreshIndicatorState_State_TickerProviderStateMixin() {
},
SnackBarClosedReason: function SnackBarClosedReason(t0) {
this._snack_bar$_name = t0;
},
Switch$: function(activeColor, activeThumbImage, activeTrackColor, autofocus, inactiveThumbColor, inactiveThumbImage, inactiveTrackColor, materialTapTargetSize, onChanged, value) {
return new N.Switch(value, onChanged, activeColor, activeTrackColor, inactiveThumbColor, inactiveTrackColor, activeThumbImage, inactiveThumbImage, materialTapTargetSize, C._SwitchType_0, false, null);
},
_SwitchType: function _SwitchType(t0) {
this._switch$_name = t0;
},
Switch: function Switch(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_.value = t0;
_.onChanged = t1;
_.activeColor = t2;
_.activeTrackColor = t3;
_.inactiveThumbColor = t4;
_.inactiveTrackColor = t5;
_.activeThumbImage = t6;
_.inactiveThumbImage = t7;
_.materialTapTargetSize = t8;
_._switchType = t9;
_.autofocus = t10;
_.key = t11;
},
_MaterialSwitch: function _MaterialSwitch(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) {
var _ = this;
_.value = t0;
_.onChanged = t1;
_.activeColor = t2;
_.activeTrackColor = t3;
_.inactiveThumbColor = t4;
_.inactiveTrackColor = t5;
_.activeThumbImage = t6;
_.onActiveThumbImageError = t7;
_.inactiveThumbImage = t8;
_.onInactiveThumbImageError = t9;
_.thumbColor = t10;
_.trackColor = t11;
_.dragStartBehavior = t12;
_.mouseCursor = t13;
_.focusColor = t14;
_.hoverColor = t15;
_.overlayColor = t16;
_.splashRadius = t17;
_.focusNode = t18;
_.autofocus = t19;
_.size = t20;
_.key = t21;
},
_MaterialSwitchState: function _MaterialSwitchState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
var _ = this;
_._switch$_painter = t0;
_._needsPositionAnimation = false;
_.ToggleableStateMixin___ToggleableStateMixin__positionController = t1;
_.ToggleableStateMixin___ToggleableStateMixin__position = t2;
_.ToggleableStateMixin___ToggleableStateMixin__reactionController = t3;
_.ToggleableStateMixin___ToggleableStateMixin__reaction = t4;
_.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade = t5;
_.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController = t6;
_.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade = t7;
_.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController = t8;
_.ToggleableStateMixin___ToggleableStateMixin__actionMap = t9;
_.ToggleableStateMixin__downPosition = t10;
_.ToggleableStateMixin__focused = t11;
_.ToggleableStateMixin__hovering = t12;
_.TickerProviderStateMixin__tickers = t13;
_._widget = null;
_._debugLifecycleState = t14;
_._framework$_element = null;
},
_MaterialSwitchState__widgetThumbColor_closure: function _MaterialSwitchState__widgetThumbColor_closure(t0) {
this.$this = t0;
},
_MaterialSwitchState__defaultThumbColor_closure: function _MaterialSwitchState__defaultThumbColor_closure(t0, t1) {
this.isDark = t0;
this.theme = t1;
},
_MaterialSwitchState__widgetTrackColor_closure: function _MaterialSwitchState__widgetTrackColor_closure(t0) {
this.$this = t0;
},
_MaterialSwitchState__defaultTrackColor_closure: function _MaterialSwitchState__defaultTrackColor_closure(t0, t1) {
this.$this = t0;
this.isDark = t1;
},
_MaterialSwitchState__handleDragEnd_closure: function _MaterialSwitchState__handleDragEnd_closure(t0) {
this.$this = t0;
},
_MaterialSwitchState_build_closure: function _MaterialSwitchState_build_closure(t0, t1) {
this.$this = t0;
this.theme = t1;
},
_SwitchPainter: function _SwitchPainter(t0) {
var _ = this;
_._cachedThumbPainter = _._cachedThumbErrorListener = _._cachedThumbImage = _._cachedThumbColor = _._trackInnerLength = _._isInteractive = _._surfaceColor = _._switch$_textDirection = _._switch$_configuration = _._inactiveTrackColor = _._activeTrackColor = _._onInactiveThumbImageError = _._inactiveThumbImage = _._onActiveThumbImageError = _._activeThumbImage = null;
_._isPainting = false;
_._isHovered = _._isFocused = _._downPosition = _._splashRadius = _._toggleable$_focusColor = _._toggleable$_hoverColor = _._reactionColor = _._inactiveReactionColor = _._inactiveColor = _._activeColor = _._reactionHoverFade = _._reactionFocusFade = _._toggleable$_reaction = _._toggleable$_position = null;
_.ChangeNotifier__listeners = t0;
},
__MaterialSwitchState_State_TickerProviderStateMixin: function __MaterialSwitchState_State_TickerProviderStateMixin() {
},
__MaterialSwitchState_State_TickerProviderStateMixin_ToggleableStateMixin: function __MaterialSwitchState_State_TickerProviderStateMixin_ToggleableStateMixin() {
},
PaintingBinding: function PaintingBinding() {
},
_SystemFontsNotifier: function _SystemFontsNotifier(t0) {
this._systemFontsCallbacks = t0;
},
Tolerance: function Tolerance(t0, t1) {
this.distance = t0;
this.velocity = t1;
},
RendererBinding: function RendererBinding() {
},
RendererBinding__scheduleMouseTrackerUpdate_closure: function RendererBinding__scheduleMouseTrackerUpdate_closure(t0) {
this.$this = t0;
},
flipScrollDirection: function(direction) {
switch (direction) {
case C.ScrollDirection_0:
return C.ScrollDirection_0;
case C.ScrollDirection_1:
return C.ScrollDirection_2;
case C.ScrollDirection_2:
return C.ScrollDirection_1;
default:
throw H.wrapException(H.ReachabilityError$(string$.x60null_c));
}
},
ScrollDirection: function ScrollDirection(t0) {
this._viewport_offset$_name = t0;
},
ViewportOffset: function ViewportOffset() {
},
WrapAlignment: function WrapAlignment(t0) {
this._wrap$_name = t0;
},
WrapCrossAlignment: function WrapCrossAlignment(t0) {
this._wrap$_name = t0;
},
_RunMetrics: function _RunMetrics(t0, t1, t2) {
this.mainAxisExtent = t0;
this.crossAxisExtent = t1;
this.childCount = t2;
},
WrapParentData: function WrapParentData(t0, t1, t2) {
var _ = this;
_._runIndex = 0;
_.ContainerParentDataMixin_previousSibling = t0;
_.ContainerParentDataMixin_nextSibling = t1;
_.offset = t2;
},
RenderWrap: function RenderWrap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_._wrap$_direction = t0;
_._wrap$_alignment = t1;
_._spacing = t2;
_._runAlignment = t3;
_._runSpacing = t4;
_._crossAxisAlignment = t5;
_._wrap$_textDirection = t6;
_._wrap$_verticalDirection = t7;
_._wrap$_clipBehavior = t8;
_._wrap$_hasVisualOverflow = false;
_._clipRectLayer = null;
_.ContainerRenderObjectMixin__childCount = t9;
_.ContainerRenderObjectMixin__firstChild = t10;
_.ContainerRenderObjectMixin__lastChild = t11;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_.debugCreator = _.parentData = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_._layer = null;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing = $;
_._needsPaint = true;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
_._node$_depth = 0;
_._node$_parent = _._node$_owner = null;
},
_RenderWrap_RenderBox_ContainerRenderObjectMixin: function _RenderWrap_RenderBox_ContainerRenderObjectMixin() {
},
_RenderWrap_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderWrap_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() {
},
timeDilation: function(value) {
var t1;
if ($._timeDilation === value)
return;
t1 = $.SchedulerBinding__instance;
if (t1 != null)
t1.resetEpoch$0();
$._timeDilation = value;
},
SchedulerBinding__taskSorter: function(e1, e2) {
return -C.JSInt_methods.compareTo$1(e1.priority, e2.priority);
},
defaultSchedulingStrategy: function(priority, scheduler) {
var t1 = scheduler.SchedulerBinding__transientCallbacks;
if (t1.get$length(t1) > 0)
return priority >= 100000;
return true;
},
_TaskEntry: function _TaskEntry(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.task = t0;
_.priority = t1;
_.debugLabel = t2;
_.flow = t3;
_.___TaskEntry_debugStack = $;
_.completer = t4;
_.$ti = t5;
},
_TaskEntry_run_closure: function _TaskEntry_run_closure(t0) {
this.$this = t0;
},
_FrameCallbackEntry: function _FrameCallbackEntry(t0) {
this.callback = t0;
this.debugStack = null;
},
SchedulerPhase: function SchedulerPhase(t0, t1) {
this.index = t0;
this._binding$_name = t1;
},
SchedulerBinding: function SchedulerBinding() {
},
SchedulerBinding_endOfFrame_closure: function SchedulerBinding_endOfFrame_closure(t0) {
this.$this = t0;
},
SchedulerBinding_scheduleWarmUpFrame_closure: function SchedulerBinding_scheduleWarmUpFrame_closure(t0) {
this.$this = t0;
},
SchedulerBinding_scheduleWarmUpFrame_closure0: function SchedulerBinding_scheduleWarmUpFrame_closure0(t0, t1) {
this.$this = t0;
this.hadScheduledFrame = t1;
},
SchedulerBinding_scheduleWarmUpFrame_closure1: function SchedulerBinding_scheduleWarmUpFrame_closure1(t0) {
this.$this = t0;
},
SchedulerBinding__handleDrawFrame_closure: function SchedulerBinding__handleDrawFrame_closure(t0) {
this.$this = t0;
},
SchedulerBinding_handleBeginFrame_closure: function SchedulerBinding_handleBeginFrame_closure(t0) {
this.$this = t0;
},
SemanticsBinding: function SemanticsBinding() {
},
ServicesBinding__parseLicenses: function(rawLicenses) {
var t1, t2, _i, license, t3, split,
_licenseSeparator = "\n" + C.JSString_methods.$mul("-", 80) + "\n",
result = H.setRuntimeTypeInfo([], type$.JSArray_LicenseEntry),
licenses = rawLicenses.split(_licenseSeparator);
for (t1 = licenses.length, t2 = type$.JSArray_String, _i = 0; _i < t1; ++_i) {
license = licenses[_i];
t3 = J.getInterceptor$asx(license);
split = t3.indexOf$1(license, "\n\n");
if (split >= 0)
result.push(new F.LicenseEntryWithLineBreaks(H.setRuntimeTypeInfo(t3.substring$2(license, 0, split).split("\n"), t2), t3.substring$1(license, split + 2)));
else
result.push(new F.LicenseEntryWithLineBreaks(C.List_empty1, license));
}
return result;
},
ServicesBinding__parseAppLifecycleMessage: function(message) {
switch (message) {
case "AppLifecycleState.paused":
return C.AppLifecycleState_2;
case "AppLifecycleState.resumed":
return C.AppLifecycleState_0;
case "AppLifecycleState.inactive":
return C.AppLifecycleState_1;
case "AppLifecycleState.detached":
return C.AppLifecycleState_3;
}
return null;
},
ServicesBinding: function ServicesBinding() {
},
ServicesBinding__addLicenses_closure: function ServicesBinding__addLicenses_closure(t0) {
this.rawLicenses = t0;
},
ServicesBinding__addLicenses_closure0: function ServicesBinding__addLicenses_closure0(t0, t1) {
this.parsedLicenses = t0;
this.rawLicenses = t1;
},
_DefaultBinaryMessenger: function _DefaultBinaryMessenger() {
},
_DefaultBinaryMessenger__sendPlatformMessage_closure: function _DefaultBinaryMessenger__sendPlatformMessage_closure(t0) {
this.completer = t0;
},
_DefaultBinaryMessenger_setMessageHandler_closure: function _DefaultBinaryMessenger_setMessageHandler_closure(t0, t1) {
this.$this = t0;
this.channel = t1;
},
TextInputConfiguration$: function(actionLabel, autocorrect, autofillConfiguration, enableSuggestions, inputAction, inputType, keyboardAppearance, obscureText, readOnly, smartDashesType, smartQuotesType, textCapitalization) {
return new N.TextInputConfiguration(inputType, readOnly, obscureText, autocorrect, autofillConfiguration, smartDashesType, smartQuotesType, true, actionLabel, inputAction, textCapitalization, keyboardAppearance);
},
_toTextAffinity: function(affinity) {
switch (affinity) {
case "TextAffinity.downstream":
return C.TextAffinity_1;
case "TextAffinity.upstream":
return C.TextAffinity_0;
}
return null;
},
TextEditingValue_TextEditingValue$fromJSON: function(encoded) {
var t4, t5, t6,
t1 = J.getInterceptor$asx(encoded),
t2 = H._asStringS(t1.$index(encoded, "text")),
t3 = H._asIntQ(t1.$index(encoded, "selectionBase"));
if (t3 == null)
t3 = -1;
t4 = H._asIntQ(t1.$index(encoded, "selectionExtent"));
if (t4 == null)
t4 = -1;
t5 = N._toTextAffinity(H._asStringQ(t1.$index(encoded, "selectionAffinity")));
if (t5 == null)
t5 = C.TextAffinity_1;
t6 = H._asBoolQ(t1.$index(encoded, "selectionIsDirectional"));
t3 = X.TextSelection$(t5, t3, t4, t6 === true);
t4 = H._asIntQ(t1.$index(encoded, "composingBase"));
if (t4 == null)
t4 = -1;
t1 = H._asIntQ(t1.$index(encoded, "composingExtent"));
return new N.TextEditingValue(t2, t3, new P.TextRange(t4, t1 == null ? -1 : t1));
},
TextInputConnection$_: function(_client) {
var t1 = $.TextInputConnection__nextId;
$.TextInputConnection__nextId = t1 + 1;
return new N.TextInputConnection(t1, _client);
},
_toTextInputAction: function(action) {
switch (action) {
case "TextInputAction.none":
return C.TextInputAction_0;
case "TextInputAction.unspecified":
return C.TextInputAction_1;
case "TextInputAction.go":
return C.TextInputAction_3;
case "TextInputAction.search":
return C.TextInputAction_4;
case "TextInputAction.send":
return C.TextInputAction_5;
case "TextInputAction.next":
return C.TextInputAction_6;
case "TextInputAction.previous":
return C.TextInputAction_7;
case "TextInputAction.continue_action":
return C.TextInputAction_8;
case "TextInputAction.join":
return C.TextInputAction_9;
case "TextInputAction.route":
return C.TextInputAction_10;
case "TextInputAction.emergencyCall":
return C.TextInputAction_11;
case "TextInputAction.done":
return C.TextInputAction_2;
case "TextInputAction.newline":
return C.TextInputAction_12;
}
throw H.wrapException(U.FlutterError$fromParts(H.setRuntimeTypeInfo([U.ErrorSummary$("Unknown text input action: " + H.S(action))], type$.JSArray_DiagnosticsNode)));
},
_toTextCursorAction: function(state) {
switch (state) {
case "FloatingCursorDragState.start":
return C.FloatingCursorDragState_0;
case "FloatingCursorDragState.update":
return C.FloatingCursorDragState_1;
case "FloatingCursorDragState.end":
return C.FloatingCursorDragState_2;
}
throw H.wrapException(U.FlutterError$fromParts(H.setRuntimeTypeInfo([U.ErrorSummary$("Unknown text cursor action: " + H.S(state))], type$.JSArray_DiagnosticsNode)));
},
SmartDashesType: function SmartDashesType(t0, t1) {
this.index = t0;
this._text_input$_name = t1;
},
SmartQuotesType: function SmartQuotesType(t0, t1) {
this.index = t0;
this._text_input$_name = t1;
},
TextInputType: function TextInputType(t0, t1, t2) {
this.index = t0;
this.signed = t1;
this.decimal = t2;
},
TextInputAction: function TextInputAction(t0) {
this._text_input$_name = t0;
},
TextCapitalization0: function TextCapitalization0() {
},
TextInputConfiguration: function TextInputConfiguration(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_.inputType = t0;
_.readOnly = t1;
_.obscureText = t2;
_.autocorrect = t3;
_.autofillConfiguration = t4;
_.smartDashesType = t5;
_.smartQuotesType = t6;
_.enableSuggestions = t7;
_.actionLabel = t8;
_.inputAction = t9;
_.textCapitalization = t10;
_.keyboardAppearance = t11;
},
FloatingCursorDragState: function FloatingCursorDragState(t0) {
this._text_input$_name = t0;
},
TextEditingValue: function TextEditingValue(t0, t1, t2) {
this.text = t0;
this.selection = t1;
this.composing = t2;
},
SelectionChangedCause: function SelectionChangedCause(t0) {
this._text_input$_name = t0;
},
TextSelectionDelegate: function TextSelectionDelegate() {
},
TextInputConnection: function TextInputConnection(t0, t1) {
var _ = this;
_._cachedCaretRect = _._cachedRect = _._cachedTransform = _._cachedSize = null;
_._text_input$_id = t0;
_._text_input$_client = t1;
},
TextInput: function TextInput() {
var _ = this;
_.__TextInput__channel = $;
_._currentConnection = null;
_.__TextInput__currentConfiguration = $;
_._hidePending = false;
},
TextInput__scheduleHide_closure: function TextInput__scheduleHide_closure(t0) {
this.$this = t0;
},
runApp: function(app) {
var t1;
if ($.WidgetsBinding__instance == null)
N.WidgetsFlutterBinding$();
t1 = $.WidgetsBinding__instance;
t1.scheduleAttachRootWidget$1(app);
t1.scheduleWarmUpFrame$0();
},
RenderObjectToWidgetElement$: function(widget, $T) {
var t1 = ($.Element__nextHashCode + 1) % 16777215;
$.Element__nextHashCode = t1;
return new N.RenderObjectToWidgetElement(t1, widget, C._ElementLifecycle_0, P.HashSet_HashSet(type$.Element_2), $T._eval$1("RenderObjectToWidgetElement<0>"));
},
WidgetsFlutterBinding$: function() {
var _null = null,
t1 = H.setRuntimeTypeInfo([], type$.JSArray_WidgetsBindingObserver),
t2 = $.Zone__current,
t3 = H.setRuntimeTypeInfo([], type$.JSArray_of_void_Function_List_FrameTiming),
t4 = P.List_List$filled(7, _null, false, type$.nullable__TaskEntry_dynamic),
t5 = type$.int,
t6 = type$.JSArray_of_void_Function_Duration;
t5 = new N.WidgetsFlutterBinding(_null, t1, true, new P._AsyncCompleter(new P._Future(t2, type$._Future_void), type$._AsyncCompleter_void), false, _null, false, false, _null, $, _null, false, 0, false, $, _null, new N._SystemFontsNotifier(P.LinkedHashSet_LinkedHashSet$_empty(type$.void_Function)), $, $, t3, _null, N.binding__defaultSchedulingStrategy$closure(), new Y.HeapPriorityQueue(N.binding_SchedulerBinding__taskSorter$closure(), t4, type$.HeapPriorityQueue__TaskEntry_dynamic), false, 0, P.LinkedHashMap_LinkedHashMap$_empty(t5, type$._FrameCallbackEntry), P.HashSet_HashSet(t5), H.setRuntimeTypeInfo([], t6), H.setRuntimeTypeInfo([], t6), _null, false, C.SchedulerPhase_0, true, false, _null, C.Duration_0, C.Duration_0, _null, 0, _null, false, P.ListQueue$(_null, type$.PointerEvent), new O.PointerRouter(P.LinkedHashMap_LinkedHashMap$_empty(t5, type$.Map_of_void_Function_PointerEvent_and_nullable_Matrix4), P.LinkedHashMap_LinkedHashMap$_empty(type$.void_Function_PointerEvent, type$.nullable_Matrix4)), new D.GestureArenaManager(P.LinkedHashMap_LinkedHashMap$_empty(t5, type$._GestureArena)), new G.PointerSignalResolver(), P.LinkedHashMap_LinkedHashMap$_empty(t5, type$.HitTestResult), $, false, C.Duration_m38000);
t5.BindingBase$0();
return t5;
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure0: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure0() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure1: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure1() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_dispatchEvent_closure: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_dispatchEvent_closure(t0, t1, t2) {
this.$this = t0;
this.hitTestResult = t1;
this.event = t2;
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initInstances_closure: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initInstances_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initServiceExtensions_closure: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initServiceExtensions_closure() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initServiceExtensions_closure0: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initServiceExtensions_closure0() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_initInstances_closure: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_initInstances_closure(t0) {
this.$this = t0;
},
WidgetsBindingObserver: function WidgetsBindingObserver() {
},
WidgetsBinding: function WidgetsBinding() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure0: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure0(t0) {
this.$this = t0;
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure1: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure1(t0) {
this.$this = t0;
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure2: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure2(t0) {
this.$this = t0;
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure_markElementsDirty: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure_markElementsDirty(t0) {
this.className = t0;
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure3: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure3() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure4: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure4() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_drawFrame_closure: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_drawFrame_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
WidgetsBinding_scheduleAttachRootWidget_closure: function WidgetsBinding_scheduleAttachRootWidget_closure(t0, t1) {
this.$this = t0;
this.rootWidget = t1;
},
RenderObjectToWidgetAdapter: function RenderObjectToWidgetAdapter(t0, t1, t2, t3, t4) {
var _ = this;
_.child = t0;
_.container = t1;
_.debugShortDescription = t2;
_.key = t3;
_.$ti = t4;
},
RenderObjectToWidgetAdapter_attachToRenderTree_closure: function RenderObjectToWidgetAdapter_attachToRenderTree_closure(t0, t1, t2) {
this._box_0 = t0;
this.$this = t1;
this.owner = t2;
},
RenderObjectToWidgetAdapter_attachToRenderTree_closure0: function RenderObjectToWidgetAdapter_attachToRenderTree_closure0(t0) {
this._box_0 = t0;
},
RenderObjectToWidgetElement: function RenderObjectToWidgetElement(t0, t1, t2, t3, t4) {
var _ = this;
_._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = _._newWidget = _._child = null;
_._cachedHash = t0;
_._slot = null;
_.__Element__depth = $;
_._widget = t1;
_._owner = null;
_._lifecycleState = t2;
_._debugForgottenChildrenWithGlobalKey = t3;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
_.$ti = t4;
},
WidgetsFlutterBinding: function WidgetsFlutterBinding(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48) {
var _ = this;
_.WidgetsBinding__buildOwner = t0;
_.WidgetsBinding__observers = t1;
_.WidgetsBinding__needToReportFirstFrame = t2;
_.WidgetsBinding__firstFrameCompleter = t3;
_.WidgetsBinding_debugBuildingDirtyElements = t4;
_.WidgetsBinding__renderViewElement = t5;
_.WidgetsBinding__readyToProduceFrames = t6;
_.RendererBinding__debugIsRenderViewInitialized = t7;
_.RendererBinding__mouseTracker = t8;
_.RendererBinding___RendererBinding__pipelineOwner = t9;
_.RendererBinding__semanticsHandle = t10;
_.RendererBinding__debugMouseTrackerUpdateScheduled = t11;
_.RendererBinding__firstFrameDeferredCount = t12;
_.RendererBinding__firstFrameSent = t13;
_.SemanticsBinding___SemanticsBinding__accessibilityFeatures = t14;
_.PaintingBinding__imageCache = t15;
_.PaintingBinding__systemFonts = t16;
_.ServicesBinding___ServicesBinding__defaultBinaryMessenger = t17;
_.ServicesBinding___ServicesBinding__restorationManager = t18;
_.SchedulerBinding__timingsCallbacks = t19;
_.SchedulerBinding__lifecycleState = t20;
_.SchedulerBinding_schedulingStrategy = t21;
_.SchedulerBinding__taskQueue = t22;
_.SchedulerBinding__hasRequestedAnEventLoopCallback = t23;
_.SchedulerBinding__nextFrameCallbackId = t24;
_.SchedulerBinding__transientCallbacks = t25;
_.SchedulerBinding__removedIds = t26;
_.SchedulerBinding__persistentCallbacks = t27;
_.SchedulerBinding__postFrameCallbacks = t28;
_.SchedulerBinding__nextFrameCompleter = t29;
_.SchedulerBinding__hasScheduledFrame = t30;
_.SchedulerBinding__schedulerPhase = t31;
_.SchedulerBinding__framesEnabled = t32;
_.SchedulerBinding__warmUpFrame = t33;
_.SchedulerBinding__firstRawTimeStampInEpoch = t34;
_.SchedulerBinding__epochStart = t35;
_.SchedulerBinding__lastRawTimeStamp = t36;
_.SchedulerBinding__currentFrameTimeStamp = t37;
_.SchedulerBinding__debugFrameNumber = t38;
_.SchedulerBinding__debugBanner = t39;
_.SchedulerBinding__rescheduleAfterWarmUpFrame = t40;
_.GestureBinding__pendingPointerEvents = t41;
_.GestureBinding_pointerRouter = t42;
_.GestureBinding_gestureArena = t43;
_.GestureBinding_pointerSignalResolver = t44;
_.GestureBinding__hitTests = t45;
_.GestureBinding___GestureBinding__resampler = t46;
_.GestureBinding_resamplingEnabled = t47;
_.GestureBinding_samplingOffset = t48;
_._lockCount = 0;
},
_WidgetsFlutterBinding_BindingBase_GestureBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding() {
},
_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding() {
},
DualTransitionBuilder: function DualTransitionBuilder(t0, t1, t2, t3, t4) {
var _ = this;
_.animation = t0;
_.forwardBuilder = t1;
_.reverseBuilder = t2;
_.child = t3;
_.key = t4;
},
_DualTransitionBuilderState: function _DualTransitionBuilderState(t0, t1, t2) {
var _ = this;
_.___DualTransitionBuilderState__effectiveAnimationStatus = $;
_._forwardAnimation = t0;
_._reverseAnimation = t1;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
},
UniqueKey$: function() {
return new N.UniqueKey();
},
GlobalKey_GlobalKey: function(debugLabel, $T) {
return new N.LabeledGlobalKey(debugLabel, $T._eval$1("LabeledGlobalKey<0>"));
},
_InactiveElements__deactivateRecursively: function(element) {
element.deactivate$0();
element.visitChildren$1(N.framework__InactiveElements__deactivateRecursively$closure());
},
Element__sort: function(a, b) {
var t1;
if (a.get$_depth() < b.get$_depth())
return -1;
if (b.get$_depth() < a.get$_depth())
return 1;
t1 = b._dirty;
if (t1 && !a._dirty)
return -1;
if (a._dirty && !t1)
return 1;
return 0;
},
Element__activateRecursively: function(element) {
element.activate$0();
element.visitChildren$1(N.framework_Element__activateRecursively$closure());
},
_ElementDiagnosticableTreeNode$: function($name, stateful, style, value) {
return new N._ElementDiagnosticableTreeNode(stateful, value, $name, true, true, null, style);
},
ErrorWidget__defaultErrorWidgetBuilder: function(details) {
var exception = details.exception,
t1 = exception instanceof U.FlutterError ? exception : null;
return new N.ErrorWidget("", t1, new N.UniqueKey());
},
StatefulElement$: function(widget) {
var t1 = widget.createState$0(),
t2 = ($.Element__nextHashCode + 1) % 16777215;
$.Element__nextHashCode = t2;
t2 = new N.StatefulElement(t1, t2, widget, C._ElementLifecycle_0, P.HashSet_HashSet(type$.Element_2));
t1._framework$_element = t2;
t1._widget = widget;
return t2;
},
InheritedElement$: function(widget) {
var t1 = type$.Element_2,
t2 = P.HashMap_HashMap(null, null, null, t1, type$.nullable_Object),
t3 = ($.Element__nextHashCode + 1) % 16777215;
$.Element__nextHashCode = t3;
return new N.InheritedElement(t2, t3, widget, C._ElementLifecycle_0, P.HashSet_HashSet(t1));
},
SingleChildRenderObjectElement$: function(widget) {
var t1 = ($.Element__nextHashCode + 1) % 16777215;
$.Element__nextHashCode = t1;
return new N.SingleChildRenderObjectElement(t1, widget, C._ElementLifecycle_0, P.HashSet_HashSet(type$.Element_2));
},
MultiChildRenderObjectElement$: function(widget) {
var t1 = type$.Element_2,
t2 = P.HashSet_HashSet(t1),
t3 = ($.Element__nextHashCode + 1) % 16777215;
$.Element__nextHashCode = t3;
return new N.MultiChildRenderObjectElement(t2, t3, widget, C._ElementLifecycle_0, P.HashSet_HashSet(t1));
},
_debugReportException: function(context, exception, stack, informationCollector) {
var details = new U.FlutterErrorDetails(exception, stack, "widgets library", context, informationCollector, false);
U.FlutterError_reportError(details);
return details;
},
UniqueKey: function UniqueKey() {
},
ObjectKey: function ObjectKey(t0) {
this.value = t0;
},
GlobalKey: function GlobalKey() {
},
LabeledGlobalKey: function LabeledGlobalKey(t0, t1) {
this._debugLabel = t0;
this.$ti = t1;
},
GlobalObjectKey: function GlobalObjectKey(t0, t1) {
this.value = t0;
this.$ti = t1;
},
Widget: function Widget() {
},
StatelessWidget: function StatelessWidget() {
},
StatefulWidget: function StatefulWidget() {
},
_StateLifecycle: function _StateLifecycle(t0) {
this._framework$_name = t0;
},
State: function State() {
},
ProxyWidget: function ProxyWidget() {
},
ParentDataWidget: function ParentDataWidget() {
},
InheritedWidget: function InheritedWidget() {
},
RenderObjectWidget: function RenderObjectWidget() {
},
LeafRenderObjectWidget: function LeafRenderObjectWidget() {
},
SingleChildRenderObjectWidget: function SingleChildRenderObjectWidget() {
},
MultiChildRenderObjectWidget: function MultiChildRenderObjectWidget() {
},
_ElementLifecycle: function _ElementLifecycle(t0) {
this._framework$_name = t0;
},
_InactiveElements: function _InactiveElements(t0) {
this._locked = false;
this._framework$_elements = t0;
},
_InactiveElements__unmount_closure: function _InactiveElements__unmount_closure(t0, t1) {
this.$this = t0;
this.element = t1;
},
BuildOwner: function BuildOwner(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.onBuildScheduled = null;
_._inactiveElements = t0;
_._dirtyElements = t1;
_._scheduledFlushDirtyElements = false;
_._dirtyElementsNeedsResorting = null;
_.focusManager = t2;
_._debugStateLockLevel = 0;
_._debugBuilding = false;
_._debugElementsThatWillNeedToBeRebuiltDueToGlobalKeyShenanigans = _._debugCurrentBuildTarget = null;
_._globalKeyRegistry = t3;
_._debugIllFatedElements = t4;
_._debugGlobalKeyReservations = t5;
},
BuildOwner_buildScope_closure: function BuildOwner_buildScope_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
BuildOwner_finalizeTree_closure: function BuildOwner_finalizeTree_closure(t0) {
this.$this = t0;
},
Element0: function Element0() {
},
Element_renderObject_visit: function Element_renderObject_visit(t0) {
this._box_0 = t0;
},
Element_updateSlotForChild_visit: function Element_updateSlotForChild_visit(t0) {
this.newSlot = t0;
},
Element__updateDepth_closure: function Element__updateDepth_closure(t0) {
this.expectedDepth = t0;
},
Element_detachRenderObject_closure: function Element_detachRenderObject_closure() {
},
Element_attachRenderObject_closure: function Element_attachRenderObject_closure(t0) {
this.newSlot = t0;
},
Element_debugDescribeChildren_closure: function Element_debugDescribeChildren_closure(t0) {
this.children = t0;
},
_ElementDiagnosticableTreeNode: function _ElementDiagnosticableTreeNode(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.stateful = t0;
_.value = t1;
_._cachedBuilder = null;
_.name = t2;
_.showSeparator = t3;
_.showName = t4;
_.linePrefix = t5;
_.style = t6;
},
ErrorWidget: function ErrorWidget(t0, t1, t2) {
this.message = t0;
this._flutterError = t1;
this.key = t2;
},
ComponentElement: function ComponentElement() {
},
ComponentElement_performRebuild_closure: function ComponentElement_performRebuild_closure(t0) {
this.$this = t0;
},
ComponentElement_performRebuild_closure0: function ComponentElement_performRebuild_closure0(t0) {
this.$this = t0;
},
StatelessElement: function StatelessElement(t0, t1, t2, t3) {
var _ = this;
_._framework$_parent = _._framework$_child = null;
_._cachedHash = t0;
_._slot = null;
_.__Element__depth = $;
_._widget = t1;
_._owner = null;
_._lifecycleState = t2;
_._debugForgottenChildrenWithGlobalKey = t3;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
},
StatefulElement: function StatefulElement(t0, t1, t2, t3, t4) {
var _ = this;
_.state = t0;
_._didChangeDependencies = false;
_._framework$_parent = _._framework$_child = null;
_._cachedHash = t1;
_._slot = null;
_.__Element__depth = $;
_._widget = t2;
_._owner = null;
_._lifecycleState = t3;
_._debugForgottenChildrenWithGlobalKey = t4;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
},
ProxyElement: function ProxyElement() {
},
ParentDataElement: function ParentDataElement(t0, t1, t2, t3, t4) {
var _ = this;
_._framework$_parent = _._framework$_child = null;
_._cachedHash = t0;
_._slot = null;
_.__Element__depth = $;
_._widget = t1;
_._owner = null;
_._lifecycleState = t2;
_._debugForgottenChildrenWithGlobalKey = t3;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
_.$ti = t4;
},
ParentDataElement__applyParentData_applyParentDataToChild: function ParentDataElement__applyParentData_applyParentDataToChild(t0) {
this.widget = t0;
},
InheritedElement: function InheritedElement(t0, t1, t2, t3, t4) {
var _ = this;
_._dependents = t0;
_._framework$_parent = _._framework$_child = null;
_._cachedHash = t1;
_._slot = null;
_.__Element__depth = $;
_._widget = t2;
_._owner = null;
_._lifecycleState = t3;
_._debugForgottenChildrenWithGlobalKey = t4;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
},
RenderObjectElement: function RenderObjectElement() {
},
RenderObjectElement_updateChildren_replaceWithNullIfForgotten: function RenderObjectElement_updateChildren_replaceWithNullIfForgotten(t0) {
this.forgottenChildren = t0;
},
RenderObjectElement_updateChildren_slotFor: function RenderObjectElement_updateChildren_slotFor(t0) {
this.slots = t0;
},
RootRenderObjectElement: function RootRenderObjectElement() {
},
LeafRenderObjectElement: function LeafRenderObjectElement(t0, t1, t2, t3) {
var _ = this;
_._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null;
_._cachedHash = t0;
_._slot = null;
_.__Element__depth = $;
_._widget = t1;
_._owner = null;
_._lifecycleState = t2;
_._debugForgottenChildrenWithGlobalKey = t3;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
},
SingleChildRenderObjectElement: function SingleChildRenderObjectElement(t0, t1, t2, t3) {
var _ = this;
_._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = _._framework$_child = null;
_._cachedHash = t0;
_._slot = null;
_.__Element__depth = $;
_._widget = t1;
_._owner = null;
_._lifecycleState = t2;
_._debugForgottenChildrenWithGlobalKey = t3;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
},
MultiChildRenderObjectElement: function MultiChildRenderObjectElement(t0, t1, t2, t3, t4) {
var _ = this;
_.__MultiChildRenderObjectElement__children = $;
_._forgottenChildren = t0;
_._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null;
_._cachedHash = t1;
_._slot = null;
_.__Element__depth = $;
_._widget = t2;
_._owner = null;
_._lifecycleState = t3;
_._debugForgottenChildrenWithGlobalKey = t4;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
},
MultiChildRenderObjectElement_children_closure: function MultiChildRenderObjectElement_children_closure(t0) {
this.$this = t0;
},
DebugCreator: function DebugCreator(t0) {
this.element = t0;
},
IndexedSlot: function IndexedSlot(t0, t1, t2) {
this.value = t0;
this.index = t1;
this.$ti = t2;
},
_NullElement: function _NullElement(t0, t1, t2, t3) {
var _ = this;
_._framework$_parent = null;
_._cachedHash = t0;
_._slot = null;
_.__Element__depth = $;
_._widget = t1;
_._owner = null;
_._lifecycleState = t2;
_._debugForgottenChildrenWithGlobalKey = t3;
_._dependencies = _._inheritedWidgets = null;
_._hadUnsatisfiedDependencies = false;
_._dirty = true;
_._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false;
},
_NullWidget: function _NullWidget(t0) {
this.key = t0;
},
_State_Object_Diagnosticable: function _State_Object_Diagnosticable() {
},
ValueListenableBuilder$: function(builder, valueListenable, $T) {
return new N.ValueListenableBuilder(valueListenable, builder, null, $T._eval$1("ValueListenableBuilder<0>"));
},
ValueListenableBuilder: function ValueListenableBuilder(t0, t1, t2, t3) {
var _ = this;
_.valueListenable = t0;
_.builder = t1;
_.key = t2;
_.$ti = t3;
},
_ValueListenableBuilderState: function _ValueListenableBuilderState(t0, t1) {
var _ = this;
_.___ValueListenableBuilderState_value = $;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
_.$ti = t1;
},
_ValueListenableBuilderState__valueChanged_closure: function _ValueListenableBuilderState__valueChanged_closure(t0) {
this.$this = t0;
},
_ElementLocationStatsTracker$: function() {
var t1 = type$.JSArray__LocationCount;
return new N._ElementLocationStatsTracker(H.setRuntimeTypeInfo([], type$.JSArray_nullable__LocationCount), H.setRuntimeTypeInfo([], t1), H.setRuntimeTypeInfo([], t1));
},
transformDebugCreator: function(properties) {
return N.transformDebugCreator$body(properties);
},
transformDebugCreator$body: function($async$properties) {
return P._makeSyncStarIterable(function() {
var properties = $async$properties;
var $async$goto = 0, $async$handler = 1, $async$currentError, errorSummary, foundStackTrace, pending, t1, t2;
return function $async$transformDebugCreator($async$errorCode, $async$result) {
if ($async$errorCode === 1) {
$async$currentError = $async$result;
$async$goto = $async$handler;
}
while (true)
switch ($async$goto) {
case 0:
// Function start
pending = H.setRuntimeTypeInfo([], type$.JSArray_DiagnosticsNode);
t1 = J.getInterceptor$ax(properties);
t2 = t1.get$iterator(properties);
while (true) {
if (!t2.moveNext$0()) {
errorSummary = null;
break;
}
errorSummary = t2.get$current(t2);
if (errorSummary instanceof U.ErrorSummary)
break;
}
t1 = t1.get$iterator(properties), foundStackTrace = false;
case 2:
// for condition
if (!t1.moveNext$0()) {
// goto after for
$async$goto = 3;
break;
}
t2 = t1.get$current(t1);
if (!foundStackTrace && t2 instanceof U.DiagnosticsStackTrace)
foundStackTrace = true;
$async$goto = t2 instanceof K.DiagnosticsDebugCreator ? 4 : 6;
break;
case 4:
// then
t2 = N._parseDiagnosticsNode(t2, errorSummary);
t2.toString;
$async$goto = 7;
return P._IterationMarker_yieldStar(t2);
case 7:
// after yield
// goto join
$async$goto = 5;
break;
case 6:
// else
$async$goto = foundStackTrace ? 8 : 10;
break;
case 8:
// then
pending.push(t2);
// goto join
$async$goto = 9;
break;
case 10:
// else
$async$goto = 11;
return t2;
case 11:
// after yield
case 9:
// join
case 5:
// join
// goto for condition
$async$goto = 2;
break;
case 3:
// after for
$async$goto = 12;
return P._IterationMarker_yieldStar(pending);
case 12:
// after yield
// implicit return
return P._IterationMarker_endOfIteration();
case 1:
// rethrow
return P._IterationMarker_uncaughtError($async$currentError);
}
};
}, type$.DiagnosticsNode);
},
_parseDiagnosticsNode: function(node, errorSummary) {
var t1;
if (!(node instanceof K.DiagnosticsDebugCreator))
return null;
t1 = node.get$value(node);
t1.toString;
return N._describeRelevantUserCode(type$.DebugCreator._as(t1).element, errorSummary);
},
_describeRelevantUserCode: function(element, errorSummary) {
var nodes, t1;
if (!$.$get$WidgetInspectorService__instance().isWidgetCreationTracked$0())
return H.setRuntimeTypeInfo([U.ErrorDescription$("Widget creation tracking is currently disabled. Enabling it enables improved error messages. It can be enabled by passing `--track-widget-creation` to `flutter run` or `flutter test`."), U.ErrorSpacer$()], type$.JSArray_DiagnosticsNode);
nodes = H.setRuntimeTypeInfo([], type$.JSArray_DiagnosticsNode);
t1 = new N._describeRelevantUserCode_processElement(new N._describeRelevantUserCode_isOverflowError(errorSummary), nodes);
if (t1.call$1(element))
element.visitAncestorElements$1(t1);
return nodes;
},
_WidgetInspectorService: function _WidgetInspectorService(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) {
var _ = this;
_.WidgetInspectorService__serializeRing = t0;
_.WidgetInspectorService__serializeRingIndex = t1;
_.WidgetInspectorService_selection = t2;
_.WidgetInspectorService_selectionChangedCallback = t3;
_.WidgetInspectorService__groups = t4;
_.WidgetInspectorService__idToReferenceData = t5;
_.WidgetInspectorService__objectToId = t6;
_.WidgetInspectorService__nextId = t7;
_.WidgetInspectorService__pubRootDirectories = t8;
_.WidgetInspectorService__trackRebuildDirtyWidgets = t9;
_.WidgetInspectorService__trackRepaintWidgets = t10;
_.WidgetInspectorService__structuredExceptionHandler = t11;
_.WidgetInspectorService___WidgetInspectorService__registerServiceExtensionCallback = t12;
_.WidgetInspectorService__errorsSinceReload = t13;
_.WidgetInspectorService__widgetCreationTracked = t14;
_.WidgetInspectorService___WidgetInspectorService__frameStart = t15;
_.WidgetInspectorService__rebuildStats = t16;
_.WidgetInspectorService__repaintStats = t17;
},
WidgetInspectorService: function WidgetInspectorService() {
},
_ElementLocationStatsTracker: function _ElementLocationStatsTracker(t0, t1, t2) {
this._stats = t0;
this.active = t1;
this.newLocations = t2;
},
InspectorSelection: function InspectorSelection(t0) {
var _ = this;
_._candidates = t0;
_._widget_inspector$_index = 0;
_._widget_inspector$_currentElement = _._widget_inspector$_current = null;
},
_describeRelevantUserCode_isOverflowError: function _describeRelevantUserCode_isOverflowError(t0) {
this.errorSummary = t0;
},
_describeRelevantUserCode_processElement: function _describeRelevantUserCode_processElement(t0, t1) {
this.isOverflowError = t0;
this.nodes = t1;
},
expectQuotedString: function(scanner) {
var string;
scanner.expect$2$name($.$get$_quotedString(), "quoted string");
string = scanner.get$lastMatch().$index(0, 0);
return H.stringReplaceAllFuncUnchecked(C.JSString_methods.substring$2(string, 1, string.length - 1), $.$get$_quotedPair(), new N.expectQuotedString_closure(), null);
},
expectQuotedString_closure: function expectQuotedString_closure() {
},
GatewayTokenListResponse: function GatewayTokenListResponse() {
},
GatewayTokenItemResponse: function GatewayTokenItemResponse() {
},
GatewayTokenEntity: function GatewayTokenEntity() {
},
GatewayTokenMetaEntity: function GatewayTokenMetaEntity() {
},
_$GatewayTokenListResponseSerializer: function _$GatewayTokenListResponseSerializer() {
},
_$GatewayTokenItemResponseSerializer: function _$GatewayTokenItemResponseSerializer() {
},
_$GatewayTokenEntitySerializer: function _$GatewayTokenEntitySerializer() {
},
_$GatewayTokenMetaEntitySerializer: function _$GatewayTokenMetaEntitySerializer() {
},
_$GatewayTokenListResponse: function _$GatewayTokenListResponse(t0) {
this.data = t0;
this._gateway_token_model$__hashCode = null;
},
GatewayTokenListResponseBuilder: function GatewayTokenListResponseBuilder() {
this._gateway_token_model$_data = this._gateway_token_model$_$v = null;
},
_$GatewayTokenItemResponse: function _$GatewayTokenItemResponse(t0) {
this.data = t0;
this._gateway_token_model$__hashCode = null;
},
GatewayTokenItemResponseBuilder: function GatewayTokenItemResponseBuilder() {
this._gateway_token_model$_data = this._gateway_token_model$_$v = null;
},
_$GatewayTokenEntity: function _$GatewayTokenEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
var _ = this;
_.token = t0;
_.customerReference = t1;
_.companyGatewayId = t2;
_.gatewayTypeId = t3;
_.isDefault = t4;
_.meta = t5;
_.isChanged = t6;
_.createdAt = t7;
_.updatedAt = t8;
_.archivedAt = t9;
_.isDeleted = t10;
_.createdUserId = t11;
_.assignedUserId = t12;
_.id = t13;
_._gateway_token_model$__hashCode = null;
},
GatewayTokenEntityBuilder: function GatewayTokenEntityBuilder() {
var _ = this;
_._gateway_token_model$_id = _._gateway_token_model$_assignedUserId = _._gateway_token_model$_createdUserId = _._gateway_token_model$_isDeleted = _._gateway_token_model$_archivedAt = _._gateway_token_model$_updatedAt = _._gateway_token_model$_createdAt = _._gateway_token_model$_isChanged = _._meta = _._gateway_token_model$_isDefault = _._gatewayTypeId = _._gateway_token_model$_companyGatewayId = _._customerReference = _._gateway_token_model$_token = _._gateway_token_model$_$v = null;
},
_$GatewayTokenMetaEntity: function _$GatewayTokenMetaEntity(t0, t1, t2, t3, t4) {
var _ = this;
_.brand = t0;
_.last4 = t1;
_.type = t2;
_.expMonth = t3;
_.expYear = t4;
_._gateway_token_model$__hashCode = null;
},
GatewayTokenMetaEntityBuilder: function GatewayTokenMetaEntityBuilder() {
var _ = this;
_._expYear = _._expMonth = _._gateway_token_model$_type = _._last4 = _._brand = _._gateway_token_model$_$v = null;
},
_GatewayTokenEntity_Object_BaseEntity: function _GatewayTokenEntity_Object_BaseEntity() {
},
_GatewayTokenEntity_Object_BaseEntity_SelectableEntity: function _GatewayTokenEntity_Object_BaseEntity_SelectableEntity() {
},
RecurringInvoiceRepository: function RecurringInvoiceRepository() {
},
companyGatewayUIReducer: function(state, action) {
var t1;
state.toString;
t1 = new U.CompanyGatewayUIStateBuilder();
t1._company_gateway_state$_$v = state;
new N.companyGatewayUIReducer_closure(state, action).call$1(t1);
return t1.build$0(0);
},
_clearEditing: function(companyGateway, action) {
return O.CompanyGatewayEntity_CompanyGatewayEntity(null, null);
},
_updateEditing: function(companyGateway, action) {
return action.get$companyGateway();
},
_filterCompanyGatewaysByCustom1: function(companyGatewayListState, action) {
var t1 = companyGatewayListState.custom1Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return companyGatewayListState.rebuild$1(new N._filterCompanyGatewaysByCustom1_closure(action));
else
return companyGatewayListState.rebuild$1(new N._filterCompanyGatewaysByCustom1_closure0(action));
},
_filterCompanyGatewaysByCustom2: function(companyGatewayListState, action) {
var t1 = companyGatewayListState.custom2Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return companyGatewayListState.rebuild$1(new N._filterCompanyGatewaysByCustom2_closure(action));
else
return companyGatewayListState.rebuild$1(new N._filterCompanyGatewaysByCustom2_closure0(action));
},
_filterCompanyGatewaysByState: function(companyGatewayListState, action) {
var t1 = companyGatewayListState.stateFilters,
t2 = action.state;
if (J.contains$1$asx(t1._list, t2))
return companyGatewayListState.rebuild$1(new N._filterCompanyGatewaysByState_closure(action));
else
return companyGatewayListState.rebuild$1(new N._filterCompanyGatewaysByState_closure0(action));
},
_filterCompanyGateways: function(companyGatewayListState, action) {
return companyGatewayListState.rebuild$1(new N._filterCompanyGateways_closure(action, companyGatewayListState));
},
_sortCompanyGateways: function(companyGatewayListState, action) {
return companyGatewayListState.rebuild$1(new N._sortCompanyGateways_closure(action));
},
_startListMultiselect0: function(productListState, action) {
return productListState.rebuild$1(new N._startListMultiselect_closure7());
},
_addToListMultiselect0: function(productListState, action) {
return productListState.rebuild$1(new N._addToListMultiselect_closure7(action));
},
_removeFromListMultiselect0: function(productListState, action) {
return productListState.rebuild$1(new N._removeFromListMultiselect_closure7(action));
},
_clearListMultiselect0: function(productListState, action) {
return productListState.rebuild$1(new N._clearListMultiselect_closure7());
},
_archiveCompanyGatewaySuccess: function(companyGatewayState, action) {
return companyGatewayState.rebuild$1(new N._archiveCompanyGatewaySuccess_closure(action));
},
_deleteCompanyGatewaySuccess: function(companyGatewayState, action) {
return companyGatewayState.rebuild$1(new N._deleteCompanyGatewaySuccess_closure(action));
},
_restoreCompanyGatewaySuccess: function(companyGatewayState, action) {
return companyGatewayState.rebuild$1(new N._restoreCompanyGatewaySuccess_closure(action));
},
_addCompanyGateway: function(companyGatewayState, action) {
return companyGatewayState.rebuild$1(new N._addCompanyGateway_closure(action));
},
_updateCompanyGateway: function(companyGatewayState, action) {
return companyGatewayState.rebuild$1(new N._updateCompanyGateway_closure(action));
},
_setLoadedCompanyGateway: function(companyGatewayState, action) {
return companyGatewayState.rebuild$1(new N._setLoadedCompanyGateway_closure(action));
},
_setLoadedCompany0: function(companyGatewayState, action) {
var state = companyGatewayState.rebuild$1(new N._setLoadedCompany_closure1(action));
return state.rebuild$1(new N._setLoadedCompany_closure2(state));
},
_setLoadedCompanyGateways: function(companyGatewayState, action) {
var state = companyGatewayState.rebuild$1(new N._setLoadedCompanyGateways_closure(action));
return state.rebuild$1(new N._setLoadedCompanyGateways_closure0(state));
},
companyGatewayUIReducer_closure: function companyGatewayUIReducer_closure(t0, t1) {
this.state = t0;
this.action = t1;
},
forceSelectedReducer_closure59: function forceSelectedReducer_closure59() {
},
forceSelectedReducer_closure60: function forceSelectedReducer_closure60() {
},
forceSelectedReducer_closure61: function forceSelectedReducer_closure61() {
},
forceSelectedReducer_closure62: function forceSelectedReducer_closure62() {
},
forceSelectedReducer_closure63: function forceSelectedReducer_closure63() {
},
forceSelectedReducer_closure64: function forceSelectedReducer_closure64() {
},
forceSelectedReducer_closure65: function forceSelectedReducer_closure65() {
},
forceSelectedReducer_closure66: function forceSelectedReducer_closure66() {
},
selectedIdReducer_closure119: function selectedIdReducer_closure119() {
},
selectedIdReducer_closure120: function selectedIdReducer_closure120() {
},
selectedIdReducer_closure121: function selectedIdReducer_closure121() {
},
selectedIdReducer_closure122: function selectedIdReducer_closure122() {
},
selectedIdReducer_closure123: function selectedIdReducer_closure123() {
},
selectedIdReducer_closure124: function selectedIdReducer_closure124() {
},
selectedIdReducer_closure125: function selectedIdReducer_closure125() {
},
selectedIdReducer_closure126: function selectedIdReducer_closure126() {
},
selectedIdReducer_closure127: function selectedIdReducer_closure127() {
},
selectedIdReducer_closure128: function selectedIdReducer_closure128() {
},
selectedIdReducer_closure129: function selectedIdReducer_closure129() {
},
selectedIdReducer_closure130: function selectedIdReducer_closure130() {
},
selectedIdReducer_closure131: function selectedIdReducer_closure131() {
},
selectedIdReducer_closure132: function selectedIdReducer_closure132() {
},
selectedIdReducer_closure133: function selectedIdReducer_closure133() {
},
editingReducer_closure35: function editingReducer_closure35() {
},
editingReducer_closure36: function editingReducer_closure36() {
},
editingReducer_closure37: function editingReducer_closure37() {
},
editingReducer_closure38: function editingReducer_closure38() {
},
editingReducer__closure13: function editingReducer__closure13() {
},
_filterCompanyGatewaysByCustom1_closure: function _filterCompanyGatewaysByCustom1_closure(t0) {
this.action = t0;
},
_filterCompanyGatewaysByCustom1_closure0: function _filterCompanyGatewaysByCustom1_closure0(t0) {
this.action = t0;
},
_filterCompanyGatewaysByCustom2_closure: function _filterCompanyGatewaysByCustom2_closure(t0) {
this.action = t0;
},
_filterCompanyGatewaysByCustom2_closure0: function _filterCompanyGatewaysByCustom2_closure0(t0) {
this.action = t0;
},
_filterCompanyGatewaysByState_closure: function _filterCompanyGatewaysByState_closure(t0) {
this.action = t0;
},
_filterCompanyGatewaysByState_closure0: function _filterCompanyGatewaysByState_closure0(t0) {
this.action = t0;
},
_filterCompanyGateways_closure: function _filterCompanyGateways_closure(t0, t1) {
this.action = t0;
this.companyGatewayListState = t1;
},
_sortCompanyGateways_closure: function _sortCompanyGateways_closure(t0) {
this.action = t0;
},
_startListMultiselect_closure7: function _startListMultiselect_closure7() {
},
_addToListMultiselect_closure7: function _addToListMultiselect_closure7(t0) {
this.action = t0;
},
_removeFromListMultiselect_closure7: function _removeFromListMultiselect_closure7(t0) {
this.action = t0;
},
_clearListMultiselect_closure7: function _clearListMultiselect_closure7() {
},
_archiveCompanyGatewaySuccess_closure: function _archiveCompanyGatewaySuccess_closure(t0) {
this.action = t0;
},
_deleteCompanyGatewaySuccess_closure: function _deleteCompanyGatewaySuccess_closure(t0) {
this.action = t0;
},
_restoreCompanyGatewaySuccess_closure: function _restoreCompanyGatewaySuccess_closure(t0) {
this.action = t0;
},
_addCompanyGateway_closure: function _addCompanyGateway_closure(t0) {
this.action = t0;
},
_addCompanyGateway__closure: function _addCompanyGateway__closure() {
},
_updateCompanyGateway_closure: function _updateCompanyGateway_closure(t0) {
this.action = t0;
},
_updateCompanyGateway__closure: function _updateCompanyGateway__closure() {
},
_setLoadedCompanyGateway_closure: function _setLoadedCompanyGateway_closure(t0) {
this.action = t0;
},
_setLoadedCompanyGateway__closure: function _setLoadedCompanyGateway__closure() {
},
_setLoadedCompany_closure1: function _setLoadedCompany_closure1(t0) {
this.action = t0;
},
_setLoadedCompany__closure1: function _setLoadedCompany__closure1() {
},
_setLoadedCompany__closure2: function _setLoadedCompany__closure2() {
},
_setLoadedCompany_closure2: function _setLoadedCompany_closure2(t0) {
this.state = t0;
},
_setLoadedCompanyGateways_closure: function _setLoadedCompanyGateways_closure(t0) {
this.action = t0;
},
_setLoadedCompanyGateways__closure: function _setLoadedCompanyGateways__closure() {
},
_setLoadedCompanyGateways__closure0: function _setLoadedCompanyGateways__closure0() {
},
_setLoadedCompanyGateways_closure0: function _setLoadedCompanyGateways_closure0(t0) {
this.state = t0;
},
handleDesignAction: function(context, designs, action) {
var store, state, t1, design, t2, designIds, message, _i, t3, _null = null, _s6_ = ":value",
_s12_ = "_dispatchers";
if (designs.length === 0)
return;
store = O.StoreProvider_of(context, type$.legacy_AppState);
state = store.get$_store$_state();
t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
design = type$.legacy_DesignEntity._as(C.JSArray_methods.get$first(designs));
t2 = H._arrayInstanceType(designs)._eval$1("MappedListIterable<1,String*>");
designIds = P.List_List$of(new H.MappedListIterable(designs, new N.handleDesignAction_closure(), t2), true, t2._eval$1("ListIterable.E"));
switch (action) {
case C.EntityAction_edit:
M.editEntity(_null, context, design, _null);
break;
case C.EntityAction_clone:
M.createEntity(_null, _null, context, design.get$clone(design), _null, false);
break;
case C.EntityAction_newInvoice:
M.createEntity(_null, _null, context, Q.InvoiceEntity_InvoiceEntity(_null, _null, _null, state, _null).rebuild$1(new N.handleDesignAction_closure0(design)), design, false);
break;
case C.EntityAction_newRecurringInvoice:
M.createEntity(_null, _null, context, Q.InvoiceEntity_InvoiceEntity(_null, C.EntityType_recurringInvoice, _null, state, _null).rebuild$1(new N.handleDesignAction_closure1(design)), design, false);
break;
case C.EntityAction_newQuote:
M.createEntity(_null, _null, context, Q.InvoiceEntity_InvoiceEntity(_null, C.EntityType_quote, _null, state, _null).rebuild$1(new N.handleDesignAction_closure2(design)), design, false);
break;
case C.EntityAction_newCredit:
M.createEntity(_null, _null, context, Q.InvoiceEntity_InvoiceEntity(_null, C.EntityType_credit, _null, state, _null).rebuild$1(new N.handleDesignAction_closure3(design)), design, false);
break;
case C.EntityAction_restore:
t2 = designIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_designs");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_design");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new N.RestoreDesignsRequest(t1, designIds));
break;
case C.EntityAction_archive:
t2 = designIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_designs");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_design");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new N.ArchiveDesignsRequest(t1, designIds));
break;
case C.EntityAction_delete:
t2 = designIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_designs");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, _s6_, C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_design");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new N.DeleteDesignsRequest(t1, designIds));
break;
case C.EntityAction_toggleMultiselect:
if (store.get$_store$_state().uiState.designUIState.listUIState.selectedIds == null)
J.$index$asx(store.get$_dispatchers(), 0).call$1(new N.StartDesignMultiselect());
t1 = designs.length;
if (t1 === 0)
break;
for (_i = 0; _i < designs.length; designs.length === t1 || (0, H.throwConcurrentModificationError)(designs), ++_i) {
design = designs[_i];
t2 = store.__Store__state;
t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI("_state")) : t2).uiState.designUIState.listUIState;
t3 = J.get$id$x(design);
t2 = t2.selectedIds;
t2 = t2 != null && J.contains$1$asx(t2._list, t3);
t3 = store.__Store__dispatchers;
if (!t2)
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new N.AddToDesignMultiselect(design));
else
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3, 0).call$1(new N.RemoveFromDesignMultiselect(design));
}
break;
case C.EntityAction_more:
L.showEntityActionsDialog(_null, H.setRuntimeTypeInfo([design], type$.JSArray_legacy_BaseEntity), false);
break;
}
},
ViewDesignList: function ViewDesignList() {
},
ViewDesign: function ViewDesign(t0) {
this.designId = t0;
},
EditDesign: function EditDesign(t0) {
this.design = t0;
},
UpdateDesign: function UpdateDesign(t0) {
this.design = t0;
},
LoadDesignRequest: function LoadDesignRequest() {
},
LoadDesignFailure: function LoadDesignFailure(t0) {
this.error = t0;
},
LoadDesignSuccess: function LoadDesignSuccess(t0) {
this.design = t0;
},
LoadDesignsRequest: function LoadDesignsRequest() {
},
LoadDesignsFailure: function LoadDesignsFailure(t0) {
this.error = t0;
},
LoadDesignsSuccess: function LoadDesignsSuccess(t0) {
this.designs = t0;
},
SaveDesignRequest: function SaveDesignRequest(t0, t1) {
this.completer = t0;
this.design = t1;
},
SaveDesignSuccess: function SaveDesignSuccess(t0) {
this.design = t0;
},
AddDesignSuccess: function AddDesignSuccess(t0) {
this.design = t0;
},
SaveDesignFailure: function SaveDesignFailure() {
},
ArchiveDesignsRequest: function ArchiveDesignsRequest(t0, t1) {
this.completer = t0;
this.designIds = t1;
},
ArchiveDesignsSuccess: function ArchiveDesignsSuccess(t0) {
this.designs = t0;
},
ArchiveDesignsFailure: function ArchiveDesignsFailure() {
},
DeleteDesignsRequest: function DeleteDesignsRequest(t0, t1) {
this.completer = t0;
this.designIds = t1;
},
DeleteDesignsSuccess: function DeleteDesignsSuccess(t0) {
this.designs = t0;
},
DeleteDesignsFailure: function DeleteDesignsFailure() {
},
RestoreDesignsRequest: function RestoreDesignsRequest(t0, t1) {
this.completer = t0;
this.designIds = t1;
},
RestoreDesignsSuccess: function RestoreDesignsSuccess(t0) {
this.designs = t0;
},
RestoreDesignsFailure: function RestoreDesignsFailure() {
},
FilterDesigns: function FilterDesigns(t0) {
this.filter = t0;
},
SortDesigns: function SortDesigns(t0) {
this.field = t0;
},
FilterDesignsByState: function FilterDesignsByState(t0) {
this.state = t0;
},
FilterDesignsByCustom1: function FilterDesignsByCustom1(t0) {
this.value = t0;
},
FilterDesignsByCustom2: function FilterDesignsByCustom2(t0) {
this.value = t0;
},
FilterDesignsByCustom3: function FilterDesignsByCustom3(t0) {
this.value = t0;
},
FilterDesignsByCustom4: function FilterDesignsByCustom4(t0) {
this.value = t0;
},
handleDesignAction_closure: function handleDesignAction_closure() {
},
handleDesignAction_closure0: function handleDesignAction_closure0(t0) {
this.design = t0;
},
handleDesignAction_closure1: function handleDesignAction_closure1(t0) {
this.design = t0;
},
handleDesignAction_closure2: function handleDesignAction_closure2(t0) {
this.design = t0;
},
handleDesignAction_closure3: function handleDesignAction_closure3(t0) {
this.design = t0;
},
StartDesignMultiselect: function StartDesignMultiselect() {
},
AddToDesignMultiselect: function AddToDesignMultiselect(t0) {
this.entity = t0;
},
RemoveFromDesignMultiselect: function RemoveFromDesignMultiselect(t0) {
this.entity = t0;
},
ClearDesignMultiselect: function ClearDesignMultiselect() {
},
_$PaymentTermState$_: function(list, map) {
var _s16_ = "PaymentTermState";
if (map == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "map"));
if (list == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "list"));
return new N._$PaymentTermState(map, list);
},
_$PaymentTermUIState$_: function(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) {
if (listUIState == null)
H.throwExpression(Y.BuiltValueNullFieldError$("PaymentTermUIState", "listUIState"));
return new N._$PaymentTermUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter);
},
PaymentTermState: function PaymentTermState() {
},
PaymentTermState_loadPaymentTerms_closure0: function PaymentTermState_loadPaymentTerms_closure0() {
},
PaymentTermState_loadPaymentTerms_closure1: function PaymentTermState_loadPaymentTerms_closure1() {
},
PaymentTermState_loadPaymentTerms_closure: function PaymentTermState_loadPaymentTerms_closure(t0, t1) {
this.$this = t0;
this.map = t1;
},
PaymentTermUIState: function PaymentTermUIState() {
},
_$PaymentTermStateSerializer: function _$PaymentTermStateSerializer() {
},
_$PaymentTermUIStateSerializer: function _$PaymentTermUIStateSerializer() {
},
_$PaymentTermState: function _$PaymentTermState(t0, t1) {
this.map = t0;
this.list = t1;
this._payment_term_state$__hashCode = null;
},
PaymentTermStateBuilder: function PaymentTermStateBuilder() {
this._payment_term_state$_list = this._payment_term_state$_map = this._payment_term_state$_$v = null;
},
_$PaymentTermUIState: function _$PaymentTermUIState(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.editing = t0;
_.listUIState = t1;
_.selectedId = t2;
_.forceSelected = t3;
_.tabIndex = t4;
_.saveCompleter = t5;
_.cancelCompleter = t6;
_._payment_term_state$__hashCode = null;
},
PaymentTermUIStateBuilder: function PaymentTermUIStateBuilder() {
var _ = this;
_._payment_term_state$_cancelCompleter = _._payment_term_state$_saveCompleter = _._payment_term_state$_tabIndex = _._payment_term_state$_forceSelected = _._payment_term_state$_selectedId = _._payment_term_state$_listUIState = _._payment_term_state$_editing = _._payment_term_state$_$v = null;
},
_PaymentTermUIState_Object_EntityUIState: function _PaymentTermUIState_Object_EntityUIState() {
},
handleRecurringInvoiceAction: function(context, recurringInvoices, action) {
var $async$goto = 0,
$async$completer = P._makeAsyncAwaitCompleter(type$.dynamic),
$async$returnValue, store, state, t1, recurringInvoice, t2, recurringInvoiceIds, designId, message, _i, t3;
var $async$handleRecurringInvoiceAction = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return P._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
if (recurringInvoices.length === 0) {
// goto return
$async$goto = 1;
break;
}
store = O.StoreProvider_of(context, type$.legacy_AppState);
state = store.get$_store$_state();
t1 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
recurringInvoice = type$.legacy_InvoiceEntity._as(C.JSArray_methods.get$first(recurringInvoices));
t2 = H._arrayInstanceType(recurringInvoices)._eval$1("MappedListIterable<1,String*>");
recurringInvoiceIds = P.List_List$of(new H.MappedListIterable(recurringInvoices, new N.handleRecurringInvoiceAction_closure(), t2), true, t2._eval$1("ListIterable.E"));
case 3:
// switch
switch (action) {
case C.EntityAction_edit:
// goto case
$async$goto = 5;
break;
case C.EntityAction_viewPdf:
// goto case
$async$goto = 6;
break;
case C.EntityAction_clientPortal:
// goto case
$async$goto = 7;
break;
case C.EntityAction_cloneToOther:
// goto case
$async$goto = 8;
break;
case C.EntityAction_cloneToRecurring:
// goto case
$async$goto = 9;
break;
case C.EntityAction_cloneToInvoice:
// goto case
$async$goto = 10;
break;
case C.EntityAction_cloneToQuote:
// goto case
$async$goto = 11;
break;
case C.EntityAction_cloneToCredit:
// goto case
$async$goto = 12;
break;
case C.EntityAction_start:
// goto case
$async$goto = 13;
break;
case C.EntityAction_stop:
// goto case
$async$goto = 14;
break;
case C.EntityAction_restore:
// goto case
$async$goto = 15;
break;
case C.EntityAction_archive:
// goto case
$async$goto = 16;
break;
case C.EntityAction_delete:
// goto case
$async$goto = 17;
break;
case C.EntityAction_toggleMultiselect:
// goto case
$async$goto = 18;
break;
case C.EntityAction_more:
// goto case
$async$goto = 19;
break;
default:
// goto after switch
$async$goto = 4;
break;
}
break;
case 5:
// case
M.editEntity(null, context, recurringInvoice, null);
// goto after switch
$async$goto = 4;
break;
case 6:
// case
J.$index$asx(store.get$_dispatchers(), 0).call$1(new N.ShowPdfRecurringInvoice(recurringInvoice, context, null));
// goto after switch
$async$goto = 4;
break;
case 7:
// case
t1 = recurringInvoice.invitations._list;
t2 = J.getInterceptor$asx(t1);
$async$goto = 22;
return P._asyncAwait(T.canLaunch(t2.get$isEmpty(t1) ? "" : t2.get$first(t1).link + "?silent=true"), $async$handleRecurringInvoiceAction);
case 22:
// returning from await.
$async$goto = $async$result ? 20 : 21;
break;
case 20:
// then
$async$goto = 23;
return P._asyncAwait(T.launch(t2.get$isEmpty(t1) ? "" : t2.get$first(t1).link + "?silent=true", false, false), $async$handleRecurringInvoiceAction);
case 23:
// returning from await.
case 21:
// join
// goto after switch
$async$goto = 4;
break;
case 8:
// case
O.cloneToDialog(context, recurringInvoice);
// goto after switch
$async$goto = 4;
break;
case 9:
// case
M.createEntity(null, null, context, recurringInvoice.get$clone(recurringInvoice), null, false);
// goto after switch
$async$goto = 4;
break;
case 10:
// case
M.createEntity(null, null, context, recurringInvoice.get$clone(recurringInvoice).rebuild$1(new N.handleRecurringInvoiceAction_closure0()), null, false);
// goto after switch
$async$goto = 4;
break;
case 11:
// case
designId = A.getDesignIdForClientByEntity(recurringInvoice.clientId, C.EntityType_invoice, state);
M.createEntity(null, null, context, recurringInvoice.get$clone(recurringInvoice).rebuild$1(new N.handleRecurringInvoiceAction_closure1(designId)), null, false);
// goto after switch
$async$goto = 4;
break;
case 12:
// case
designId = A.getDesignIdForClientByEntity(recurringInvoice.clientId, C.EntityType_credit, state);
M.createEntity(null, null, context, recurringInvoice.get$clone(recurringInvoice).rebuild$1(new N.handleRecurringInvoiceAction_closure2(designId)), null, false);
// goto after switch
$async$goto = 4;
break;
case 13:
// case
t2 = recurringInvoice.lastSentDate;
t1 = t2.length === 0 ? t1.get$startedRecurringInvoice() : t1.get$resumedRecurringInvoice();
t1 = O.snackBarCompleter(context, t1, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new N.StartRecurringInvoicesRequest(t1, recurringInvoiceIds));
// goto after switch
$async$goto = 4;
break;
case 14:
// case
t1 = O.snackBarCompleter(context, t1.get$stoppedRecurringInvoice(), false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new N.StopRecurringInvoicesRequest(t1, recurringInvoiceIds));
// goto after switch
$async$goto = 4;
break;
case 15:
// case
t2 = recurringInvoiceIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_recurring_invoices");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, ":value", C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "restored_recurring_invoice");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new N.RestoreRecurringInvoicesRequest(t1, recurringInvoiceIds));
// goto after switch
$async$goto = 4;
break;
case 16:
// case
t2 = recurringInvoiceIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_recurring_invoices");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, ":value", C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "archived_recurring_invoice");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new N.ArchiveRecurringInvoicesRequest(t1, recurringInvoiceIds));
// goto after switch
$async$goto = 4;
break;
case 17:
// case
t2 = recurringInvoiceIds.length;
if (t2 > 1) {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_recurring_invoices");
if (t1 == null)
t1 = "";
message = C.JSString_methods.replaceFirst$2(t1, ":value", C.JSInt_methods.toString$0(t2));
} else {
t1 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t1.localeCode), "deleted_recurring_invoice");
message = t1 == null ? "" : t1;
}
t1 = O.snackBarCompleter(context, message, false, type$.Null);
J.$index$asx(store.get$_dispatchers(), 0).call$1(new N.DeleteRecurringInvoicesRequest(t1, recurringInvoiceIds));
// goto after switch
$async$goto = 4;
break;
case 18:
// case
if (store.get$_store$_state().uiState.recurringInvoiceUIState.listUIState.selectedIds == null)
J.$index$asx(store.get$_dispatchers(), 0).call$1(new N.StartRecurringInvoiceMultiselect());
t1 = recurringInvoices.length;
if (t1 === 0) {
// goto after switch
$async$goto = 4;
break;
}
for (_i = 0; _i < recurringInvoices.length; recurringInvoices.length === t1 || (0, H.throwConcurrentModificationError)(recurringInvoices), ++_i) {
recurringInvoice = recurringInvoices[_i];
t2 = store.__Store__state;
t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI("_state")) : t2).uiState.recurringInvoiceUIState.listUIState;
t3 = J.get$id$x(recurringInvoice);
t2 = t2.selectedIds;
t2 = t2 != null && J.contains$1$asx(t2._list, t3);
t3 = store.__Store__dispatchers;
if (!t2)
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_dispatchers")) : t3, 0).call$1(new N.AddToRecurringInvoiceMultiselect(recurringInvoice));
else
J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_dispatchers")) : t3, 0).call$1(new N.RemoveFromRecurringInvoiceMultiselect(recurringInvoice));
}
// goto after switch
$async$goto = 4;
break;
case 19:
// case
L.showEntityActionsDialog(null, H.setRuntimeTypeInfo([recurringInvoice], type$.JSArray_legacy_BaseEntity), false);
// goto after switch
$async$goto = 4;
break;
case 4:
// after switch
case 1:
// return
return P._asyncReturn($async$returnValue, $async$completer);
}
});
return P._asyncStartSync($async$handleRecurringInvoiceAction, $async$completer);
},
ViewRecurringInvoiceList: function ViewRecurringInvoiceList() {
},
ViewRecurringInvoice: function ViewRecurringInvoice(t0) {
this.recurringInvoiceId = t0;
},
EditRecurringInvoice: function EditRecurringInvoice(t0) {
this.recurringInvoice = t0;
},
ShowPdfRecurringInvoice: function ShowPdfRecurringInvoice(t0, t1, t2) {
this.invoice = t0;
this.context = t1;
this.activityId = t2;
},
EditRecurringInvoiceItem: function EditRecurringInvoiceItem(t0) {
this.itemIndex = t0;
},
UpdateRecurringInvoice: function UpdateRecurringInvoice(t0) {
this.recurringInvoice = t0;
},
UpdateRecurringInvoiceClient: function UpdateRecurringInvoiceClient(t0) {
this.client = t0;
},
LoadRecurringInvoice: function LoadRecurringInvoice(t0, t1) {
this.completer = t0;
this.recurringInvoiceId = t1;
},
LoadRecurringInvoices: function LoadRecurringInvoices() {
},
LoadRecurringInvoiceRequest: function LoadRecurringInvoiceRequest() {
},
LoadRecurringInvoiceFailure: function LoadRecurringInvoiceFailure(t0) {
this.error = t0;
},
LoadRecurringInvoiceSuccess: function LoadRecurringInvoiceSuccess(t0) {
this.recurringInvoice = t0;
},
LoadRecurringInvoicesRequest: function LoadRecurringInvoicesRequest() {
},
LoadRecurringInvoicesFailure: function LoadRecurringInvoicesFailure(t0) {
this.error = t0;
},
LoadRecurringInvoicesSuccess: function LoadRecurringInvoicesSuccess(t0) {
this.recurringInvoices = t0;
},
AddRecurringInvoiceContact: function AddRecurringInvoiceContact(t0, t1) {
this.contact = t0;
this.invitation = t1;
},
RemoveRecurringInvoiceContact: function RemoveRecurringInvoiceContact(t0) {
this.invitation = t0;
},
SaveRecurringInvoiceRequest: function SaveRecurringInvoiceRequest(t0, t1) {
this.completer = t0;
this.recurringInvoice = t1;
},
SaveRecurringInvoiceSuccess: function SaveRecurringInvoiceSuccess(t0) {
this.recurringInvoice = t0;
},
AddRecurringInvoiceSuccess: function AddRecurringInvoiceSuccess(t0) {
this.recurringInvoice = t0;
},
AddRecurringInvoiceItem: function AddRecurringInvoiceItem(t0) {
this.invoiceItem = t0;
},
MoveRecurringInvoiceItem: function MoveRecurringInvoiceItem(t0, t1) {
this.oldIndex = t0;
this.newIndex = t1;
},
AddRecurringInvoiceItems: function AddRecurringInvoiceItems(t0) {
this.items = t0;
},
UpdateRecurringInvoiceItem: function UpdateRecurringInvoiceItem(t0, t1) {
this.index = t0;
this.item = t1;
},
DeleteRecurringInvoiceItem: function DeleteRecurringInvoiceItem(t0) {
this.index = t0;
},
SaveRecurringInvoiceFailure: function SaveRecurringInvoiceFailure() {
},
ArchiveRecurringInvoicesRequest: function ArchiveRecurringInvoicesRequest(t0, t1) {
this.completer = t0;
this.recurringInvoiceIds = t1;
},
ArchiveRecurringInvoicesSuccess: function ArchiveRecurringInvoicesSuccess(t0) {
this.recurringInvoices = t0;
},
ArchiveRecurringInvoicesFailure: function ArchiveRecurringInvoicesFailure() {
},
DeleteRecurringInvoicesRequest: function DeleteRecurringInvoicesRequest(t0, t1) {
this.completer = t0;
this.recurringInvoiceIds = t1;
},
DeleteRecurringInvoicesSuccess: function DeleteRecurringInvoicesSuccess(t0) {
this.recurringInvoices = t0;
},
DeleteRecurringInvoicesFailure: function DeleteRecurringInvoicesFailure() {
},
RestoreRecurringInvoicesRequest: function RestoreRecurringInvoicesRequest(t0, t1) {
this.completer = t0;
this.recurringInvoiceIds = t1;
},
RestoreRecurringInvoicesSuccess: function RestoreRecurringInvoicesSuccess(t0) {
this.recurringInvoices = t0;
},
RestoreRecurringInvoicesFailure: function RestoreRecurringInvoicesFailure() {
},
FilterRecurringInvoices: function FilterRecurringInvoices(t0) {
this.filter = t0;
},
SortRecurringInvoices: function SortRecurringInvoices(t0) {
this.field = t0;
},
FilterRecurringInvoicesByState: function FilterRecurringInvoicesByState(t0) {
this.state = t0;
},
FilterRecurringInvoicesByStatus: function FilterRecurringInvoicesByStatus(t0) {
this.status = t0;
},
FilterRecurringInvoicesByCustom1: function FilterRecurringInvoicesByCustom1(t0) {
this.value = t0;
},
FilterRecurringInvoicesByCustom2: function FilterRecurringInvoicesByCustom2(t0) {
this.value = t0;
},
FilterRecurringInvoicesByCustom3: function FilterRecurringInvoicesByCustom3(t0) {
this.value = t0;
},
FilterRecurringInvoicesByCustom4: function FilterRecurringInvoicesByCustom4(t0) {
this.value = t0;
},
SaveRecurringInvoiceDocumentRequest: function SaveRecurringInvoiceDocumentRequest(t0, t1, t2) {
this.completer = t0;
this.multipartFile = t1;
this.invoice = t2;
},
SaveRecurringInvoiceDocumentFailure: function SaveRecurringInvoiceDocumentFailure() {
},
StartRecurringInvoicesRequest: function StartRecurringInvoicesRequest(t0, t1) {
this.completer = t0;
this.invoiceIds = t1;
},
StartRecurringInvoicesSuccess: function StartRecurringInvoicesSuccess(t0) {
this.invoices = t0;
},
StartRecurringInvoicesFailure: function StartRecurringInvoicesFailure() {
},
StopRecurringInvoicesRequest: function StopRecurringInvoicesRequest(t0, t1) {
this.completer = t0;
this.invoiceIds = t1;
},
StopRecurringInvoicesSuccess: function StopRecurringInvoicesSuccess(t0) {
this.invoices = t0;
},
StopRecurringInvoicesFailure: function StopRecurringInvoicesFailure() {
},
handleRecurringInvoiceAction_closure: function handleRecurringInvoiceAction_closure() {
},
handleRecurringInvoiceAction_closure0: function handleRecurringInvoiceAction_closure0() {
},
handleRecurringInvoiceAction_closure1: function handleRecurringInvoiceAction_closure1(t0) {
this.designId = t0;
},
handleRecurringInvoiceAction_closure2: function handleRecurringInvoiceAction_closure2(t0) {
this.designId = t0;
},
StartRecurringInvoiceMultiselect: function StartRecurringInvoiceMultiselect() {
},
AddToRecurringInvoiceMultiselect: function AddToRecurringInvoiceMultiselect(t0) {
this.entity = t0;
},
RemoveFromRecurringInvoiceMultiselect: function RemoveFromRecurringInvoiceMultiselect(t0) {
this.entity = t0;
},
ClearRecurringInvoiceMultiselect: function ClearRecurringInvoiceMultiselect() {
},
UpdateRecurringInvoiceTab: function UpdateRecurringInvoiceTab(t0) {
this.tabIndex = t0;
},
taskUIReducer: function(state, action) {
var t1;
state.toString;
t1 = new M.TaskUIStateBuilder();
t1._task_state$_$v = state;
new N.taskUIReducer_closure(state, action).call$1(t1);
return t1.build$0(0);
},
_clearEditing14: function(task, action) {
var _null = null;
return D.TaskEntity_TaskEntity(_null, _null, _null, _null, _null);
},
_updateEditing15: function(task, action) {
return action.get$task();
},
_viewTaskList0: function(taskListState, action) {
return taskListState.rebuild$1(new N._viewTaskList_closure());
},
_filterTasksByCustom1: function(taskListState, action) {
var t1 = taskListState.custom1Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return taskListState.rebuild$1(new N._filterTasksByCustom1_closure(action));
else
return taskListState.rebuild$1(new N._filterTasksByCustom1_closure0(action));
},
_filterTasksByCustom2: function(taskListState, action) {
var t1 = taskListState.custom2Filters,
t2 = action.value;
if (J.contains$1$asx(t1._list, t2))
return taskListState.rebuild$1(new N._filterTasksByCustom2_closure(action));
else
return taskListState.rebuild$1(new N._filterTasksByCustom2_closure0(action));
},
_filterTasksByState: function(taskListState, action) {
var t1 = taskListState.stateFilters,
t2 = action.state;
if (J.contains$1$asx(t1._list, t2))
return taskListState.rebuild$1(new N._filterTasksByState_closure(action));
else
return taskListState.rebuild$1(new N._filterTasksByState_closure0(action));
},
_filterTasksByStatus: function(taskListState, action) {
var t1 = taskListState.statusFilters,
t2 = action.status;
if (J.contains$1$asx(t1._list, t2))
return taskListState.rebuild$1(new N._filterTasksByStatus_closure(action));
else
return taskListState.rebuild$1(new N._filterTasksByStatus_closure0(action));
},
_filterTasks: function(taskListState, action) {
return taskListState.rebuild$1(new N._filterTasks_closure(action, taskListState));
},
_sortTasks0: function(taskListState, action) {
return taskListState.rebuild$1(new N._sortTasks_closure(action));
},
_addTaskTime: function(task, action) {
return task.addTaskTime$1(action.taskTime).rebuild$1(new N._addTaskTime_closure(action));
},
_removeTaskTime: function(task, action) {
return task.deleteTaskTime$1(action.index);
},
_updateTaskTime: function(task, action) {
return task.updateTaskTime$2(action.taskTime, action.index);
},
_startListMultiselect16: function(taskListState, action) {
return taskListState.rebuild$1(new N._startListMultiselect_closure2());
},
_addToListMultiselect16: function(taskListState, action) {
return taskListState.rebuild$1(new N._addToListMultiselect_closure2(action));
},
_removeFromListMultiselect16: function(taskListState, action) {
return taskListState.rebuild$1(new N._removeFromListMultiselect_closure2(action));
},
_clearListMultiselect16: function(taskListState, action) {
return taskListState.rebuild$1(new N._clearListMultiselect_closure2());
},
_sortTasksSuccess: function(taskState, action) {
return taskState.rebuild$1(new N._sortTasksSuccess_closure(action, taskState));
},
_archiveTaskSuccess: function(taskState, action) {
return taskState.rebuild$1(new N._archiveTaskSuccess_closure(action));
},
_deleteTaskSuccess: function(taskState, action) {
return taskState.rebuild$1(new N._deleteTaskSuccess_closure(action));
},
_restoreTaskSuccess: function(taskState, action) {
return taskState.rebuild$1(new N._restoreTaskSuccess_closure(action));
},
_addTask: function(taskState, action) {
return taskState.rebuild$1(new N._addTask_closure(action));
},
_updateTask: function(taskState, action) {
return taskState.rebuild$1(new N._updateTask_closure(action));
},
_setLoadedTask: function(taskState, action) {
return taskState.rebuild$1(new N._setLoadedTask_closure(action));
},
_setLoadedTasks: function(taskState, action) {
return taskState.loadTasks$1(action.tasks);
},
_setLoadedCompany15: function(taskState, action) {
return taskState.loadTasks$1(action.userCompany.company.tasks);
},
taskUIReducer_closure: function taskUIReducer_closure(t0, t1) {
this.state = t0;
this.action = t1;
},
forceSelectedReducer_closure23: function forceSelectedReducer_closure23() {
},
forceSelectedReducer_closure24: function forceSelectedReducer_closure24() {
},
forceSelectedReducer_closure25: function forceSelectedReducer_closure25() {
},
forceSelectedReducer_closure26: function forceSelectedReducer_closure26() {
},
forceSelectedReducer_closure27: function forceSelectedReducer_closure27() {
},
forceSelectedReducer_closure28: function forceSelectedReducer_closure28() {
},
forceSelectedReducer_closure29: function forceSelectedReducer_closure29() {
},
forceSelectedReducer_closure30: function forceSelectedReducer_closure30() {
},
tabIndexReducer_closure5: function tabIndexReducer_closure5() {
},
tabIndexReducer_closure6: function tabIndexReducer_closure6() {
},
editingTimeReducer_closure: function editingTimeReducer_closure() {
},
editingTimeReducer_closure0: function editingTimeReducer_closure0() {
},
selectedIdReducer_closure49: function selectedIdReducer_closure49() {
},
selectedIdReducer_closure50: function selectedIdReducer_closure50() {
},
selectedIdReducer_closure51: function selectedIdReducer_closure51() {
},
selectedIdReducer_closure52: function selectedIdReducer_closure52() {
},
selectedIdReducer_closure53: function selectedIdReducer_closure53() {
},
selectedIdReducer_closure54: function selectedIdReducer_closure54() {
},
selectedIdReducer_closure55: function selectedIdReducer_closure55() {
},
selectedIdReducer_closure56: function selectedIdReducer_closure56() {
},
selectedIdReducer_closure57: function selectedIdReducer_closure57() {
},
selectedIdReducer_closure58: function selectedIdReducer_closure58() {
},
selectedIdReducer_closure59: function selectedIdReducer_closure59() {
},
selectedIdReducer_closure60: function selectedIdReducer_closure60() {
},
selectedIdReducer_closure61: function selectedIdReducer_closure61() {
},
selectedIdReducer_closure62: function selectedIdReducer_closure62() {
},
selectedIdReducer_closure63: function selectedIdReducer_closure63() {
},
editingReducer_closure18: function editingReducer_closure18() {
},
editingReducer_closure19: function editingReducer_closure19() {
},
editingReducer_closure20: function editingReducer_closure20() {
},
editingReducer_closure21: function editingReducer_closure21() {
},
editingReducer__closure8: function editingReducer__closure8() {
},
_viewTaskList_closure: function _viewTaskList_closure() {
},
_filterTasksByCustom1_closure: function _filterTasksByCustom1_closure(t0) {
this.action = t0;
},
_filterTasksByCustom1_closure0: function _filterTasksByCustom1_closure0(t0) {
this.action = t0;
},
_filterTasksByCustom2_closure: function _filterTasksByCustom2_closure(t0) {
this.action = t0;
},
_filterTasksByCustom2_closure0: function _filterTasksByCustom2_closure0(t0) {
this.action = t0;
},
_filterTasksByState_closure: function _filterTasksByState_closure(t0) {
this.action = t0;
},
_filterTasksByState_closure0: function _filterTasksByState_closure0(t0) {
this.action = t0;
},
_filterTasksByStatus_closure: function _filterTasksByStatus_closure(t0) {
this.action = t0;
},
_filterTasksByStatus_closure0: function _filterTasksByStatus_closure0(t0) {
this.action = t0;
},
_filterTasks_closure: function _filterTasks_closure(t0, t1) {
this.action = t0;
this.taskListState = t1;
},
_sortTasks_closure: function _sortTasks_closure(t0) {
this.action = t0;
},
_addTaskTime_closure: function _addTaskTime_closure(t0) {
this.action = t0;
},
_startListMultiselect_closure2: function _startListMultiselect_closure2() {
},
_addToListMultiselect_closure2: function _addToListMultiselect_closure2(t0) {
this.action = t0;
},
_removeFromListMultiselect_closure2: function _removeFromListMultiselect_closure2(t0) {
this.action = t0;
},
_clearListMultiselect_closure2: function _clearListMultiselect_closure2() {
},
_sortTasksSuccess_closure: function _sortTasksSuccess_closure(t0, t1) {
this.action = t0;
this.taskState = t1;
},
_sortTasksSuccess__closure: function _sortTasksSuccess__closure(t0, t1, t2) {
this.statusId = t0;
this.action = t1;
this.taskId = t2;
},
_archiveTaskSuccess_closure: function _archiveTaskSuccess_closure(t0) {
this.action = t0;
},
_deleteTaskSuccess_closure: function _deleteTaskSuccess_closure(t0) {
this.action = t0;
},
_restoreTaskSuccess_closure: function _restoreTaskSuccess_closure(t0) {
this.action = t0;
},
_addTask_closure: function _addTask_closure(t0) {
this.action = t0;
},
_updateTask_closure: function _updateTask_closure(t0) {
this.action = t0;
},
_setLoadedTask_closure: function _setLoadedTask_closure(t0) {
this.action = t0;
},
_$TokenState$_: function(list, map) {
var _s10_ = "TokenState";
if (map == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "map"));
if (list == null)
H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "list"));
return new N._$TokenState(map, list);
},
_$TokenUIState$_: function(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) {
if (listUIState == null)
H.throwExpression(Y.BuiltValueNullFieldError$("TokenUIState", "listUIState"));
return new N._$TokenUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter);
},
TokenState: function TokenState() {
},
TokenState_loadTokens_closure0: function TokenState_loadTokens_closure0() {
},
TokenState_loadTokens_closure1: function TokenState_loadTokens_closure1() {
},
TokenState_loadTokens_closure: function TokenState_loadTokens_closure(t0, t1) {
this.$this = t0;
this.map = t1;
},
TokenUIState: function TokenUIState() {
},
_$TokenStateSerializer: function _$TokenStateSerializer() {
},
_$TokenUIStateSerializer: function _$TokenUIStateSerializer() {
},
_$TokenState: function _$TokenState(t0, t1) {
this.map = t0;
this.list = t1;
this._token_state$__hashCode = null;
},
TokenStateBuilder: function TokenStateBuilder() {
this._token_state$_list = this._token_state$_map = this._token_state$_$v = null;
},
_$TokenUIState: function _$TokenUIState(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.editing = t0;
_.listUIState = t1;
_.selectedId = t2;
_.forceSelected = t3;
_.tabIndex = t4;
_.saveCompleter = t5;
_.cancelCompleter = t6;
_._token_state$__hashCode = null;
},
TokenUIStateBuilder: function TokenUIStateBuilder() {
var _ = this;
_._token_state$_cancelCompleter = _._token_state$_saveCompleter = _._token_state$_tabIndex = _._token_state$_forceSelected = _._token_state$_selectedId = _._token_state$_listUIState = _._token_state$_editing = _._token_state$_$v = null;
},
_TokenUIState_Object_EntityUIState: function _TokenUIState_Object_EntityUIState() {
},
ProjectPicker: function ProjectPicker(t0, t1, t2, t3, t4) {
var _ = this;
_.projectId = t0;
_.clientId = t1;
_.onChanged = t2;
_.onAddPressed = t3;
_.key = t4;
},
ListFilter: function ListFilter(t0, t1, t2, t3, t4) {
var _ = this;
_.entityType = t0;
_.filter = t1;
_.onFilterChanged = t2;
_.entityIds = t3;
_.key = t4;
},
_ListFilterState: function _ListFilterState(t0, t1) {
var _ = this;
_._list_filter$_focusNode = _._filterController = null;
_._debouncer = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_ListFilterState_onFocusChanged_closure: function _ListFilterState_onFocusChanged_closure() {
},
_ListFilterState_build_closure: function _ListFilterState_build_closure(t0) {
this.$this = t0;
},
_ListFilterState_build_closure0: function _ListFilterState_build_closure0(t0) {
this.$this = t0;
},
_ListFilterState_build__closure: function _ListFilterState_build__closure(t0, t1) {
this.$this = t0;
this.value = t1;
},
ActivityListTile: function ActivityListTile(t0, t1, t2) {
this.activity = t0;
this.enableNavigation = t1;
this.key = t2;
},
ActivityListTile_build_closure: function ActivityListTile_build_closure(t0, t1) {
this.$this = t0;
this.client = t1;
},
ListFilterMessage: function ListFilterMessage(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.filterEntityId = t0;
_.filterEntityType = t1;
_.onPressed = t2;
_.onClearPressed = t3;
_.isSettings = t4;
_.key = t5;
},
FilterListTile: function FilterListTile(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.entityType = t0;
_.entity = t1;
_.onPressed = t2;
_.onClearPressed = t3;
_.isSettings = t4;
_.key = t5;
},
FilterListTile_build_closure: function FilterListTile_build_closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
FilterListTile_build__closure: function FilterListTile_build__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SelectedIndicator: function SelectedIndicator(t0, t1, t2, t3) {
var _ = this;
_.child = t0;
_.isSelected = t1;
_.isMenu = t2;
_.key = t3;
},
AppPaginatedDataTable: function AppPaginatedDataTable(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.columns = t0;
_.sortColumnIndex = t1;
_.sortAscending = t2;
_.onSelectAll = t3;
_.initialFirstRowIndex = t4;
_.onPageChanged = t5;
_.rowsPerPage = t6;
_.source = t7;
_.key = t8;
},
AppPaginatedDataTableState: function AppPaginatedDataTableState(t0, t1, t2) {
var _ = this;
_._app_paginated_data_table$_rowCountApproximate = _._app_paginated_data_table$_rowCount = _._app_paginated_data_table$_firstRowIndex = null;
_._app_paginated_data_table$_rows = t0;
_._app_paginated_data_table$_tableKey = t1;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
},
AppPaginatedDataTableState__handleDataSourceChanged_closure: function AppPaginatedDataTableState__handleDataSourceChanged_closure(t0) {
this.$this = t0;
},
AppPaginatedDataTableState_pageTo_closure: function AppPaginatedDataTableState_pageTo_closure(t0, t1) {
this.$this = t0;
this.rowIndex = t1;
},
AppPaginatedDataTableState__getBlankRowFor_closure: function AppPaginatedDataTableState__getBlankRowFor_closure() {
},
AppPaginatedDataTableState__getProgressIndicatorRowFor_closure: function AppPaginatedDataTableState__getProgressIndicatorRowFor_closure(t0) {
this._box_0 = t0;
},
AppPaginatedDataTableState__getRows_closure: function AppPaginatedDataTableState__getRows_closure(t0, t1) {
this.$this = t0;
this.index = t1;
},
AppPaginatedDataTableState_build_closure: function AppPaginatedDataTableState_build_closure(t0, t1, t2) {
this.$this = t0;
this.footerTextStyle = t1;
this.footerWidgets = t2;
},
DesignSettings$: function(draftMode, htmlController, isLoading, nameController, onDraftModeChanged, onLoadDesign, viewModel) {
return new N.DesignSettings(viewModel, onLoadDesign, nameController, htmlController, draftMode, isLoading, onDraftModeChanged, null);
},
DesignEdit: function DesignEdit(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_DesignEditState: function _DesignEditState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_._design_edit$_debouncer = t0;
_._htmlDebouncer = t1;
_._design_edit$_nameController = t2;
_._htmlController = t3;
_._headerController = t4;
_._footerController = t5;
_._bodyController = t6;
_._productsController = t7;
_._tasksController = t8;
_._includesController = t9;
_._pdfBytes = _._tabController = _._design_edit$_focusNode = null;
_._html = "";
_._isDraftMode = _._design_edit$_isLoading = false;
_._design_edit$_controllers = null;
_.SingleTickerProviderStateMixin__ticker = t10;
_._widget = null;
_._debugLifecycleState = t11;
_._framework$_element = null;
},
_DesignEditState_didChangeDependencies_closure: function _DesignEditState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
_DesignEditState_didChangeDependencies_closure0: function _DesignEditState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
_DesignEditState_dispose_closure: function _DesignEditState_dispose_closure(t0) {
this.$this = t0;
},
_DesignEditState__onChanged_closure: function _DesignEditState__onChanged_closure(t0) {
this.$this = t0;
},
_DesignEditState__onChanged_closure0: function _DesignEditState__onChanged_closure0(t0) {
this.$this = t0;
},
_DesignEditState__onChanged__closure: function _DesignEditState__onChanged__closure(t0) {
this.$this = t0;
},
_DesignEditState__onHtmlChanged_closure: function _DesignEditState__onHtmlChanged_closure(t0) {
this.$this = t0;
},
_DesignEditState__onHtmlChanged__closure: function _DesignEditState__onHtmlChanged__closure(t0) {
this.$this = t0;
},
_DesignEditState__loadDesign_closure: function _DesignEditState__loadDesign_closure(t0) {
this.$this = t0;
},
_DesignEditState__loadDesign_closure0: function _DesignEditState__loadDesign_closure0(t0) {
this.$this = t0;
},
_DesignEditState__loadPreview_closure: function _DesignEditState__loadPreview_closure(t0) {
this.$this = t0;
},
_DesignEditState__loadPreview_closure0: function _DesignEditState__loadPreview_closure0(t0) {
this.$this = t0;
},
_DesignEditState__loadPreview__closure: function _DesignEditState__loadPreview__closure(t0, t1) {
this.$this = t0;
this.response = t1;
},
_DesignEditState__setDraftMode_closure: function _DesignEditState__setDraftMode_closure(t0, t1) {
this.$this = t0;
this.isDraftMode = t1;
},
_DesignEditState_build_closure2: function _DesignEditState_build_closure2(t0) {
this.viewModel = t0;
},
_DesignEditState_build_closure: function _DesignEditState_build_closure(t0) {
this.viewModel = t0;
},
_DesignEditState_build_closure0: function _DesignEditState_build_closure0(t0) {
this.$this = t0;
},
_DesignEditState_build_closure1: function _DesignEditState_build_closure1(t0) {
this.$this = t0;
},
DesignSection: function DesignSection(t0, t1) {
this.textController = t0;
this.key = t1;
},
DesignSettings: function DesignSettings(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.viewModel = t0;
_.onLoadDesign = t1;
_.nameController = t2;
_.htmlController = t3;
_.draftMode = t4;
_.isLoading = t5;
_.onDraftModeChanged = t6;
_.key = t7;
},
_DesignSettingsState: function _DesignSettingsState(t0) {
var _ = this;
_._widget = _._selectedDesign = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_DesignSettingsState_build_closure: function _DesignSettingsState_build_closure(t0) {
this.$this = t0;
},
_DesignSettingsState_build_closure0: function _DesignSettingsState_build_closure0() {
},
PdfDesignPreview: function PdfDesignPreview(t0, t1, t2) {
this.pdfBytes = t0;
this.isLoading = t1;
this.key = t2;
},
_PdfDesignPreviewState: function _PdfDesignPreviewState(t0) {
var _ = this;
_._widget = _._design_edit$_pdfController = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
HtmlDesignPreview: function HtmlDesignPreview(t0, t1, t2) {
this.html = t0;
this.isLoading = t1;
this.key = t2;
},
__DesignEditState_State_SingleTickerProviderStateMixin: function __DesignEditState_State_SingleTickerProviderStateMixin() {
},
ExpenseViewSchedule: function ExpenseViewSchedule(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_ExpenseViewScheduleState: function _ExpenseViewScheduleState(t0) {
this._widget = null;
this._debugLifecycleState = t0;
this._framework$_element = null;
},
_ExpenseViewScheduleState_build_closure: function _ExpenseViewScheduleState_build_closure(t0) {
this.context = t0;
},
InvoiceEditDetails: function InvoiceEditDetails(t0, t1, t2) {
this.viewModel = t0;
this.entityType = t1;
this.key = t2;
},
InvoiceEditDetailsState: function InvoiceEditDetailsState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
var _ = this;
_._invoiceNumberController = t0;
_._poNumberController = t1;
_._invoice_edit_details$_discountController = t2;
_._partialController = t3;
_._invoice_edit_details$_custom1Controller = t4;
_._invoice_edit_details$_custom2Controller = t5;
_._invoice_edit_details$_custom3Controller = t6;
_._invoice_edit_details$_custom4Controller = t7;
_._surcharge1Controller = t8;
_._surcharge2Controller = t9;
_._surcharge3Controller = t10;
_._surcharge4Controller = t11;
_._invoice_edit_details$_controllers = t12;
_._invoice_edit_details$_debouncer = t13;
_._widget = null;
_._debugLifecycleState = t14;
_._framework$_element = null;
},
InvoiceEditDetailsState_didChangeDependencies_closure: function InvoiceEditDetailsState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
InvoiceEditDetailsState_didChangeDependencies_closure0: function InvoiceEditDetailsState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
InvoiceEditDetailsState_dispose_closure: function InvoiceEditDetailsState_dispose_closure(t0) {
this.$this = t0;
},
InvoiceEditDetailsState__onChanged_closure: function InvoiceEditDetailsState__onChanged_closure(t0) {
this.$this = t0;
},
InvoiceEditDetailsState__onChanged_closure0: function InvoiceEditDetailsState__onChanged_closure0(t0, t1) {
this.$this = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build_closure0: function InvoiceEditDetailsState_build_closure0(t0, t1, t2) {
this.viewModel = t0;
this.context = t1;
this.invoice = t2;
},
InvoiceEditDetailsState_build_closure: function InvoiceEditDetailsState_build_closure(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
InvoiceEditDetailsState_build_closure1: function InvoiceEditDetailsState_build_closure1(t0, t1, t2) {
this.invoice = t0;
this.originalInvoice = t1;
this.context = t2;
},
InvoiceEditDetailsState_build_closure2: function InvoiceEditDetailsState_build_closure2(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure12: function InvoiceEditDetailsState_build__closure12(t0) {
this.userId = t0;
},
InvoiceEditDetailsState_build_closure7: function InvoiceEditDetailsState_build_closure7(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure10: function InvoiceEditDetailsState_build__closure10(t0) {
this.value = t0;
},
InvoiceEditDetailsState_build_closure3: function InvoiceEditDetailsState_build_closure3(t0) {
this.localization = t0;
},
InvoiceEditDetailsState_build_closure4: function InvoiceEditDetailsState_build_closure4(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure11: function InvoiceEditDetailsState_build__closure11(t0) {
this.date = t0;
},
InvoiceEditDetailsState_build_closure8: function InvoiceEditDetailsState_build_closure8(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure9: function InvoiceEditDetailsState_build__closure9(t0) {
this.value = t0;
},
InvoiceEditDetailsState_build_closure5: function InvoiceEditDetailsState_build_closure5() {
},
InvoiceEditDetailsState_build_closure9: function InvoiceEditDetailsState_build_closure9(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure8: function InvoiceEditDetailsState_build__closure8(t0) {
this.value = t0;
},
InvoiceEditDetailsState_build_closure6: function InvoiceEditDetailsState_build_closure6(t0) {
this.localization = t0;
},
InvoiceEditDetailsState_build_closure11: function InvoiceEditDetailsState_build_closure11(t0) {
this.context = t0;
},
InvoiceEditDetailsState_build_closure10: function InvoiceEditDetailsState_build_closure10(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure7: function InvoiceEditDetailsState_build__closure7(t0) {
this.date = t0;
},
InvoiceEditDetailsState_build_closure12: function InvoiceEditDetailsState_build_closure12(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure6: function InvoiceEditDetailsState_build__closure6(t0) {
this.date = t0;
},
InvoiceEditDetailsState_build_closure13: function InvoiceEditDetailsState_build_closure13(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.invoice = t1;
_.state = t2;
_.localization = t3;
},
InvoiceEditDetailsState_build_closure14: function InvoiceEditDetailsState_build_closure14(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure5: function InvoiceEditDetailsState_build__closure5(t0) {
this.date = t0;
},
InvoiceEditDetailsState_build_closure15: function InvoiceEditDetailsState_build_closure15(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure4: function InvoiceEditDetailsState_build__closure4(t0) {
this.value = t0;
},
InvoiceEditDetailsState_build_closure16: function InvoiceEditDetailsState_build_closure16(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure3: function InvoiceEditDetailsState_build__closure3(t0) {
this.value = t0;
},
InvoiceEditDetailsState_build_closure17: function InvoiceEditDetailsState_build_closure17(t0) {
this.localization = t0;
},
InvoiceEditDetailsState_build_closure18: function InvoiceEditDetailsState_build_closure18(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build_closure19: function InvoiceEditDetailsState_build_closure19(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build_closure20: function InvoiceEditDetailsState_build_closure20(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build_closure21: function InvoiceEditDetailsState_build_closure21(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure2: function InvoiceEditDetailsState_build__closure2(t0) {
this.value = t0;
},
InvoiceEditDetailsState_build_closure22: function InvoiceEditDetailsState_build_closure22(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure1: function InvoiceEditDetailsState_build__closure1(t0) {
this.value = t0;
},
InvoiceEditDetailsState_build_closure23: function InvoiceEditDetailsState_build_closure23(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure0: function InvoiceEditDetailsState_build__closure0(t0) {
this.value = t0;
},
InvoiceEditDetailsState_build_closure24: function InvoiceEditDetailsState_build_closure24(t0, t1) {
this.viewModel = t0;
this.invoice = t1;
},
InvoiceEditDetailsState_build__closure: function InvoiceEditDetailsState_build__closure(t0) {
this.value = t0;
},
InvoiceViewSchedule: function InvoiceViewSchedule(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_InvoiceViewScheduleState: function _InvoiceViewScheduleState(t0) {
this._widget = null;
this._debugLifecycleState = t0;
this._framework$_element = null;
},
_InvoiceViewScheduleState_build_closure: function _InvoiceViewScheduleState_build_closure(t0) {
this.context = t0;
},
ProjectPresenter: function ProjectPresenter() {
this.context = this.entity = null;
},
QuoteListItem: function QuoteListItem(t0, t1, t2, t3) {
var _ = this;
_.quote = t0;
_.filter = t1;
_.showCheckbox = t2;
_.key = t3;
},
QuoteListItem_build_closure: function QuoteListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_._box_0 = t0;
_.$this = t1;
_.isInMultiselect = t2;
_.listUIState = t3;
_.isChecked = t4;
_.state = t5;
_.client = t6;
_.localization = t7;
_.textStyle = t8;
_.filterMatch = t9;
_.textColor = t10;
},
QuoteListItem_build__closure2: function QuoteListItem_build__closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
QuoteListItem_build__closure1: function QuoteListItem_build__closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
QuoteListItem_build__closure: function QuoteListItem_build__closure() {
},
QuoteListItem_build__closure0: function QuoteListItem_build__closure0(t0) {
this.$this = t0;
},
QuoteListItem_build__closure5: function QuoteListItem_build__closure5(t0, t1) {
this.$this = t0;
this.context = t1;
},
QuoteListItem_build__closure4: function QuoteListItem_build__closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
QuoteListItem_build__closure3: function QuoteListItem_build__closure3() {
},
productReport: function(userCompany, reportsUIState, productMap, vendorMap, userMap, staticState) {
var columns, t4, t5, t6, t7, product, row, t8, t9, value, value0, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, skip, t10, value11, t11, selectedColumns, _null = null,
data = H.setRuntimeTypeInfo([], type$.JSArray_legacy_List_legacy_ReportElement),
reportSettings = userCompany.settings.reportSettings,
productReportSettings = reportSettings != null && J.containsKey$1$x(reportSettings._map$_map, "product") ? J.$index$asx(reportSettings._map$_map, "product") : A.ReportSettingsEntity_ReportSettingsEntity(_null, _null),
defaultColumns = H.setRuntimeTypeInfo([C.ProductReportFields_0, C.ProductReportFields_1, C.ProductReportFields_3, C.ProductReportFields_4], type$.JSArray_legacy_ProductReportFields),
t1 = productReportSettings.columns._list,
t2 = J.getInterceptor$asx(t1),
t3 = type$.legacy_ProductReportFields;
if (t2.get$isNotEmpty(t1)) {
t1 = t2.map$1$1(t1, new N.productReport_closure(), t3).where$1(0, new N.productReport_closure0());
columns = D.BuiltList_BuiltList$from(P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t3);
} else
columns = D.BuiltList_BuiltList$from(defaultColumns, t3);
for (t1 = J.get$iterator$ax(productMap.get$keys(productMap)), t2 = columns._list, t3 = J.getInterceptor$ax(t2), t4 = userCompany.company, t5 = type$.JSArray_legacy_ReportElement, t6 = productMap._map$_map, t7 = J.getInterceptor$asx(t6); t1.moveNext$0();) {
product = t7.$index(t6, t1.get$current(t1));
if (product.isDeleted)
continue;
row = H.setRuntimeTypeInfo([], t5);
for (t8 = t3.get$iterator(t2), t9 = product.id, value = product.customValue4, value0 = product.customValue3, value1 = product.customValue2, value2 = product.customValue1, value3 = product.taxRate3, value4 = product.taxRate2, value5 = product.taxRate1, value6 = product.quantity, value7 = product.notes, value8 = product.cost, value9 = product.price, value10 = product.productKey, skip = false; t8.moveNext$0();) {
t10 = t8.get$current(t8);
switch (t10) {
case C.ProductReportFields_0:
value11 = value10;
break;
case C.ProductReportFields_1:
value11 = value9;
break;
case C.ProductReportFields_3:
value11 = value8;
break;
case C.ProductReportFields_2:
value11 = value7;
break;
case C.ProductReportFields_4:
value11 = value6;
break;
case C.ProductReportFields_5:
value11 = value5;
break;
case C.ProductReportFields_6:
value11 = value4;
break;
case C.ProductReportFields_7:
value11 = value3;
break;
case C.ProductReportFields_8:
value11 = value2;
break;
case C.ProductReportFields_9:
value11 = value1;
break;
case C.ProductReportFields_10:
value11 = value0;
break;
case C.ProductReportFields_11:
value11 = value;
break;
default:
value11 = "";
}
if (!A.ReportResult_matchField(N.EnumUtils_parse(t10), _null, reportsUIState, userCompany, value11))
skip = true;
t11 = J.getInterceptor$(value11);
if (t11.get$runtimeType(value11) === C.Type_bool_lhE)
row.push(new A.ReportBoolValue(value11, product.get$entityType(), t9));
else if (t10 === C.ProductReportFields_4) {
t10 = t4.settings.currencyId;
if (t10 == null)
t10 = "1";
row.push(new A.ReportNumberValue(value11, C.FormatNumberType_3, t10, _null, product.get$entityType(), t9));
} else if (t11.get$runtimeType(value11) === C.Type_double_K1J || t11.get$runtimeType(value11) === C.Type_int_tHn) {
t10 = t4.settings.currencyId;
if (t10 == null)
t10 = "1";
row.push(new A.ReportNumberValue(value11, _null, t10, _null, product.get$entityType(), t9));
} else
row.push(new A.ReportStringValue(value11, product.get$entityType(), t9));
}
if (!skip)
data.push(row);
}
selectedColumns = t3.map$1$1(t2, new N.productReport_closure1(), type$.legacy_String).toList$0(0);
C.JSArray_methods.sort$1(data, new N.productReport_closure2(productReportSettings, selectedColumns));
t1 = type$.MappedListIterable_of_legacy_ProductReportFields_and_legacy_String;
t2 = t1._eval$1("ListIterable.E");
return new A.ReportResult(selectedColumns, P.List_List$of(new H.MappedListIterable(C.List_IwX, new N.productReport_closure3(), t1), true, t2), P.List_List$of(new H.MappedListIterable(defaultColumns, new N.productReport_closure4(), t1), true, t2), data, true);
},
ProductReportFields: function ProductReportFields(t0) {
this._product_report$_name = t0;
},
memoizedProductReport_closure: function memoizedProductReport_closure() {
},
productReport_closure: function productReport_closure() {
},
productReport_closure0: function productReport_closure0() {
},
productReport_closure1: function productReport_closure1() {
},
productReport_closure2: function productReport_closure2(t0, t1) {
this.productReportSettings = t0;
this.selectedColumns = t1;
},
productReport_closure3: function productReport_closure3() {
},
productReport_closure4: function productReport_closure4() {
},
EmailSettings: function EmailSettings(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_EmailSettingsState: function _EmailSettingsState(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._email_settings$_focusNode = null;
_._fromNameController = t0;
_._replyToEmailController = t1;
_._replyToNameController = t2;
_._bccEmailController = t3;
_._emailStyleCustomController = t4;
_._emailSignatureController = t5;
_._email_settings$_controllers = t6;
_._widget = null;
_._debugLifecycleState = t7;
_._framework$_element = null;
},
_EmailSettingsState_dispose_closure: function _EmailSettingsState_dispose_closure(t0) {
this.$this = t0;
},
_EmailSettingsState_didChangeDependencies_closure: function _EmailSettingsState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
_EmailSettingsState_didChangeDependencies_closure0: function _EmailSettingsState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
_EmailSettingsState__onChanged_closure: function _EmailSettingsState__onChanged_closure(t0) {
this.$this = t0;
},
_EmailSettingsState_build_closure: function _EmailSettingsState_build_closure(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_EmailSettingsState_build__closure5: function _EmailSettingsState_build__closure5(t0) {
this.value = t0;
},
_EmailSettingsState_build_closure0: function _EmailSettingsState_build_closure0(t0) {
this.context = t0;
},
_EmailSettingsState_build_closure1: function _EmailSettingsState_build_closure1(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_EmailSettingsState_build__closure4: function _EmailSettingsState_build__closure4(t0) {
this.userId = t0;
},
_EmailSettingsState_build_closure2: function _EmailSettingsState_build_closure2() {
},
_EmailSettingsState_build_closure3: function _EmailSettingsState_build_closure3(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_EmailSettingsState_build__closure3: function _EmailSettingsState_build__closure3(t0) {
this.value = t0;
},
_EmailSettingsState_build_closure4: function _EmailSettingsState_build_closure4(t0) {
this.viewModel = t0;
},
_EmailSettingsState_build_closure5: function _EmailSettingsState_build_closure5(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_EmailSettingsState_build__closure2: function _EmailSettingsState_build__closure2(t0) {
this.value = t0;
},
_EmailSettingsState_build_closure6: function _EmailSettingsState_build_closure6(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_EmailSettingsState_build__closure1: function _EmailSettingsState_build__closure1(t0) {
this.value = t0;
},
_EmailSettingsState_build_closure7: function _EmailSettingsState_build_closure7(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_EmailSettingsState_build__closure0: function _EmailSettingsState_build__closure0(t0) {
this.value = t0;
},
_EmailSettingsState_build_closure8: function _EmailSettingsState_build_closure8(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_EmailSettingsState_build__closure: function _EmailSettingsState_build__closure(t0) {
this.value = t0;
},
ExpenseSettingsVM_fromStore: function(store) {
var state = store.get$_store$_state();
return new N.ExpenseSettingsVM(state, new N.ExpenseSettingsVM_fromStore_closure(store), state.uiState.settingsUIState.company, new N.ExpenseSettingsVM_fromStore_closure0(store), new N.ExpenseSettingsVM_fromStore_closure1(store));
},
ExpenseSettingsScreen: function ExpenseSettingsScreen(t0) {
this.key = t0;
},
ExpenseSettingsScreen_build_closure: function ExpenseSettingsScreen_build_closure() {
},
ExpenseSettingsVM: function ExpenseSettingsVM(t0, t1, t2, t3, t4) {
var _ = this;
_.state = t0;
_.onSavePressed = t1;
_.company = t2;
_.onCompanyChanged = t3;
_.onConfigureCategoriesPressed = t4;
},
ExpenseSettingsVM_fromStore_closure0: function ExpenseSettingsVM_fromStore_closure0(t0) {
this.store = t0;
},
ExpenseSettingsVM_fromStore_closure: function ExpenseSettingsVM_fromStore_closure(t0) {
this.store = t0;
},
ExpenseSettingsVM_fromStore__closure: function ExpenseSettingsVM_fromStore__closure(t0, t1) {
this.store = t0;
this.context = t1;
},
ExpenseSettingsVM_fromStore_closure1: function ExpenseSettingsVM_fromStore_closure1(t0) {
this.store = t0;
},
ImportExportVM_fromStore: function(store) {
return new N.ImportExportVM(store.get$_store$_state());
},
ImportExportScreen: function ImportExportScreen(t0) {
this.key = t0;
},
ImportExportScreen_build_closure: function ImportExportScreen_build_closure() {
},
ImportExportVM: function ImportExportVM(t0) {
this.state = t0;
},
TaxSettings: function TaxSettings(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_TaxSettingsState: function _TaxSettingsState(t0) {
var _ = this;
_._widget = _._tax_settings$_focusNode = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_TaxSettingsState_build_closure: function _TaxSettingsState_build_closure(t0, t1) {
this.viewModel = t0;
this.company = t1;
},
_TaxSettingsState_build__closure4: function _TaxSettingsState_build__closure4(t0) {
this.value = t0;
},
_TaxSettingsState_build_closure0: function _TaxSettingsState_build_closure0(t0, t1) {
this.viewModel = t0;
this.company = t1;
},
_TaxSettingsState_build__closure3: function _TaxSettingsState_build__closure3(t0) {
this.value = t0;
},
_TaxSettingsState_build_closure1: function _TaxSettingsState_build_closure1(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_TaxSettingsState_build__closure2: function _TaxSettingsState_build__closure2(t0) {
this.value = t0;
},
_TaxSettingsState_build_closure2: function _TaxSettingsState_build_closure2(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_TaxSettingsState_build__closure1: function _TaxSettingsState_build__closure1(t0) {
this.taxRate = t0;
},
_TaxSettingsState_build_closure3: function _TaxSettingsState_build_closure3(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_TaxSettingsState_build__closure0: function _TaxSettingsState_build__closure0(t0) {
this.taxRate = t0;
},
_TaxSettingsState_build_closure4: function _TaxSettingsState_build_closure4(t0, t1) {
this.viewModel = t0;
this.settings = t1;
},
_TaxSettingsState_build__closure: function _TaxSettingsState_build__closure(t0) {
this.taxRate = t0;
},
_TaxSettingsState_build_closure5: function _TaxSettingsState_build_closure5(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
NumberOfRatesSelector: function NumberOfRatesSelector(t0, t1, t2, t3) {
var _ = this;
_.label = t0;
_.numberOfRates = t1;
_.onChanged = t2;
_.key = t3;
},
NumberOfRatesSelector_build_closure: function NumberOfRatesSelector_build_closure(t0) {
this.$this = t0;
},
TaskStatusPresenter: function TaskStatusPresenter() {
this.context = this.entity = null;
},
VendorEditNotes: function VendorEditNotes(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
VendorEditNotesState: function VendorEditNotesState(t0, t1, t2, t3) {
var _ = this;
_._vendor_edit_notes$_publicNotesController = t0;
_._vendor_edit_notes$_privateNotesController = t1;
_._vendor_edit_notes$_controllers = null;
_._vendor_edit_notes$_debouncer = t2;
_._widget = null;
_._debugLifecycleState = t3;
_._framework$_element = null;
},
VendorEditNotesState_didChangeDependencies_closure: function VendorEditNotesState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
VendorEditNotesState_didChangeDependencies_closure0: function VendorEditNotesState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
VendorEditNotesState_dispose_closure: function VendorEditNotesState_dispose_closure(t0) {
this.$this = t0;
},
VendorEditNotesState__onChanged_closure: function VendorEditNotesState__onChanged_closure(t0) {
this.$this = t0;
},
VendorEditNotesState__onChanged_closure0: function VendorEditNotesState__onChanged_closure0(t0, t1) {
this.viewModel = t0;
this.vendor = t1;
},
VendorEditNotesState_build_closure: function VendorEditNotesState_build_closure(t0, t1) {
this.viewModel = t0;
this.vendor = t1;
},
VendorEditNotesState_build__closure: function VendorEditNotesState_build__closure(t0) {
this.currency = t0;
},
VendorPresenter: function VendorPresenter() {
this.context = this.entity = null;
},
VendorView: function VendorView(t0, t1, t2, t3) {
var _ = this;
_.viewModel = t0;
_.isFilter = t1;
_.tabIndex = t2;
_.key = t3;
},
_VendorViewState: function _VendorViewState(t0, t1) {
var _ = this;
_._vendor_view$_controller = null;
_.SingleTickerProviderStateMixin__ticker = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_VendorViewState_build_closure0: function _VendorViewState_build_closure0(t0, t1, t2) {
this.$this = t0;
this.viewModel = t1;
this.vendor = t2;
},
_VendorViewState_build__closure: function _VendorViewState_build__closure(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_VendorViewState_build__closure0: function _VendorViewState_build__closure0(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_VendorViewState_build__closure1: function _VendorViewState_build__closure1(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
_VendorViewState_build_closure: function _VendorViewState_build_closure(t0, t1) {
this.viewModel = t0;
this.context = t1;
},
__VendorViewState_State_SingleTickerProviderStateMixin: function __VendorViewState_State_SingleTickerProviderStateMixin() {
},
WebhookEdit: function WebhookEdit(t0, t1) {
this.viewModel = t0;
this.key = t1;
},
_WebhookEditState: function _WebhookEditState(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._targetUrlController = t0;
_._headerKeyController = t1;
_._headerValueController = t2;
_._webhook_edit$_debouncer = t3;
_._webhook_edit$_controllers = t4;
_._widget = null;
_._debugLifecycleState = t5;
_._framework$_element = null;
},
_WebhookEditState_didChangeDependencies_closure: function _WebhookEditState_didChangeDependencies_closure(t0) {
this.$this = t0;
},
_WebhookEditState_didChangeDependencies_closure0: function _WebhookEditState_didChangeDependencies_closure0(t0) {
this.$this = t0;
},
_WebhookEditState_dispose_closure: function _WebhookEditState_dispose_closure(t0) {
this.$this = t0;
},
_WebhookEditState__onChanged_closure: function _WebhookEditState__onChanged_closure(t0) {
this.$this = t0;
},
_WebhookEditState__onChanged_closure0: function _WebhookEditState__onChanged_closure0(t0, t1) {
this.$this = t0;
this.webhook = t1;
},
_WebhookEditState_build_closure0: function _WebhookEditState_build_closure0(t0) {
this.viewModel = t0;
},
_WebhookEditState_build_closure1: function _WebhookEditState_build_closure1(t0) {
this.viewModel = t0;
},
_WebhookEditState_build_closure: function _WebhookEditState_build_closure(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.$this = t0;
_.localization = t1;
_.webhook = t2;
_.viewModel = t3;
_.key = t4;
_.value = t5;
},
_WebhookEditState_build__closure: function _WebhookEditState_build__closure(t0) {
this.localization = t0;
},
_WebhookEditState_build__closure3: function _WebhookEditState_build__closure3(t0, t1) {
this.viewModel = t0;
this.webhook = t1;
},
_WebhookEditState_build___closure2: function _WebhookEditState_build___closure2(t0) {
this.value = t0;
},
_WebhookEditState_build__closure0: function _WebhookEditState_build__closure0(t0) {
this.localization = t0;
},
_WebhookEditState_build__closure4: function _WebhookEditState_build__closure4(t0, t1) {
this.viewModel = t0;
this.webhook = t1;
},
_WebhookEditState_build___closure1: function _WebhookEditState_build___closure1(t0) {
this.value = t0;
},
_WebhookEditState_build__closure1: function _WebhookEditState_build__closure1(t0) {
this.$this = t0;
},
_WebhookEditState_build___closure4: function _WebhookEditState_build___closure4() {
},
_WebhookEditState_build__closure2: function _WebhookEditState_build__closure2(t0) {
this.$this = t0;
},
_WebhookEditState_build___closure3: function _WebhookEditState_build___closure3() {
},
_WebhookEditState_build__closure5: function _WebhookEditState_build__closure5(t0, t1, t2, t3, t4) {
var _ = this;
_.$this = t0;
_.webhook = t1;
_.key = t2;
_.viewModel = t3;
_.value = t4;
},
_WebhookEditState_build___closure0: function _WebhookEditState_build___closure0(t0, t1) {
this.key = t0;
this.value = t1;
},
_WebhookEditState_build__closure6: function _WebhookEditState_build__closure6(t0, t1, t2) {
this.webhook = t0;
this.localization = t1;
this.viewModel = t2;
},
_WebhookEditState_build___closure: function _WebhookEditState_build___closure(t0, t1, t2) {
this.viewModel = t0;
this.webhook = t1;
this.key = t2;
},
_WebhookEditState_build____closure: function _WebhookEditState_build____closure(t0) {
this.key = t0;
},
loadDesign: function(context, design, isDraftMode, onComplete) {
var request,
state = O.StoreProvider_of(context, type$.legacy_AppState).get$_store$_state(),
credentials = state.get$credentials(state),
url = credentials.url + "/preview";
if (isDraftMode)
url += "?html=true";
request = D._$DesignPreviewRequest$_(design, "", C.EntityType_invoice);
new F.WebClient().post$4$data$rawResponse(url, credentials.token, C.C_JsonCodec.encode$1($.$get$serializers().serializeWith$2($.$get$_$designPreviewRequestSerializer(), request)), true).then$1$1(0, new N.loadDesign_closure(context, onComplete), type$.Null).catchError$1(new N.loadDesign_closure0(context, onComplete));
},
loadDesign_closure: function loadDesign_closure(t0, t1) {
this.context = t0;
this.onComplete = t1;
},
loadDesign_closure0: function loadDesign_closure0(t0, t1) {
this.context = t0;
this.onComplete = t1;
},
EnumUtils_parse: function(enumItem) {
if (enumItem == null)
return null;
return J.toString$0$(enumItem).split(".")[1];
},
EnumUtils_fromString: function(enumValues, value, $T) {
if (value == null || false)
return null;
return C.JSArray_methods.singleWhere$2$orElse(enumValues, new N.EnumUtils_fromString_closure(value, $T), new N.EnumUtils_fromString_closure0());
},
EnumUtils_fromString_closure: function EnumUtils_fromString_closure(t0, t1) {
this.value = t0;
this.T = t1;
},
EnumUtils_fromString_closure0: function EnumUtils_fromString_closure0() {
},
Settings$: function(receiver) {
return new N.Settings();
},
PdfJs: function PdfJs() {
},
Settings: function Settings() {
},
PdfJsDocLoader: function PdfJsDocLoader() {
},
PdfJsDoc: function PdfJsDoc() {
},
PdfJsPage: function PdfJsPage() {
},
PdfJsViewport: function PdfJsViewport() {
},
PdfJsRender: function PdfJsRender() {
},
LoadingState: function LoadingState(t0) {
this._rounded_loading_button$_name = t0;
},
RoundedLoadingButton: function RoundedLoadingButton(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.controller = t0;
_.onPressed = t1;
_.child = t2;
_.color = t3;
_.height = t4;
_.width = t5;
_.borderRadius = t6;
_.key = t7;
},
RoundedLoadingButtonState: function RoundedLoadingButtonState(t0, t1, t2) {
var _ = this;
_.__RoundedLoadingButtonState__borderAnimation = _.__RoundedLoadingButtonState__bounceAnimation = _.__RoundedLoadingButtonState__squeezeAnimation = _.__RoundedLoadingButtonState__checkButtonControler = _.__RoundedLoadingButtonState__borderController = _.__RoundedLoadingButtonState__buttonController = $;
_._rounded_loading_button$_state = t0;
_.TickerProviderStateMixin__tickers = t1;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
},
RoundedLoadingButtonState_build_closure: function RoundedLoadingButtonState_build_closure(t0, t1) {
this.$this = t0;
this._loader = t1;
},
RoundedLoadingButtonState_initState_closure: function RoundedLoadingButtonState_initState_closure(t0) {
this.$this = t0;
},
RoundedLoadingButtonState_initState__closure1: function RoundedLoadingButtonState_initState__closure1() {
},
RoundedLoadingButtonState_initState_closure0: function RoundedLoadingButtonState_initState_closure0(t0) {
this.$this = t0;
},
RoundedLoadingButtonState_initState__closure0: function RoundedLoadingButtonState_initState__closure0() {
},
RoundedLoadingButtonState_initState_closure1: function RoundedLoadingButtonState_initState_closure1(t0) {
this.$this = t0;
},
RoundedLoadingButtonState_initState_closure2: function RoundedLoadingButtonState_initState_closure2(t0) {
this.$this = t0;
},
RoundedLoadingButtonState_initState__closure: function RoundedLoadingButtonState_initState__closure() {
},
RoundedLoadingButtonController: function RoundedLoadingButtonController() {
this.__RoundedLoadingButtonController__resetListener = this.__RoundedLoadingButtonController__startListener = $;
},
_RoundedLoadingButtonState_State_TickerProviderStateMixin: function _RoundedLoadingButtonState_State_TickerProviderStateMixin() {
},
positionDependentBox: function(childSize, preferBelow, size, target, verticalOffset) {
var fitsAbove, tooltipBelow, y, x, normalizedTargetX, edge,
t1 = target._dy,
t2 = t1 + verticalOffset,
t3 = childSize._dy,
t4 = size._dy - 10,
fitsBelow = t2 + t3 <= t4;
t3 = t1 - verticalOffset - t3;
fitsAbove = t3 >= 10;
if (preferBelow)
tooltipBelow = fitsBelow || !fitsAbove;
else
tooltipBelow = !(fitsAbove || !fitsBelow);
y = tooltipBelow ? Math.min(t2, t4) : Math.max(t3, 10);
t1 = size._dx;
t2 = childSize._dx;
if (t1 - 20 < t2)
x = (t1 - t2) / 2;
else {
t3 = t1 - 10;
normalizedTargetX = J.clamp$2$n(target._dx, 10, t3);
t4 = t2 / 2;
edge = 10 + t4;
if (normalizedTargetX < edge)
x = 10;
else
x = normalizedTargetX > t1 - edge ? t3 - t2 : normalizedTargetX - t4;
}
return new P.Offset(x, y);
},
ChildLayoutHelper_dryLayoutChild: function(child, constraints) {
return child.getDryLayout$1(constraints);
},
ChildLayoutHelper_layoutChild: function(child, constraints) {
var t1;
child.layout$2$parentUsesSize(0, constraints, true);
t1 = child._box$_size;
t1.toString;
return t1;
}
},
A = {CopyOnWriteSet: function CopyOnWriteSet(t0, t1, t2) {
var _ = this;
_._copy_on_write_set$_setFactory = t0;
_._copy_on_write_set$_copyBeforeWrite = true;
_._copy_on_write_set$_set = t1;
_.$ti = t2;
},
hashObjects: function(objects) {
return A._finish(J.fold$1$2$ax(objects, 0, new A.hashObjects_closure(), type$.int));
},
_combine: function(hash, value) {
hash = hash + value & 536870911;
hash = hash + ((hash & 524287) << 10) & 536870911;
return hash ^ hash >>> 6;
},
_finish: function(hash) {
hash = hash + ((hash & 67108863) << 3) & 536870911;
hash ^= hash >>> 11;
return hash + ((hash & 16383) << 15) & 536870911;
},
hashObjects_closure: function hashObjects_closure() {
},
BuiltMap_BuiltMap: function(map, $K, $V) {
var t1 = type$.Map_dynamic_dynamic._is(map) || false,
t2 = J.getInterceptor$(map);
if (t1)
return A._BuiltMap$copyAndCheckTypes(t2.get$keys(map), new A.BuiltMap_BuiltMap_closure(map), $K, $V);
else
throw H.wrapException(P.ArgumentError$("expected Map or BuiltMap, got " + t2.get$runtimeType(map).toString$0(0)));
},
BuiltMap_BuiltMap$from: function(map, $K, $V) {
return A._BuiltMap$copyAndCheckTypes(map.get$keys(map), new A.BuiltMap_BuiltMap$from_closure(map), $K, $V);
},
_BuiltMap$copyAndCheckTypes: function(keys, lookup, $K, $V) {
var t1 = new A._BuiltMap(null, P.LinkedHashMap_LinkedHashMap$_empty($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltMap<1,2>"));
t1._BuiltMap$copyAndCheckTypes$2(keys, lookup, $K, $V);
return t1;
},
MapBuilder_MapBuilder: function($K, $V) {
var t1 = new A.MapBuilder(null, $, null, $K._eval$1("@<0>")._bind$1($V)._eval$1("MapBuilder<1,2>"));
t1.replace$1(0, C.Map_empty0);
return t1;
},
BuiltMap: function BuiltMap() {
},
BuiltMap_BuiltMap_closure: function BuiltMap_BuiltMap_closure(t0) {
this.map = t0;
},
BuiltMap_BuiltMap$from_closure: function BuiltMap_BuiltMap$from_closure(t0) {
this.map = t0;
},
BuiltMap_hashCode_closure: function BuiltMap_hashCode_closure(t0) {
this.$this = t0;
},
_BuiltMap: function _BuiltMap(t0, t1, t2) {
var _ = this;
_._mapFactory = t0;
_._map$_map = t1;
_._map$_keys = _._hashCode = null;
_.$ti = t2;
},
MapBuilder: function MapBuilder(t0, t1, t2, t3) {
var _ = this;
_._mapFactory = t0;
_.__MapBuilder__map = t1;
_._mapOwner = t2;
_.$ti = t3;
},
MapBuilder_replace_closure: function MapBuilder_replace_closure(t0, t1) {
this.$this = t0;
this.replacement = t1;
},
MapBuilder_replace_closure0: function MapBuilder_replace_closure0(t0, t1) {
this.$this = t0;
this.replacement = t1;
},
JsonObject_JsonObject: function(value) {
if (typeof value == "number")
return new A.NumJsonObject(value);
else if (typeof value == "string")
return new A.StringJsonObject(value);
else if (H._isBool(value))
return new A.BoolJsonObject(value);
else if (type$.List_nullable_Object._is(value))
return new A.ListJsonObject(new P.UnmodifiableListView(value, type$.UnmodifiableListView_nullable_Object));
else if (type$.Map_of_String_and_nullable_Object._is(value))
return new A.MapJsonObject(new P.UnmodifiableMapView(value, type$.UnmodifiableMapView_of_String_and_nullable_Object));
else if (type$.Map_dynamic_dynamic._is(value))
return new A.MapJsonObject(new P.UnmodifiableMapView(J.cast$2$0$ax(value, type$.String, type$.nullable_Object), type$.UnmodifiableMapView_of_String_and_nullable_Object));
else
throw H.wrapException(P.ArgumentError$value(value, "value", "Must be bool, List